Namespaces | |
| namespace | action |
| namespace | checkBox |
| namespace | container |
| namespace | crypto |
| namespace | dialog |
| namespace | lineEdit |
| namespace | niceLineEdit |
| namespace | object |
| namespace | settings |
| namespace | special |
| namespace | timer |
| namespace | toolButton |
| namespace | window |
Classes | |
| class | apiManager |
| The API manager is used to manage the global objects required for this API to work. More... | |
Functions | |
| UICORE_API_EXPORT void | ini (QApplication *_applicationInstance, const QString &_organizationName, const QString &_applicationName) |
| Will initialize the application. | |
| UICORE_API_EXPORT void | destroy (void) |
| Will destroy all objects created by this API. | |
| UICORE_API_EXPORT void | enableEventTypes (eventType _types) |
| Will enable the provided event types to be send. | |
| UICORE_API_EXPORT void | disableEventTypes (eventType _types) |
| Will disable the provided event types to be send. | |
| UICORE_API_EXPORT void | setMessengerEnabled (bool _enabled) |
| Will set the enabled state of the messenger. | |
| UICORE_API_EXPORT bool | messengerIsEnabled (void) |
| Will return the current enabled state for the messenger. | |
| UICORE_API_EXPORT std::vector< eventType > | enabledEventTypes (void) |
| Will return the enabled event types that will be send. | |
| UICORE_API_EXPORT std::vector< eventType > | disabledEventTypes (void) |
| Will return the disabled event types that will be send. | |
| UICORE_API_EXPORT QWidget * | getWidget (UID _objectUid) |
| Will return the QWidget of the specifed object. | |
| UICORE_API_EXPORT UID | getObjectCreator (UID _objectUID) |
| Will return the creator UID of the specified object. | |
| UICORE_API_EXPORT aObjectManager * | getObjectManager (void) |
| Will return the object manager used in this API. | |
| UICORE_API_EXPORT void | registerUidNotifier (UID _senderUid, ak::aNotifier *_notifier) |
| Will register the notifier at the messenger The provided notifier will get a new uid if not done so before. Returns the UID of the notifier. | |
| UICORE_API_EXPORT void | registerEventTypeNotifier (eventType _event, ak::aNotifier *_notifier) |
| Will register the notifier at the messenger The provided notifier will get a new uid if not done so before. Returns the UID of the notifier. | |
| UICORE_API_EXPORT void | registerAllMessagesNotifier (ak::aNotifier *_notifier) |
| Will register the notifier for all messages send at the global messenger The provided notifier will get a new uid if not done so before. Returns the UID of the notifier. | |
| UICORE_API_EXPORT void | sendMessage (UID _senderUid, eventType _event, int _info1=0, int _info2=0) |
| Will send a message to the messanger. | |
| UICORE_API_EXPORT void | setSurfaceFormatDefaultSamplesCount (int _count) |
| Will set the samples count for the default surface formt. | |
| UICORE_API_EXPORT UID | createAction (UID _creatorUid, const QString &_text, const QString &_iconName, const QString &_iconSubFolder=QString("32")) |
| Will create a new Action and return its UID. | |
| UICORE_API_EXPORT UID | createAction (UID _craetorUid, const QString &_text, const QIcon &_icon) |
| Will create a new Action and return its UID. | |
| UICORE_API_EXPORT UID | createCheckbox (UID _creatorUid, const QString &_text, bool _checked=false) |
| Will create a new CheckBox and return its UID. | |
| UICORE_API_EXPORT UID | createLineEdit (UID _creatorUid, const QString &_initialText=QString("")) |
| Will create a line edit and return its UID param _creatorUid The UID of the creator. | |
| UICORE_API_EXPORT UID | createNiceLineEdit (UID _creatorUid, const QString &_initialText, const QString &_infoLabelText) |
| Will create a nice line edit. | |
| UICORE_API_EXPORT UID | createTabToolBarSubContainer (UID _creatorUid, UID _parentUid, const QString &_text=QString("")) |
| Will create a new TabToolBar subcountainer and return its UID. | |
| UICORE_API_EXPORT UID | createTimer (UID _creatorUid) |
| Will create a new timer and return its UID. | |
| UICORE_API_EXPORT UID | createToolButton (UID _creatorUid) |
| Will create a toolButton and return its UID. | |
| UICORE_API_EXPORT UID | createToolButton (UID _creatorUid, const QString &_text) |
| Will create a toolButton and return its UID. | |
| UICORE_API_EXPORT UID | createToolButton (UID _creatorUid, const QString &_text, const QIcon &_icon) |
| Will create a toolButton and return its UID. | |
| UICORE_API_EXPORT UID | createToolButton (UID _creatorUid, const QString &_text, const QString &_iconName, const QString &_iconFolder) |
| Will create a toolButton and return its UID. | |
| UICORE_API_EXPORT UID | createWindow (UID _creatorUid) |
| Will create a new UI manager and return its UID. | |
| UICORE_API_EXPORT void | creatorDestroyed (UID _creatorUid) |
| Will destroy all objects created by this creator. | |
| UICORE_API_EXPORT UID | createUid (void) |
| Will generate a new UID and return it. | |
| UICORE_API_EXPORT aMessenger * | getMessenger (void) |
| Will return the messenger. | |
| UICORE_API_EXPORT const QIcon & | getIcon (const QString &_iconName, const QString &_iconSubPath) |
| WIll return the icon with the specified name and path. | |
| UICORE_API_EXPORT const QIcon & | getApplicationIcon (const QString &_iconName) |
| Will return the application icon with the specified name and path. | |
| UICORE_API_EXPORT const QPixmap & | getPixmap (const QString &_name) |
| Will return the icon with the specified name and path. | |
| UICORE_API_EXPORT QMovie * | getMovie (const QString &_name) |
| Will return the movie with the specified name and path. | |
Will create a new Action and return its UID.
| _creatorUid | The UID of the creator who creates this object |
| _text | The text of the action |
| _icon | The icon of the action |
| ak::Exception | if the API is not initialized |
| ak::UID ak::uiAPI::createAction | ( | UID | _creatorUid, |
| const QString & | _text, | ||
| const QString & | _iconName, | ||
| const QString & | _iconSubFolder = QString("32") ) |
Will create a new Action and return its UID.
| _creatorUid | The UID of the creator who creates this object |
| _text | The text of the action |
| _iconSubFolder | The sub folder the icon is located at (Folder depends on the search directories) |
| _iconName | The name of the icon to display in the action (requires also the icon size to be provided) |
| ak::Exception | if the API is not initialized |
Will create a new CheckBox and return its UID.
| _creatorUid | The UID of the creator who creates this object |
| _text | The initial text of the CheckBox |
| _checked | The initial checked state of the checkbox |
| ak::Exception | if the API is not initialized |
Will create a line edit and return its UID param _creatorUid The UID of the creator.
| _initialText | The initial text to display |
| ak::UID ak::uiAPI::createNiceLineEdit | ( | UID | _creatorUid, |
| const QString & | _initialText, | ||
| const QString & | _infoLabelText ) |
Will create a nice line edit.
| _initialText | The initial text of the edit field |
| _infoLabelText | The initial text of the information label |
| ak::UID ak::uiAPI::createTabToolBarSubContainer | ( | UID | _creatorUid, |
| UID | _parentUid, | ||
| const QString & | _text = QString("") ) |
Will create a new TabToolBar subcountainer and return its UID.
| _creatorUid | The UID of the creator who creates this object |
| _parentUid | The UID of the parent TabToolBar object (may be a uiManager, TabToolBarPage or TabToolBarGroup) |
| _text | The text of the SubContainer |
| ak::Exception | if the provided UID is invalid or the API is not initialized |
Will create a new timer and return its UID.
| _creatorUid | The UID of the creator who creates this object |
Will create a toolButton and return its UID.
| _creatorUid | The UID of the creator |
Will create a toolButton and return its UID.
| _creatorUid | The UID of the creator |
| _text | The initial text of the toolButton |
Will create a toolButton and return its UID.
| _creatorUid | The UID of the creator |
| _text | The initial text of the toolButton |
| _icon | The initial icon of the toolButton |
| ak::UID ak::uiAPI::createToolButton | ( | UID | _creatorUid, |
| const QString & | _text, | ||
| const QString & | _iconName, | ||
| const QString & | _iconFolder ) |
Will create a toolButton and return its UID.
| _creatorUid | The UID of the creator |
| _text | The initial text of the toolButton |
| _iconName | The name of the initial icon for the toolButton |
| _iconFolder | The folder of the initial icon for the toolButton |
| ak::UID ak::uiAPI::createUid | ( | void | ) |
Will generate a new UID and return it.
| ak::Exception | if the API is not initialized |
Will create a new UI manager and return its UID.
| _creatorUid | The UID of the creator who creates this object |
| ak::Exception | if the provided UID is invalid or the API is not initialized |
| void ak::uiAPI::creatorDestroyed | ( | UID | _creatorUid | ) |
Will destroy all objects created by this creator.
| _creatorUid | The UID of the creator |
| ak::Exception | if the API is not initialized |
| void ak::uiAPI::destroy | ( | void | ) |
Will destroy all objects created by this API.
| std::vector< ak::eventType > ak::uiAPI::disabledEventTypes | ( | void | ) |
Will return the disabled event types that will be send.
| void ak::uiAPI::disableEventTypes | ( | eventType | _types | ) |
Will disable the provided event types to be send.
| _types | The types to disable |
| std::vector< ak::eventType > ak::uiAPI::enabledEventTypes | ( | void | ) |
Will return the enabled event types that will be send.
| void ak::uiAPI::enableEventTypes | ( | eventType | _types | ) |
Will enable the provided event types to be send.
| _types | The types to allow |
| const QIcon & ak::uiAPI::getApplicationIcon | ( | const QString & | _iconName | ) |
Will return the application icon with the specified name and path.
| const QIcon & ak::uiAPI::getIcon | ( | const QString & | _iconName, |
| const QString & | _iconSubPath ) |
WIll return the icon with the specified name and path.
| ak::Exception | if the API is not initialized |
| ak::aMessenger * ak::uiAPI::getMessenger | ( | void | ) |
Will return the messenger.
| ak::Exception | if the API is not initialized |
| QMovie * ak::uiAPI::getMovie | ( | const QString & | _name | ) |
Will return the movie with the specified name and path.
| _name | The name of the movie |
Will return the creator UID of the specified object.
| _objectUID | The UID of the object to get its cretor from |
| ak::aObjectManager * ak::uiAPI::getObjectManager | ( | void | ) |
Will return the object manager used in this API.
| const QPixmap & ak::uiAPI::getPixmap | ( | const QString & | _name | ) |
Will return the icon with the specified name and path.
| QWidget * ak::uiAPI::getWidget | ( | UID | _objectUid | ) |
Will return the QWidget of the specifed object.
| _objectUid | The UID of the object |
| void ak::uiAPI::ini | ( | QApplication * | _applicationInstance, |
| const QString & | _organizationName, | ||
| const QString & | _applicationName ) |
Will initialize the application.
| _argc | The program start argument count |
| _argv | The program start arguments |
| _organizationName | The name of the organization (required for settings set/get) |
| _applicationName | The name of the application (required for settings set/get) |
| bool ak::uiAPI::messengerIsEnabled | ( | void | ) |
Will return the current enabled state for the messenger.
| void ak::uiAPI::registerAllMessagesNotifier | ( | ak::aNotifier * | _notifier | ) |
Will register the notifier for all messages send at the global messenger The provided notifier will get a new uid if not done so before. Returns the UID of the notifier.
| _notifier | The notifier which to register |
| ak::Exception | if the API is not initialized |
| void ak::uiAPI::registerEventTypeNotifier | ( | eventType | _event, |
| ak::aNotifier * | _notifier ) |
Will register the notifier at the messenger The provided notifier will get a new uid if not done so before. Returns the UID of the notifier.
| _event | The event type for which to register the provided notifier |
| _notifier | The notifier which to register |
| ak::Exception | if the API is not initialized |
| void ak::uiAPI::registerUidNotifier | ( | UID | _senderUid, |
| ak::aNotifier * | _notifier ) |
Will register the notifier at the messenger The provided notifier will get a new uid if not done so before. Returns the UID of the notifier.
| _senderUid | The sender UID for which to register the provided notifier |
| _notifier | The notifier which to register |
| ak::Exception | if the API is not initialized |
Will send a message to the messanger.
| _senderUid | Who sends this message |
| _messageType | What type of message is send |
| _message | The message itself |
| _info1 | Additional information 1 |
| _info2 | Additional information 2 |
| ak::Exception | if the API is not initialized |
| ak::Exception | At any kind of error that may occur in any subroutine call when calling the receivers |
| void ak::uiAPI::setMessengerEnabled | ( | bool | _enabled | ) |
Will set the enabled state of the messenger.
| _enabled | The enabled state to set. If false, no messages will be sent |
| void ak::uiAPI::setSurfaceFormatDefaultSamplesCount | ( | int | _count | ) |
Will set the samples count for the default surface formt.
| _count | The count of samples |