Results 1 to 12 of 12

Thread: problems

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problems

    how??? I have done like this but it doesn´t work.


    Qt Code:
    1. #include <QtGui>
    2. #include <QPushButton>
    3. #include <QPixmap>
    4. #include <QIcon>
    5.  
    6. #include "buttons.h"
    7.  
    8. buttons::buttons(QWidget *parent)
    9. : QWidget(parent)
    10. {
    11.  
    12.  
    13. QPushButton *deshabilitar = new QPushButton(tr("deshabilitar"), this);
    14. connect(deshabilitar, SIGNAL(clicked()),this, SLOT(blocked()));
    15.  
    16. QPushButton *Button7= new QPushButton(tr("Button7"), this);
    17.  
    18. void buttons:: blocked( )
    19. {
    20. Button7.setDisabled(true);
    21. }
    22. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by jpn; 16th July 2009 at 19:36. Reason: missing [code] tags

Similar Threads

  1. Mac OSX OpenGL problems
    By tksharpless in forum Qt Programming
    Replies: 0
    Last Post: 23rd March 2009, 17:27
  2. flicker and wierd resize problems ...
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2008, 18:00
  3. Replies: 2
    Last Post: 8th March 2007, 22:22
  4. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 15:39

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.