--- a/QTfrontend/ui/page/AbstractPage.cpp Thu Apr 13 15:18:07 2017 +0200
+++ b/QTfrontend/ui/page/AbstractPage.cpp Thu Apr 13 17:26:37 2017 +0200
@@ -141,6 +141,13 @@
return btn;
}
+QPushButton* AbstractPage::addSoundlessButton(const QString & name, QGridLayout * grid, int row, int column, int rowSpan, int columnSpan, bool hasIcon, Qt::Alignment alignment)
+{
+ QPushButton * btn = formattedSoundlessButton(name, hasIcon);
+ grid->addWidget(btn, row, column, rowSpan, columnSpan, alignment);
+ return btn;
+}
+
QPushButton* AbstractPage::addSoundlessButton(const QString & name, QBoxLayout * box, int where, bool hasIcon, Qt::Alignment alignment)
{
QPushButton* btn = formattedSoundlessButton(name, hasIcon);