Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25

Thread: slider control

  1. #21
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: slider control

    It means nothing as the expression is likely invalid. If it works, then it will once resize the current item to the other item at the moment when the expression is evaluated (provided that no contradictory anchors are defined for the item) which is probably not what you want.

    I would like to point out we still don't know what you are trying to do so it is quite demanding to suggest a solution to an unknown problem.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #22
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: slider control

    Quote Originally Posted by sajis997 View Post
    Consider the fact the we have already defined the layout.
    The fact that the rectangle has a sibling item?

    Quote Originally Posted by sajis997 View Post
    Does the above statement mean any of the following:

    1. The grid layout is stick to the rectangle or the other way around.
    "fill" is basically a shortcut for

    Qt Code:
    1. anchors {
    2. left: other.left
    3. right: other.right
    4. top: other.top
    5. bottom: other.bottom
    6. }
    To copy to clipboard, switch view to plain text mode 

    Quote Originally Posted by sajis997 View Post
    If the grid layout is stick to the rectangle , should it be problem to move it ?
    Try that with real world objects:
    - take a piece of paper
    - glue it onto another piece of paper
    - now try to move one while not moving the other.


    Quote Originally Posted by sajis997 View Post
    If not, then , how would you suggest to get it fixed ?
    Since they are independent, position them independently.

    Cheers,
    _

  3. #23
    Join Date
    Jan 2011
    Posts
    212
    Thanks
    24
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: slider control

    Please Check the following screen-shot:

    http://imgur.com/VM007Cz

    Do you see the UI(slider and text arranged in the grid layout) at the top left corner of the window ?


    What i want to get is:

    1. The UI will slide inside/outside of the window using the spring animation with the key press event (F1).

  4. #24
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: slider control

    So the rectangle and the grid are not independent?

    Then your answer is in comment #6

    Cheers,
    _

    P.S.: and in general it would be really helpful if you actually read what people are writing, i.e. answering question instead of ignoring everything and writing vague randomness

  5. #25
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: slider control

    Quote Originally Posted by sajis997 View Post
    What i want to get is:

    1. The UI will slide inside/outside of the window using the spring animation with the key press event (F1).
    So what exactly is the problem and how is it related to anything written so far in this thread? Either use a Behavior or states with a transition.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 3
    Last Post: 29th July 2014, 18:18
  2. Dynamic label to right of slider resizes slider
    By zenzero-2001 in forum Qt Programming
    Replies: 2
    Last Post: 3rd October 2013, 10:11
  3. Replies: 4
    Last Post: 3rd August 2010, 12:30
  4. Replies: 2
    Last Post: 21st March 2010, 09:01
  5. slider control and combo box in grid view
    By steg90 in forum Qt Programming
    Replies: 13
    Last Post: 21st November 2007, 10:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.