with class TableModel in accomodation plugin. - Edit record dialog is now screen centered. - Plugin tabs in application main window are now closable.
33 lines
500 B
C++
33 lines
500 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
#define PLUGIN_INDEX "plug_index"
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
~MainWindow();
|
|
|
|
private slots:
|
|
void on_actionExit_triggered();
|
|
void openPlugin();
|
|
|
|
void on_actionOpen_database_triggered();
|
|
|
|
void on_tabWidget_tabCloseRequested(int index);
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|