Results 1 to 20 of 20

Thread: Disable button click

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Disable button click

    "x" is an existing property name. Use something that doesn't exist, like:
    Qt Code:
    1. button->setProperty("I need to read Qt documentation more", true);
    To copy to clipboard, switch view to plain text mode 
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Re: Disable button click

    Quote Originally Posted by wysota View Post
    "x" is an existing property name. Use something that doesn't exist, like:
    Qt Code:
    1. button->setProperty("I need to read Qt documentation more", true);
    To copy to clipboard, switch view to plain text mode 
    Ok thanks it works now.

  3. #3
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Re: Disable button click

    Can someone tell me,why the icon doesn't show in /Debug?
    At runtime it's ok,but

Similar Threads

  1. Disable right mouse click on QAction
    By stefan in forum Newbie
    Replies: 13
    Last Post: 15th May 2013, 22:04
  2. How to disable mouse click over a QSplashScreen
    By graciano in forum Qt Programming
    Replies: 2
    Last Post: 8th November 2009, 16:02
  3. Replies: 3
    Last Post: 25th August 2009, 22:35
  4. QDockWidget: disable double click on title bar
    By ElectroQt in forum Qt Programming
    Replies: 2
    Last Post: 9th October 2008, 22:22
  5. Replies: 4
    Last Post: 31st August 2006, 12:11

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.