how??? I have done like this but it doesn´t work.
#include <QtGui>
#include <QPushButton>
#include <QPixmap>
#include <QIcon>
#include "buttons.h"
{
connect(deshabilitar, SIGNAL(clicked()),this, SLOT(blocked()));
void buttons:: blocked( )
{
Button7.setDisabled(true);
}
}
#include <QtGui>
#include <QPushButton>
#include <QPixmap>
#include <QIcon>
#include "buttons.h"
buttons::buttons(QWidget *parent)
: QWidget(parent)
{
QPushButton *deshabilitar = new QPushButton(tr("deshabilitar"), this);
connect(deshabilitar, SIGNAL(clicked()),this, SLOT(blocked()));
QPushButton *Button7= new QPushButton(tr("Button7"), this);
void buttons:: blocked( )
{
Button7.setDisabled(true);
}
}
To copy to clipboard, switch view to plain text mode
Bookmarks