valignCO->setCurrentIndex(1);
decorationCO->setCurrentIndex(0);
- connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
- connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
-
connect(table, SIGNAL(rowsChanged(int)),
rowsSB, SLOT(setValue(int)));
connect(table, SIGNAL(colsChanged(int)),
}
+void GuiMathMatrix::on_buttonBox_clicked(QAbstractButton * button)
+{
+ switch (buttonBox->standardButton(button)) {
+ case QDialogButtonBox::Ok:
+ slotOK();
+ break;
+ case QDialogButtonBox::Cancel:
+ slotClose();
+ break;
+ default:
+ break;
+ }
+}
+
+
void GuiMathMatrix::slotOK()
{
int const nx = columnsSB->value();