Results 1 to 2 of 2

Thread: no function resize/move position button Signal and Slot QT

  1. #1
    Join Date
    Jun 2014
    Posts
    4
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default no function resize/move position button Signal and Slot QT

    1) How can I resize/move position the button by slidebar ? (I use signal/slot but no function)

    2) Do you have the example code of the resize/move position of the button by slide bar?

    Thank You

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

    Default Re: no function resize/move position button Signal and Slot QT

    What do you mean "by sidebar"?

    In any case, a button is a widget, QWidget has a method move(), a method resize() and one that does both called setGeometry()

    Cheers,
    _

Similar Threads

  1. Replies: 2
    Last Post: 26th October 2013, 05:40
  2. SIGNAL/SLOT Calling the same function. Possible?
    By matthieunc in forum Qt Programming
    Replies: 4
    Last Post: 28th July 2011, 23:24
  3. Replies: 4
    Last Post: 20th January 2011, 01:03
  4. Replies: 4
    Last Post: 27th November 2009, 13:00
  5. Replies: 12
    Last Post: 14th June 2006, 09:24

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.