add an ignore button to sort warning (#3463)

* add an ignore button to sort warning

* change warning message

* formatting
This commit is contained in:
ebbit1q 2018-12-31 00:51:03 +01:00 committed by Zach H
parent 59300e61fc
commit 40f787be14
2 changed files with 30 additions and 8 deletions

View file

@ -31,7 +31,10 @@ private:
QAction *aUp, *aDown, *aBottom, *aTop;
QToolBar *setsEditToolBar;
QDialogButtonBox *buttonBox;
QLabel *labNotes, *searchLabel, *sortWarning;
QLabel *labNotes, *searchLabel;
QGroupBox *sortWarning;
QLabel *sortWarningText;
QPushButton *sortWarningButton;
QLineEdit *searchField;
QGridLayout *mainLayout;
QHBoxLayout *filterBox;
@ -67,6 +70,7 @@ private slots:
void actRestoreOriginalOrder();
void actDisableResetButton(const QString &filterText);
void actSort(int index);
void actIgnoreWarning();
};
#endif