21#include <qbytearray.h>
23#include <qstringlist.h>
37namespace tt {
class TabToolbar; }
49 class aWindowEventHandler;
50 class aWindowManagerTimerSignalLinker;
75 virtual void removeChildObject(
82 const QString & _alias
90 void setCentralWidget(
91 QWidget * _centralWidget
100 void setStatusLabelText(
101 const QString & _status
108 void setStatusLabelVisible(
109 bool _visible =
true,
110 bool _hideDelayed =
true
115 void setStatusBarProgress(
124 void setStatusBarVisible(
126 bool _showDelayed =
true
130 void setStatusBarContinuous(
131 bool _continuos =
true
134 bool getStatusBarVisible(
void)
const;
136 bool getStatusLabelVisible(
void)
const;
138 QString getStatusLabelText(
void)
const;
140 int getStatusBarProgress(
void)
const;
142 bool getStatusBarContinuous(
void)
const;
146 void setShowStatusObjectDelayTimerInterval(
int _interval);
150 void setHideStatusObjectDelayTimerInterval(
int _interval);
153 int getShowStatusObjectDelayTimerInterval(
void)
const;
156 int getHideStatusObjectDelayTimerInterval(
void)
const;
158 void setWaitingAnimationVisible(
162 void setWaitingAnimation(
172 void setTabToolBarVisible(
177 void setTabToolbarDoubleClickEnabled(
183 aTtbPage * createTabToolbarSubContainer(
184 const QString & _text = QString(
"")
191 const QString & _text
194 QString getTabToolBarTabText(
ak::ID _tabId);
202 void addTabToolbarWidget(
208 ID currentTabToolbarTab(
void)
const;
211 int tabToolbarTabCount(
void)
const;
214 void enableTabToolbar(
bool flag)
const;
218 void setCurrentTabToolBarTab(
222 void setCurrentTabToolBarTab(
223 const QString& _tabName
228 void setCentralWidgetMinimumSize(
242 const QString & _title
252 QString windowTitle(
void)
const;
256 void addEventHandler(
262 void removeEventHandler(
273 void showMaximized(
void);
276 void showMinimized(
void);
279 void showNormal(
void);
290 std::string saveState(std::string currentState);
293 const std::string & _state,
294 bool _setPositionAndSize =
true
297 void setTabToolBarTabOrder(
const QStringList& _list);
303 void slotRestoreSetting(
const QByteArray & _actualState);
304 void slotTabToolbarTabClicked(
int _index);
305 void slotTabToolbarTabCurrentTabChanged(
int _index);
310 void resortTabToolBarTabOrder(
void);
314 QLabel * m_statusLabel;
315 QProgressBar * m_progressBar;
319 tt::TabToolbar * m_tabToolBar;
322 QStringList m_tabToolBarTabOrder;
323 bool m_progressBarContinuous;
325 QTimer * m_timerProgressShow;
326 QTimer * m_timerProgressHide;
327 QTimer * m_timerLabelShow;
328 QTimer * m_timerLabelHide;
329 QTimer * m_timerShowMainWindow;
331 std::vector<aTtbContainer *> m_tabToolBarContainer;
#define UICORE_API_EXPORT
Definition globalDataTypes.h:20
void close(int _exitCode)
Definition main.cpp:178
Class used to forward messages to receivers This class is used to forward a message to receivers....
Definition aMessenger.h:34
This class is used to store the main information of any object used Information contained is the UID ...
Definition aObject.h:34
This class provides a interface that represents a tab toolbar container.
Definition aTtbContainer.h:36
This class is used to manage UIDs. This UID manager is incrementing the UID on each getId call.
Definition aUidMangager.h:25
Definition aWindowEventHandler.h:19
This class is used to manage a QMainWindow It provides several functions to create and manipulate the...
Definition aWindowManager.h:55
void tabToolBarTabChanged(int _index)
This class is used to link the timer signals of the ui manager to the corresponding callback function...
Definition aWindowManagerTimerSignalLinker.h:32
unsigned long long UID
The UID datatype used for objects.
Definition globalDataTypes.h:65
int ID
The ID datatype used for items.
Definition globalDataTypes.h:68
Definition TabToolBar.h:18
static ak::aMessenger * m_messenger
The object manager used in this API.
Definition uiAPI.cpp:58
static ak::aUidManager * m_uidManager
The messenger used in this API.
Definition uiAPI.cpp:59