Results 1 to 19 of 19

Thread: why doesn't the button work?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Location
    Italy
    Posts
    172
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    39

    Default Re: why doesn't the button work?

    Quote Originally Posted by high_flyer View Post
    First, you are mixing aproaches.
    Either use the 'ui' as member OR derive it.
    I recommend using it as member - more flexible.
    I'd like to know how's the derive approach, are there any examples on the net?
    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: why doesn't the button work?

    Its all in the docs.
    Note that you can use the single or multiple inheritance approaches, see what best fits your case.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. QActions don't work with menubar hidden
    By Pepe in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2007, 01:04
  2. How to ignore Button-Events in Qtopia?
    By Helmut Hönig in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 5th July 2007, 13:24
  3. Mouse Over event on button
    By vishal.chauhan in forum Qt Programming
    Replies: 9
    Last Post: 10th January 2007, 05:03
  4. Replies: 2
    Last Post: 1st August 2006, 10:23
  5. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 16:40

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.