Results 1 to 4 of 4

Thread: Article: New in Qt from ICS

  1. #1
    Join Date
    Dec 2006
    Location
    Massachusetts
    Posts
    14

    Default Article: New in Qt from ICS


  2. #2
    Join Date
    Dec 2011
    Posts
    15
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default

    Hi all, I am a novice programmer. I am learning using Qt4.7.0. I am exploring using QInputDialog. I want to remove the cancel button from the default QInputDialog and later make use of the cancel button to exit the application. my statement reads QInputDialog::getInteger(0, "Calculator", "Calculated value", 1, 1,10,1,0,0);

  3. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default

    I know I am very late getting to this question, but better late then never...

    QInputDialog is one of the pre-made drop-in dialogs. As such it is very hard to access functionality that was not exposed in the API. There are ways to access the cancel button and hide it, but it is not straight forward. It may be easier just to write a new dialog that provides the functionality you need. You could create one quickly in Designer.

  4. #4
    Join Date
    Jan 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default

    Hello guys i am new in programming , i am using Qt4 . I would love to know the basic first before grasping everything at once .In simple terms i would like to be assisted.

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.