16 virtual int OnLoad(QSettings &set);
17 virtual int OnSave(QSettings &set);
20 bool GetReceiveShortCut()
const;
21 void SetReceiveShortCut(
bool newReceiveShortCut);
23 void sigReceiveShortCutChanged();
25 bool m_bReceiveShortCut;
26 Q_PROPERTY(
bool ReceiveShortCut READ GetReceiveShortCut WRITE SetReceiveShortCut NOTIFY sigReceiveShortCutChanged)
29 bool GetSaveMainWindowStatus()
const;
30 void SetSaveMainWindowStatus(
bool newSaveMainWindowStatus);
32 void sigSaveMainWindowStatusChanged();
34 bool m_bSaveMainWindowStatus;
35 Q_PROPERTY(
bool SaveMainWindowStatus READ GetSaveMainWindowStatus WRITE SetSaveMainWindowStatus NOTIFY sigSaveMainWindowStatusChanged)
44 ViewType GetViewType();
45 int SetViewType(ViewType type);
47 void sigViewTypeChanged();
52 const QTabWidget::TabPosition &GetTabPosition()
const;
53 void SetTabPosition(
const QTabWidget::TabPosition &newTabPosition);
55 void sigTabPositionChanged();
57 QTabWidget::TabPosition m_TabPosition;
58 Q_PROPERTY(QTabWidget::TabPosition TabPosition READ GetTabPosition WRITE SetTabPosition NOTIFY sigTabPositionChanged)
61 const bool GetEnableTabToolTip()
const;
62 void SetEnableTabToolTip(
bool bEnable);
64 void sigEnableTabToolTipChanged();
66 bool m_bEnableTabToolTip;
67 Q_PROPERTY(
bool EnableTabToolTip READ GetEnableTabToolTip WRITE SetEnableTabToolTip NOTIFY sigEnableTabToolTipChanged)
70 const bool GetEnableTabIcon()
const;
71 void SetEnableTabIcon(
bool bEnable);
73 void sigEnableTabIconChanged();
75 bool m_bEnableTabIcon;
76 Q_PROPERTY(
bool EnableTabIcon READ GetEnableTabIcon WRITE SetEnableTabIcon NOTIFY sigEnableTabIconChanged)
79 const bool GetTabElided()
const;
80 void SetTabElided(
bool bElided);
87 int GetRecentMenuMaxCount()
const;
88 void SetRecentMenuMaxCount(
int newRecentMenuMaxCount);
90 void sigRecentMenuMaxCountChanged(
int);
92 int m_nRecentMenuMaxCount;
93 Q_PROPERTY(
int RecentMenuMaxCount READ GetRecentMenuMaxCount WRITE SetRecentMenuMaxCount NOTIFY sigRecentMenuMaxCountChanged)
96 enum class SystemTrayIconMenuType
105 Q_ENUM(SystemTrayIconMenuType)
106 SystemTrayIconMenuType GetSystemTrayIconMenuType()
const;
107 void SetSystemTrayIconMenuType(SystemTrayIconMenuType newSystemTrayIconType);
108 bool GetEnableSystemTrayIcon()
const;
109 int SetEnableSystemTrayIcon(
bool bShow);
111 void sigSystemTrayIconTypeChanged();
112 void sigEnableSystemTrayIcon();
114 SystemTrayIconMenuType m_SystemTrayIconType;
115 bool m_bEnableSystemTrayIcon;
116 Q_PROPERTY(SystemTrayIconMenuType SystemTrayIconMenuType READ GetSystemTrayIconMenuType WRITE SetSystemTrayIconMenuType NOTIFY sigSystemTrayIconTypeChanged)
119 bool GetOpenLasterClose()
const;
120 void SetOpenLasterClose(
bool newOpenLasterClose);
122 void sigOpenLasterCloseChanged(
bool bOpenLasterClose);
124 bool m_bOpenLasterClose;
125 Q_PROPERTY(
bool bOpenLasterClose READ GetOpenLasterClose WRITE SetOpenLasterClose NOTIFY sigOpenLasterCloseChanged)
128 bool GetFavoriteEdit()
const;
129 void SetFavoriteEdit(
bool newFavoriteEdit);
131 void sigFavoriteEditChanged(
bool FavoriteEdit);
134 bool m_bFavoriteEdit;
135 Q_PROPERTY(
bool FavoriteEdit READ GetFavoriteEdit WRITE SetFavoriteEdit NOTIFY sigFavoriteEditChanged)
138 bool GetStatusBar()
const;
139 void SetStatusBar(
bool checked);
142 Q_PROPERTY(
bool StatusBar READ GetStatusBar WRITE SetStatusBar)
145 bool GetTabBar()
const;
146 void SetTabBar(
bool checked);
149 Q_PROPERTY(
bool TabBar READ GetTabBar WRITE SetTabBar)
152 bool GetMenuBar()
const;
153 void SetMenuBar(
bool checked);
156 Q_PROPERTY(
bool MenuBar READ GetMenuBar WRITE SetMenuBar)
159 const bool GetMessageBoxDisplayInformation()
const;
160 void SetMessageBoxDisplayInformation(
bool bEnable);
162 bool m_bMessageBoxDisplayInfomation;
163 Q_PROPERTY(
bool MessageBoxDisplyInformtion READ GetMessageBoxDisplayInformation WRITE SetMessageBoxDisplayInformation)
166 const bool GetDockListActiveShowToolBar()
const;
167 void SetDockListActiveShowToolBar(
bool bEnable);
169 bool m_bDockListActiveShowToolBar;
172 const bool GetDockListRecentShowToolBar()
const;
173 void SetDockListRecentShowToolBar(
bool bEnable);
175 bool m_bDockListRecentShowToolBar;
178 bool GetKeepSplitViewWhenFullScreen()
const;
179 void SetKeepSplitViewWhenFullScreen(
bool newKeepSplitViewWhenFullScreen);
182 bool m_bKeepSplitViewWhenFullScreen;
185 bool GetStartByType()
const;
186 void SetStartByType(
bool newStartByType);
188 void sigStartByTypeChanged();
191 Q_PROPERTY(
bool m_bStartByType READ GetStartByType WRITE SetStartByType NOTIFY sigStartByTypeChanged FINAL)