2018-06-01 09:36:01 +00:00
|
|
|
#ifndef QMAINFRAME_H
|
|
|
|
#define QMAINFRAME_H
|
|
|
|
|
2018-06-02 09:47:28 +00:00
|
|
|
#include <QtWidgets/QtWidgets>
|
2018-06-01 09:36:01 +00:00
|
|
|
#include "SystemData.h"
|
|
|
|
#include "QMyStackedWidget.h"
|
|
|
|
#include "QTelSalePolicyInfoInputWidget.h"
|
|
|
|
#include "QTelSalePolicyInfoQuery.h"
|
|
|
|
#include "QConfigurationWidget.h"
|
2018-06-01 10:21:26 +00:00
|
|
|
#include "ui_QMainFrame.h"
|
2018-06-01 09:36:01 +00:00
|
|
|
|
|
|
|
class QMainFrame : public QMainWindow, public Ui::QMainFrame
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
QMainFrame(QWidget *parent = 0);
|
|
|
|
~QMainFrame();
|
|
|
|
|
|
|
|
protected Q_SLOTS:
|
|
|
|
void onShowInputWidget();
|
|
|
|
void onShowQueryWidget();
|
|
|
|
void onShowSetParameterWidget();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void resizeEvent(QResizeEvent * pEvent);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void init();
|
|
|
|
void initWidget();
|
|
|
|
void initSignal();
|
|
|
|
|
|
|
|
void initStatusBar();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QMyStackedWidget * m_pWidgetStack;
|
|
|
|
|
|
|
|
QTelSalePolicyInfoInputWidget * m_pWidgetInfoInput;
|
|
|
|
QTelSalePolicyInfoQuery * m_pWidgetQuery;
|
|
|
|
QConfigurationWidget * m_pWidgetConfiguration;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QMAINFRAME_H
|