Results 1 to 9 of 9

Thread: Move that thing!

  1. #1
    Join Date
    Feb 2011
    Location
    Latvia
    Posts
    139
    Thanks
    24
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Move that thing!

    I need little help to move the thing u can see here:
    http://img534.imageshack.us/i/nokiamove.jpg/

    Is there an easy way to do it?

  2. #2
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Move that thing!


  3. #3
    Join Date
    Feb 2011
    Location
    Latvia
    Posts
    139
    Thanks
    24
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Move that thing!

    Well... TY, but i really don't have any time to read that thing right now. I need to solve this problem, so I am browsing forums to find the answer...

  4. #4
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Move that thing!

    Until you can state whatever the problem is you're trying to solve in a clear, understandable manner, don't expect any meaningful answers.

    Here's an answer to your question as posed: move the "thing" 126 pixels to the right, based on the size of the JPEG file you're offering as evidence.

    Happy now?

  5. #5
    Join Date
    Feb 2011
    Location
    Latvia
    Posts
    139
    Thanks
    24
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Move that thing!

    Well ... First thing - how do i do that?
    I considered moving the widget a constant size to right, but if i turn the phone by 90 degrees, that it's not 126 pixels but more - that's why a wanted to know, how to position a widget on a layot in the center not only vertically (by default) but also horizontally?

  6. #6
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Move that thing!

    read about Qt::AlignCenter

  7. The following user says thank you to nish for this useful post:

    Archa4 (23rd February 2011)

  8. #7
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Move that thing!

    Quote Originally Posted by Archa4 View Post
    Well... TY, but i really don't have any time to read that thing right now. I need to solve this problem, so I am browsing forums to find the answer...
    No one has time. It is therefore a misconception that it is an issue when you don't have time. Time is something you allocate and if it will help you solve a problem, you should allocate the time to read through How To Ask Questions The Smart Way. It's a good read and very useful indeed.
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

  9. #8
    Join Date
    Feb 2011
    Location
    Latvia
    Posts
    139
    Thanks
    24
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Move that thing!

    Thank you Very Much!
    SexDegrees see - that was not so hard...

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

    Default Re: Move that thing!

    Quote Originally Posted by Archa4 View Post
    Thank you Very Much!
    SexDegrees see - that was not so hard...
    You are not going to have an easy life on this forum
    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. KDChart. What do you thing about?
    By Nadia in forum Qt-based Software
    Replies: 1
    Last Post: 15th February 2011, 01:55
  2. Problem in Move Move Event Handler.
    By redgoof in forum Qt Programming
    Replies: 0
    Last Post: 7th April 2010, 11:45
  3. Very strange thing
    By Sheng in forum Qt Programming
    Replies: 4
    Last Post: 21st October 2008, 22:44
  4. Move Rectangle on mouse Move
    By vermarajeev in forum Qt Programming
    Replies: 24
    Last Post: 14th May 2007, 05:34
  5. There is QTimeEdit another thing in Qt4
    By Krishnacins in forum Qt Programming
    Replies: 1
    Last Post: 26th May 2006, 16:06

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
  •  
Qt is a trademark of The Qt Company.