Results 1 to 2 of 2

Thread: push button on specific places of man widget

  1. #1
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default push button on specific places of man widget

    Hi,

    I have to put two push button on bottom-left and bottom-right corner of main widget( mean any specific place on main widget).

    I am not using designer, i am doing hard-code and also i wouldn't like to use layout.

    For this, in constructor of main widget i am creating push buttons and using setGeometry() call. but it didn't works, whenever i am using setGeometry() push button even not displaying on main widget. But same thing i am doing with QLabel it's working properly, only problem with QPushButton. Why ...?

    How can i set desired geometry of push button on main widget without using designer and any layout... ?

    Thanks,

  2. #2
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    86
    Thanks
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: push button on specific places of man widget

    Hi,
    I have sorted out this problem...

Similar Threads

  1. Need help to design push button
    By keyurparekh in forum Qt Programming
    Replies: 4
    Last Post: 29th March 2011, 13:39
  2. Push Button with image?
    By steve.bush in forum Newbie
    Replies: 10
    Last Post: 18th March 2011, 06:48
  3. Bitmap on Push Button in QT 3
    By Gokulnath in forum Newbie
    Replies: 2
    Last Post: 12th January 2011, 07:34
  4. Hareware Push Button
    By mickeyk191 in forum Newbie
    Replies: 2
    Last Post: 26th January 2010, 12:41
  5. Push Button problem!!
    By Seema Rao in forum Qt Programming
    Replies: 1
    Last Post: 22nd April 2006, 16:31

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.