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.
34 lines
788 B
C++
34 lines
788 B
C++
#pragma once
|
|
#include "IWheelUi.h"
|
|
#include "qmap.h"
|
|
class ToolBarUi :
|
|
public IWheelUi
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ToolBarUi(const QString , class IWheelCtrl *, class IWheelUis* p = NULL);
|
|
~ToolBarUi();
|
|
virtual bool onPolished(QWidget*);
|
|
virtual bool ActionTrigger(class QAction* pAction, bool bChecked);
|
|
virtual bool onExec();
|
|
virtual bool onUserRole();
|
|
virtual bool onClose(){ return true; };
|
|
void initToolBar();
|
|
void onChangeBackground();
|
|
void onInitAction();
|
|
void SlotAbout();
|
|
void readTxtFile();
|
|
Q_SLOT void onSavePara();
|
|
private:
|
|
class IWheelCtrl*m_pCtrl;
|
|
class IWheelUis* m_pUi;
|
|
class QToolBar *m_pToolBar;
|
|
class DetectState *m_pState;
|
|
//class QToolButton *m_pBtnTool;
|
|
//class QMenu* m_pMenu;
|
|
QMap<QString, class QAction*> m_mpActions;
|
|
|
|
QString m_strContent;
|
|
};
|
|
|