Results 1 to 5 of 5

Thread: Horizontal QSpinBox or QComboBox???

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    3
    Thanks
    1
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: Horizontal QSpinBox or QComboBox???

    Thank you for your response...

    When I implement custom QSpinBox2 that consists of three above widgets,
    Each widgets in the QSpinbox2 are focused independently.

    How can I focus the QSpinbox2?

  2. #2
    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: Horizontal QSpinBox or QComboBox???

    You can change focus policies for the sub-widgets.

  3. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Horizontal QSpinBox or QComboBox???

    Or perhaps you could even use focus proxies.
    J-P Nurmi

Similar Threads

  1. QComboBox drop list button events
    By maird in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2007, 19:25
  2. QSpinBox with checkbox
    By :db:sStrong in forum Qt Programming
    Replies: 4
    Last Post: 17th January 2007, 13:22

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.