ich habe eine Frage zu dem Signal&Slot Mechanismus von Qt. Ich versuche folgendes:
Code: Alles auswählen
FeatureTransformation::FeatureTransformation(QWidget *parent) :
QDialog(parent),
m_ui(new Ui::FeatureTransformation)
{
m_ui->setupUi(this);
connect(m_ui->buttonBox->button(QDialogButtonBox::Apply), SIGNAL(clicked()), this, SLOT(apply()));
}
Code: Alles auswählen
private slots:
void apply();