Results 1 to 3 of 3

Thread: QToolBox object

  1. #1
    Join Date
    Dec 2008
    Posts
    52
    Qt products
    Qt4
    Thanks
    3

    Default QToolBox object

    Hi,
    I have a MainWindow where i am placing 2 QToolBox objects on left and rightside of MainWindow and a QGraphicsView object as the central widget using QHBoxLayout. The Problem is that my two ToolBox Objects are fixed size i have use
    Qt Code:
    1. setsizePolicy(QSize::Minimum,QSize::Ignore)
    To copy to clipboard, switch view to plain text mode 
    but i want to give my ToolBox an option of resizing. As we can resize toolbox in QtCreator.
    How can I achive this property.

  2. #2
    Join Date
    Dec 2008
    Posts
    52
    Qt products
    Qt4
    Thanks
    3

    Default Re: QToolBox object

    Plz Tell me How to customize my QToolBox. I want to give Minimize,
    Maximize, Close and Resize option to my QToolBox object.
    Is this Possible?
    Plz Help me
    With Regards,
    srikanth

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: QToolBox object

    use QToolBar and add your tool box.

Similar Threads

  1. Getting std::string object from QString object ( qt3)
    By joseph in forum Qt Programming
    Replies: 11
    Last Post: 28th March 2013, 21:09
  2. Replies: 4
    Last Post: 19th February 2009, 12:10
  3. Help with Q_PROPERTY with object pointer
    By lni in forum Qt Programming
    Replies: 1
    Last Post: 16th January 2009, 18:31
  4. A form returning an object.
    By cbarmpar in forum Qt Programming
    Replies: 3
    Last Post: 8th September 2008, 06:21
  5. Open a QMainWindow Object in QDialog Object
    By chuengchuenghq in forum Qt Programming
    Replies: 1
    Last Post: 13th June 2008, 07:33

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.