You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
655 B
C

5 years ago
#ifndef _H_QTIMEMGRDLG_H_
#define _H_QTIMEMGRDLG_H_
#include <QDialog>
#include "ui_QTimeMgrDlg.h"
#include "InfoFile.h"
#include "IWheelCtrl.h"
class TimeMgrCtrl;
/*班次管理窗口页面*/
class QTimeMgrDlg : public QDialog
{
Q_OBJECT
public:
QTimeMgrDlg(QWidget *parent = Q_NULLPTR);
~QTimeMgrDlg();
void onSetCtrlPtr(IWheelCtrl *p) { m_pCtrl = p; };
Q_SLOT void onButtonClicked();
Q_SLOT void onSlotCellClicked(const QModelIndex&index);
protected:
virtual void showEvent(QShowEvent *);
private:
Ui::QTimeMgrDlg ui;
QMap<QString, TimeStruct> m_MapTime;
class QStandardItemModel *tablemodel;
IWheelCtrl *m_pCtrl{ nullptr };
};
#endif