sqm-gui/sources/mainwindow.h

34 lines
554 B
C
Raw Normal View History

2021-05-22 22:43:44 +02:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
2021-05-24 23:25:17 +02:00
#include "sqmtablemodel.h"
class SQMTableModel;
class QSpinBox;
class QTableView;
2021-05-22 22:43:44 +02:00
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
2021-05-24 23:25:17 +02:00
private slots:
void SetModel();
2021-05-22 22:43:44 +02:00
private:
Ui::MainWindow *ui;
2021-05-24 23:25:17 +02:00
QSpinBox *spinBase, *spinExp, *spinMod;
QTableView *resultTable;
2021-05-28 18:20:00 +02:00
SQMTableModel *resultTableModel;
2021-05-24 23:25:17 +02:00
2021-05-22 22:43:44 +02:00
};
#endif // MAINWINDOW_H