AdminSettingForm show and hide for different user role

This commit is contained in:
Krad
2021-11-23 09:21:36 +08:00
parent 5c4e3453dd
commit b31bcbcf63
4 changed files with 41 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ namespace Ui {
class MainWindow;
}
class GUIMessageDialog;
class QTabWidget;
class MainWindow : public QMainWindow
{
Q_OBJECT
@@ -25,6 +26,8 @@ private:
GUIMessageDialog* msgDialog = nullptr;
StdOutRedirector* redir = nullptr;
QTextEdit* console = nullptr;
QTabWidget* tab= nullptr;
int admin_tab_index = -1;
};
#endif // MAINWINDOW_H