init
This commit is contained in:
52
device/ui/workfileeditwidget.h
Normal file
52
device/ui/workfileeditwidget.h
Normal file
@@ -0,0 +1,52 @@
|
||||
#ifndef WORKFILEEDITWIDGET_H
|
||||
#define WORKFILEEDITWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QStandardItemModel>
|
||||
#include <QItemSelectionModel>
|
||||
#include <QtWidgets/QTableView>
|
||||
namespace Ui {
|
||||
class WORKFILEEDITWIDGET;
|
||||
}
|
||||
|
||||
class WORKFILEEDITWIDGET : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit WORKFILEEDITWIDGET(QWidget *parent = nullptr);
|
||||
~WORKFILEEDITWIDGET();
|
||||
|
||||
private slots:
|
||||
|
||||
void on_pbAddRow_clicked();
|
||||
|
||||
void on_pbInsertRow_clicked();
|
||||
|
||||
void on_pbDeleteRow_clicked();
|
||||
|
||||
void on_pbMoveP_clicked();
|
||||
|
||||
void on_pbMoveN_clicked();
|
||||
|
||||
void on_pbNewFile_clicked();
|
||||
|
||||
void on_pbLoadFile_clicked();
|
||||
|
||||
void on_pbSaveFile_clicked();
|
||||
|
||||
void on_pbDeleteFile_clicked();
|
||||
|
||||
void on_tvWorkFile_doubleClicked(const QModelIndex &index);
|
||||
|
||||
void on_pbSaveAs_clicked();
|
||||
|
||||
void on_tvPeiFang_doubleClicked(const QModelIndex &index);
|
||||
|
||||
private:
|
||||
Ui::WORKFILEEDITWIDGET *ui;
|
||||
|
||||
QStandardItemModel *peifang_model;
|
||||
};
|
||||
|
||||
#endif // WORKFILEEDITWIDGET_H
|
||||
Reference in New Issue
Block a user