39 lines
810 B
C++
39 lines
810 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include "declarations.h"
|
|
|
|
class MainWindow:public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
void init_mainwindowobj(); //the function of this class
|
|
void init_connections();
|
|
explicit MainWindow(); //constructor
|
|
~MainWindow(); //destructor
|
|
|
|
private:
|
|
void init_table();
|
|
void set_item(QTableWidget *pTable, int indRow,
|
|
int indCol, QString data, bool editFlag);
|
|
|
|
public slots:
|
|
//void getlineedit();
|
|
//void bchandler();
|
|
void rthandler();
|
|
|
|
private:
|
|
QWidget *Window_1 = new QWidget;
|
|
QWidget *Window_2 = new QWidget;
|
|
|
|
QLabel *RtModeLabel;
|
|
QPushButton *StartRtModeButton;
|
|
|
|
QLabel *BcModeLabel;
|
|
QPushButton *StartBcModeButton;
|
|
|
|
QTableWidget *DataTable;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|