The API manager is used to manage the global objects required for this API to work. More...
#include "AppBase.h"
Public Types | |
enum class | ViewHandlingConfig : uint32_t { NoConfig = 0 << 0 , SkipEntitySelection = 1 << 0 } |
enum | StartOption { LogExport } |
typedef ot::Flags< ViewHandlingConfig > | ViewHandlingFlags |
Public Types inherited from otoolkit::APIInterface | |
enum | InterfaceLogType { Information , Warning , Error } |
Public Slots | |
void | lockUI (bool flag) |
void | refreshWelcomeScreen (void) |
void | lockSelectionAndModification (bool flag) |
void | setProgressBarVisibility (const char *progressMessage, bool progressBaseVisible, bool continuous) |
Will turn on or off the progress bar visibility and set the progress message. | |
void | setProgressBarValue (int progressPercentage) |
Will set the percentage of the progress bar. | |
void | showInfoPrompt (const std::string &_message, const std::string &_title) |
void | showWarningPrompt (const std::string &_message, const std::string &_title) |
void | showErrorPrompt (const std::string &_message, const std::string &_title) |
void | slotGraphicsItemRequested (const QString &_name, const QPointF &_pos) |
void | slotGraphicsItemChanged (const ot::GraphicsItemCfg *_newConfig) |
void | slotGraphicsConnectionRequested (const ot::UID &_fromUid, const std::string &_fromConnector, const ot::UID &_toUid, const std::string &_toConnector) |
void | slotGraphicsConnectionToConnectionRequested (const ot::UID &_fromItemUid, const std::string &_fromItemConnector, const ot::UID &_toConnectionUid, const ot::Point2DD &_newControlPoint) |
void | slotGraphicsSelectionChanged (void) |
void | slotGraphicsRemoveItemsRequested (const ot::UIDList &_items, const std::list< std::string > &_connections) |
void | slotCopyRequested (const ot::CopyInformation *_info) |
void | slotTextEditorSaveRequested (void) |
void | slotTableSaveRequested (void) |
void | slotProcessMessage (const QString &_json) |
Public Member Functions | |
virtual void | log (const ot::LogMessage &_message) override |
Called when the a log message was created. | |
void | updateBufferSizeFromLogFlags (const ot::LogFlags &_flags) |
virtual | ~AppBase () |
Deconstructor. | |
bool | initialize () |
Will initialize the API Returns: 0: OK -1: Was already initialized 1: Exception catched 2: Non exception catched 3: Log-in failed. | |
bool | logIn (void) |
bool | isInitialized (void) const |
Returns true if the API was initialized. | |
std::shared_ptr< QSettings > | createSettingsInstance (void) const |
void | setUiServiceUID (ak::UID _uid) |
ak::UID | getUiServiceUID (void) const |
void | setViewerUID (ak::UID _uid) |
ak::UID | getViewerUID (void) const |
void | setModelUID (ak::UID _uid) |
ak::UID | getModelUID (void) const |
ViewerComponent * | getViewerComponent (void) const |
ExternalServicesComponent * | getExternalServicesComponent (void) const |
void | setCurrentProjectIsModified (bool _isModified=true) |
Will set the current project as modified and apply UI changes. | |
bool | getCurrentProjectIsModified (void) const |
Will get the current project as modified state. | |
const LoginData & | getCurrentLoginData (void) const |
Will return the current username. | |
std::string | getCurrentUserCollection (void) const |
Will return the current username. | |
ak::aWindow * | mainWindow (void) |
ControlsManager * | controlsManager (void) |
LockManager * | lockManager (void) |
virtual void | log (const ot::LogMessage &_message) override |
Called when the a log message was created. | |
virtual void | notify (ak::UID _senderId, ak::eventType _eventType, int _info1, int _info2) override |
Will call the callback function with the provided parameters. | |
virtual bool | closeEvent (void) override |
This function will be called by the window when the closeEvent occurs If the return value is true the closeEvent will be acceptet otherwise ignored. | |
bool | createNewProjectInDatabase (const QString &_projectName, const QString &_projectType) |
void | initializeDefaultUserSettings (void) |
void | frontendSettingsChanged (const ot::Property *_property) |
void | viewerSettingsChanged (const ot::Property *_property) |
void | settingsChanged (const std::string &_owner, const ot::Property *_property) |
void | setWaitingAnimationVisible (bool flag) |
void | createUi (void) |
void | setDebug (bool) |
bool | debug (void) const |
void | registerSession (const std::string &_projectName, const std::string &_collectionName) |
ModelUIDtype | createModel () |
ViewerUIDtype | createView (ModelUIDtype _modelUID, const std::string &_projectName) |
void | setCurrentVisualizationTabFromEntityName (const std::string &_entityName, ot::WidgetViewBase::ViewType _viewType) |
void | setCurrentVisualizationTabFromTitle (const std::string &_tabTitle) |
std::string | getCurrentVisualizationTabTitle (void) |
void | importProject (void) |
void | manageGroups (void) |
void | exportLogs (void) |
void | setSiteID (int _id) |
Will set the current site ID. | |
void | setServiceURL (const std::string &_url) |
Will set the current Service URL of this service. | |
void | setSessionServiceURL (const std::string &_url) |
Will set the session service URL. | |
void | SetCollectionName (const std::string _collectionName) |
void | startSessionRefreshTimer (void) |
void | setViewHandlingConfigFlag (ViewHandlingConfig _flag, bool _active=true) |
void | setViewHandlingConfigFlags (const ViewHandlingFlags &_flags) |
const ViewHandlingFlags & | getViewHandlingConfigFlags (void) const |
int | getSiteID (void) const |
Will return the current site ID. | |
ak::UID | uiUID (void) const |
void | setRelayURLs (const std::string &) |
Will set the Relay URLs. | |
std::string | getRelayURLs (void) const |
Will return the current Relay URLs. | |
const std::string & | getServiceURL (void) const |
Will return the current Service URL. | |
const std::string & | getSessionServiceURL (void) const |
Will return the session service URL. | |
const std::string & | getCurrentProjectName (void) const |
Will return the current project name. | |
const std::string & | getCurrentProjectType (void) const |
void | setCurrentProjectName (const std::string &_name) |
Will set the name of the currently active project. | |
void | setCurrentProjectType (const std::string &_type) |
std::string | getCollectionName () const |
void | switchToViewMenuTab (void) |
void | switchToMenuTab (const std::string &_menu) |
std::string | getCurrentMenuTab (void) |
void | closeAllViewerTabs (void) |
void | clearSessionInformation (void) |
Will clear the session information such as the project name, collection name and user name. | |
void | restoreSessionState (void) |
void | storeSessionState (void) |
bool | storeSettingToDataBase (const ot::PropertyGridCfg &_config, const std::string &_subKey) |
ot::PropertyGridCfg | getSettingsFromDataBase (const std::string &_subKey) |
void | updateLogIntensityInfo (void) |
const QIcon & | getDefaultProjectTypeIcon (void) const |
const std::map< std::string, std::string > & | getProjectTypeDefaultIconNameMap (void) const |
const std::map< std::string, std::string > & | getProjectTypeCustomIconNameMap (void) const |
QString | availableTabText (const QString &_initialTabText) |
ToolBar * | getToolBar (void) const |
void | setTabToolBarTabOrder (const QStringList &_lst) |
void | activateToolBarTab (const QString &_tab) |
void | setNavigationTreeSortingEnabled (bool _enabled) |
void | setNavigationTreeMultiselectionEnabled (bool _enabled) |
void | clearNavigationTree (void) |
ak::ID | addNavigationTreeItem (const QString &_treePath, char _delimiter, bool _isEditable, bool selectChildren) |
void | setNavigationTreeItemIcon (ak::ID _itemID, const QString &_iconName, const QString &_iconDefaultPath) |
void | setNavigationTreeItemText (ak::ID _itemID, const QString &_itemName) |
void | setNavigationTreeItemSelected (ak::ID _itemID, bool _isSelected) |
void | setSingleNavigationTreeItemSelected (ak::ID _itemID, bool _isSelected) |
void | expandSingleNavigationTreeItem (ak::ID _itemID, bool _isExpanded) |
bool | isTreeItemExpanded (ak::ID _itemID) |
void | toggleNavigationTreeItemSelection (ak::ID _itemID, bool _considerChilds) |
void | removeNavigationTreeItems (const std::vector< ak::ID > &itemIds) |
void | clearNavigationTreeSelection (void) |
void | setupPropertyGrid (const ot::PropertyGridCfg &_configuration) |
void | focusPropertyGridItem (const std::string &_group, const std::string &_name) |
QString | getNavigationTreeItemText (ak::ID _itemID) |
std::vector< int > | getSelectedNavigationTreeItems (void) |
void | setVisible3D (bool visible3D) |
void | setVisible1D (bool visible1D) |
void | setVisibleBlockPicker (bool visibleBlockPicker) |
bool | getVisible3D () |
bool | getVisible1D () |
bool | getVisibleBlockPicker () |
void | replaceInfoMessage (const QString &_message) |
void | appendInfoMessage (const QString &_message) |
void | appendHtmlInfoMessage (const QString &_html) |
ot::VersionGraphManagerView * | getVersionGraph (void) |
ot::PropertyGridItem * | findProperty (const std::string &_groupName, const std::string &_itemName) |
ot::PropertyGridItem * | findProperty (const std::list< std::string > &_groupPath, const std::string &_itemName) |
std::string | getPropertyType (const std::string &_groupName, const std::string &_itemName) |
bool | getPropertyIsDeletable (const std::string &_groupName, const std::string &_itemName) |
ShortcutManager * | shortcutManager (void) |
void | clearPropertyGrid (void) |
void | lockPropertyGrid (bool flag) |
void | addGraphicsPickerPackage (const ot::GraphicsPickerCollectionPackage &_pckg, const ot::BasicServiceInformation &_serviceInfo) |
void | clearGraphicsPickerData (void) |
Clears the graphics picker and stored service picker data. | |
ot::GraphicsViewView * | createNewGraphicsEditor (const std::string &_entityName, const QString &_title, ot::BasicServiceInformation _serviceInfo, const ot::WidgetView::InsertFlags &_viewInsertFlags) |
ot::GraphicsViewView * | findGraphicsEditor (const std::string &_entityName) |
ot::GraphicsViewView * | findOrCreateGraphicsEditor (const std::string &_entityName, const QString &_title, const ot::BasicServiceInformation &_serviceInfo, const ot::WidgetView::InsertFlags &_viewInsertFlags) |
std::list< ot::GraphicsViewView * > | getAllGraphicsEditors (void) |
ot::TextEditorView * | createNewTextEditor (const ot::TextEditorCfg &_config, const ot::BasicServiceInformation &_serviceInfo, const ot::WidgetView::InsertFlags &_viewInsertFlags) |
ot::TextEditorView * | findTextEditor (const std::string &_entityName) |
ot::TextEditorView * | findOrCreateTextEditor (const ot::TextEditorCfg &_config, const ot::BasicServiceInformation &_serviceInfo, const ot::WidgetView::InsertFlags &_viewInsertFlags) |
void | closeTextEditor (const std::string &_entityName) |
void | closeAllTextEditors (const ot::BasicServiceInformation &_serviceInfo) |
ot::TableView * | createNewTable (const ot::TableCfg &_config, const ot::BasicServiceInformation &_serviceInfo, const ot::WidgetView::InsertFlags &_viewInsertFlags) |
ot::TableView * | findTable (const std::string &_entityName) |
ot::TableView * | findOrCreateTable (const ot::TableCfg &_config, const ot::BasicServiceInformation &_serviceInfo, const ot::WidgetView::InsertFlags &_viewInsertFlags) |
void | closeTable (const std::string &_name) |
virtual ot::MessageDialogCfg::BasicButton | showPrompt (const ot::MessageDialogCfg &_config) override |
ot::MessageDialogCfg::BasicButton | showPrompt (const std::string &_message, const std::string &_title, ot::MessageDialogCfg::BasicIcon _icon, const ot::MessageDialogCfg::BasicButtons &_buttons) |
void | destroyObjects (const std::vector< ak::UID > &_objects) |
void | makeWidgetViewCurrentWithoutInputFocus (ot::WidgetView *_view, bool _ignoreEntitySelect) |
virtual void | log (const ot::LogMessage &_message) override |
Called when the a log message was created. | |
virtual void | log (const QString &_sender, InterfaceLogType _type, const QString &_message) override |
virtual bool | addTool (otoolkit::Tool *_tool) override |
virtual void | updateStatusString (const QString &_statusText) override |
virtual void | updateStatusStringAsError (const QString &_statusText) override |
virtual void | registerToolActivityNotifier (otoolkit::ToolActivityNotifier *_notifier) override |
virtual void | removeToolActivityNotifier (otoolkit::ToolActivityNotifier *_notifier) override |
virtual otoolkit::SettingsRef | createSettingsInstance (void) override |
virtual const QWidget * | rootWidget (void) const override |
virtual void | closeEvent (QCloseEvent *_event) override |
void | setUrl (const QString &_url) |
const QString & | url (void) const |
void | parseStartArgs (const std::string &_args) |
void | setApplicationInstance (QApplication *_app) |
QApplication * | applicationInstance (void) |
void | setUpdateTransparentColorStyleValueEnabled (bool _enabled) |
bool | getUpdateTransparentColorStyleValueEnabled (void) const |
void | updateTransparentColorStyleValue (void) |
Public Member Functions inherited from ot::ServiceBase | |
ServiceBase () | |
Constructor. | |
ServiceBase (const std::string &_name, const std::string &_type) | |
Constructor. | |
ServiceBase (const std::string &_name, const std::string &_type, const std::string &_url, serviceID_t _id, const std::string &_siteId=std::string()) | |
Constructor. | |
ServiceBase (const ServiceBase &_other) | |
Copy constructor. | |
ServiceBase & | operator= (const ServiceBase &_other) |
bool | operator== (const ServiceBase &_other) const |
bool | operator!= (const ServiceBase &_other) const |
virtual | ~ServiceBase () |
Deconstructor. | |
void | setServiceID (serviceID_t _id) |
Set the service ID. | |
void | setServiceURL (const std::string &_url) |
Set the service URL. | |
void | setServiceName (const std::string &_name) |
Set the service name. | |
void | setServiceType (const std::string &_type) |
Set the service type. | |
void | setSiteId (const std::string &_id) |
Set the site ID. | |
void | setSessionCount (int _count) |
Set the session count. | |
serviceID_t | getServiceID (void) const |
Return the service ID. | |
int | getServiceIDAsInt (void) const |
Return the service ID as an Integer (The service ID is an Integer stored as a String) | |
int | getSessionCount (void) const |
Return the session count. | |
const std::string & | getServiceURL (void) const |
Return the service URL. | |
std::string | getServiceName (void) const |
Return the service name. | |
std::string | getServiceType (void) const |
Return the service type. | |
std::string | getSiteId (void) const |
Return the site ID. | |
BasicServiceInformation | getBasicServiceInformation (void) const |
Public Member Functions inherited from ot::ActionHandler | |
ActionHandler () | |
ActionHandler (const ActionHandler &_other)=default | |
ActionHandler (ActionHandler &&_other)=default | |
virtual | ~ActionHandler () |
ActionHandler & | operator= (const ActionHandler &_other)=default |
ActionHandler & | operator= (ActionHandler &&_other)=default |
Public Member Functions inherited from ot::AbstractLogNotifier | |
AbstractLogNotifier () | |
virtual | ~AbstractLogNotifier () |
void | setDeleteLogNotifierLater (bool _deleteLater=true) |
Will set the delete later flag. If delete later is set, the creator keeps ownership of this object even after it is added to the LogDispatcher. | |
bool | getDeleteLogNotifierLater (void) const |
Returns true if the delete later mode is set. | |
Public Member Functions inherited from ak::aWindowEventHandler | |
aWindowEventHandler () | |
virtual | ~aWindowEventHandler () |
Public Member Functions inherited from ak::aNotifier | |
aNotifier () | |
Will initialize the notifier. | |
virtual | ~aNotifier () |
Destructor. | |
void | enable (void) |
Will enable this notifier. | |
void | disable (void) |
Will disable this notifier. | |
bool | isEnabled (void) const |
Will return true if this notifier is enabled. | |
Static Public Member Functions | |
static AppBase & | instance (void) |
static AppBase * | instance (void) |
static AppBase * | instance (QApplication *_app=(QApplication *) nullptr) |
Private Member Functions | |
virtual | ~AppBase () |
Friends | |
class | ToolBar |
class | KeyboardCommandHandler |
Additional Inherited Members | |
Protected Member Functions inherited from otoolkit::APIInterface | |
APIInterface () | |
virtual | ~APIInterface () |
Protected Attributes inherited from ot::ServiceBase | |
serviceID_t | m_serviceID |
std::string | m_serviceURL |
Service ID. | |
std::string | m_serviceName |
Service URL. | |
std::string | m_serviceType |
Service name. | |
std::string | m_siteId |
Service type. | |
int | m_sessionCount |
Site ID. | |
Protected Attributes inherited from ak::aNotifier | |
bool | m_isEnabled |
The API manager is used to manage the global objects required for this API to work.
enum AppBase::StartOption |
|
strong |
|
virtual |
Deconstructor.
void AppBase::activateToolBarTab | ( | const QString & | _tab | ) |
void AppBase::addGraphicsPickerPackage | ( | const ot::GraphicsPickerCollectionPackage & | _pckg, |
const ot::BasicServiceInformation & | _serviceInfo ) |
ID AppBase::addNavigationTreeItem | ( | const QString & | _treePath, |
char | _delimiter, | ||
bool | _isEditable, | ||
bool | selectChildren ) |
|
overridevirtual |
Implements otoolkit::APIInterface.
void AppBase::appendHtmlInfoMessage | ( | const QString & | _html | ) |
void AppBase::appendInfoMessage | ( | const QString & | _message | ) |
|
inline |
QString AppBase::availableTabText | ( | const QString & | _initialTabText | ) |
void AppBase::clearGraphicsPickerData | ( | void | ) |
Clears the graphics picker and stored service picker data.
void AppBase::clearNavigationTree | ( | void | ) |
void AppBase::clearNavigationTreeSelection | ( | void | ) |
void AppBase::clearPropertyGrid | ( | void | ) |
void AppBase::clearSessionInformation | ( | void | ) |
Will clear the session information such as the project name, collection name and user name.
void AppBase::closeAllTextEditors | ( | const ot::BasicServiceInformation & | _serviceInfo | ) |
void AppBase::closeAllViewerTabs | ( | void | ) |
|
overridevirtual |
|
overridevirtual |
This function will be called by the window when the closeEvent occurs If the return value is true the closeEvent will be acceptet otherwise ignored.
Reimplemented from ak::aWindowEventHandler.
void AppBase::closeTable | ( | const std::string & | _name | ) |
void AppBase::closeTextEditor | ( | const std::string & | _entityName | ) |
ControlsManager * AppBase::controlsManager | ( | void | ) |
ModelUIDtype AppBase::createModel | ( | ) |
ot::GraphicsViewView * AppBase::createNewGraphicsEditor | ( | const std::string & | _entityName, |
const QString & | _title, | ||
ot::BasicServiceInformation | _serviceInfo, | ||
const ot::WidgetView::InsertFlags & | _viewInsertFlags ) |
bool AppBase::createNewProjectInDatabase | ( | const QString & | _projectName, |
const QString & | _projectType ) |
ot::TableView * AppBase::createNewTable | ( | const ot::TableCfg & | _config, |
const ot::BasicServiceInformation & | _serviceInfo, | ||
const ot::WidgetView::InsertFlags & | _viewInsertFlags ) |
ot::TextEditorView * AppBase::createNewTextEditor | ( | const ot::TextEditorCfg & | _config, |
const ot::BasicServiceInformation & | _serviceInfo, | ||
const ot::WidgetView::InsertFlags & | _viewInsertFlags ) |
std::shared_ptr< QSettings > AppBase::createSettingsInstance | ( | void | ) | const |
|
overridevirtual |
Implements otoolkit::APIInterface.
void AppBase::createUi | ( | void | ) |
ViewerUIDtype AppBase::createView | ( | ModelUIDtype | _modelUID, |
const std::string & | _projectName ) |
bool AppBase::debug | ( | void | ) | const |
void AppBase::destroyObjects | ( | const std::vector< ak::UID > & | _objects | ) |
void AppBase::expandSingleNavigationTreeItem | ( | ak::ID | _itemID, |
bool | _isExpanded ) |
void AppBase::exportLogs | ( | void | ) |
ot::GraphicsViewView * AppBase::findGraphicsEditor | ( | const std::string & | _entityName | ) |
ot::GraphicsViewView * AppBase::findOrCreateGraphicsEditor | ( | const std::string & | _entityName, |
const QString & | _title, | ||
const ot::BasicServiceInformation & | _serviceInfo, | ||
const ot::WidgetView::InsertFlags & | _viewInsertFlags ) |
ot::TableView * AppBase::findOrCreateTable | ( | const ot::TableCfg & | _config, |
const ot::BasicServiceInformation & | _serviceInfo, | ||
const ot::WidgetView::InsertFlags & | _viewInsertFlags ) |
ot::TextEditorView * AppBase::findOrCreateTextEditor | ( | const ot::TextEditorCfg & | _config, |
const ot::BasicServiceInformation & | _serviceInfo, | ||
const ot::WidgetView::InsertFlags & | _viewInsertFlags ) |
ot::PropertyGridItem * AppBase::findProperty | ( | const std::list< std::string > & | _groupPath, |
const std::string & | _itemName ) |
ot::PropertyGridItem * AppBase::findProperty | ( | const std::string & | _groupName, |
const std::string & | _itemName ) |
ot::TableView * AppBase::findTable | ( | const std::string & | _entityName | ) |
ot::TextEditorView * AppBase::findTextEditor | ( | const std::string & | _entityName | ) |
void AppBase::focusPropertyGridItem | ( | const std::string & | _group, |
const std::string & | _name ) |
void AppBase::frontendSettingsChanged | ( | const ot::Property * | _property | ) |
std::list< ot::GraphicsViewView * > AppBase::getAllGraphicsEditors | ( | void | ) |
|
inline |
|
inline |
Will return the current username.
std::string AppBase::getCurrentMenuTab | ( | void | ) |
bool AppBase::getCurrentProjectIsModified | ( | void | ) | const |
Will get the current project as modified state.
|
inline |
Will return the current project name.
|
inline |
|
inline |
Will return the current username.
std::string AppBase::getCurrentVisualizationTabTitle | ( | void | ) |
|
inline |
|
inline |
|
inline |
QString AppBase::getNavigationTreeItemText | ( | ak::ID | _itemID | ) |
|
inline |
|
inline |
bool AppBase::getPropertyIsDeletable | ( | const std::string & | _groupName, |
const std::string & | _itemName ) |
std::string AppBase::getPropertyType | ( | const std::string & | _groupName, |
const std::string & | _itemName ) |
std::string AppBase::getRelayURLs | ( | void | ) | const |
Will return the current Relay URLs.
std::vector< int > AppBase::getSelectedNavigationTreeItems | ( | void | ) |
|
inline |
Will return the current Service URL.
|
inline |
Will return the session service URL.
ot::PropertyGridCfg AppBase::getSettingsFromDataBase | ( | const std::string & | _subKey | ) |
|
inline |
Will return the current site ID.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void AppBase::importProject | ( | void | ) |
bool AppBase::initialize | ( | ) |
Will initialize the API Returns: 0: OK -1: Was already initialized 1: Exception catched 2: Non exception catched 3: Log-in failed.
void AppBase::initializeDefaultUserSettings | ( | void | ) |
|
static |
|
static |
|
static |
bool AppBase::isInitialized | ( | void | ) | const |
Returns true if the API was initialized.
bool AppBase::isTreeItemExpanded | ( | ak::ID | _itemID | ) |
LockManager * AppBase::lockManager | ( | void | ) |
void AppBase::lockPropertyGrid | ( | bool | flag | ) |
|
slot |
|
slot |
|
overridevirtual |
Called when the a log message was created.
Implements ot::AbstractLogNotifier.
|
overridevirtual |
Called when the a log message was created.
Implements ot::AbstractLogNotifier.
|
overridevirtual |
Called when the a log message was created.
Implements ot::AbstractLogNotifier.
|
overridevirtual |
Implements otoolkit::APIInterface.
bool AppBase::logIn | ( | void | ) |
aWindow * AppBase::mainWindow | ( | void | ) |
void AppBase::makeWidgetViewCurrentWithoutInputFocus | ( | ot::WidgetView * | _view, |
bool | _ignoreEntitySelect ) |
void AppBase::manageGroups | ( | void | ) |
|
overridevirtual |
Will call the callback function with the provided parameters.
_senderId | The sender ID the message was send from |
_message | The message |
_messageType | The type of the messsage |
_info1 | Message addition 1 |
_info2 | Message addition 2 |
sim::Exception | to forward exceptions coming from the application core class |
Implements ak::aNotifier.
void AppBase::parseStartArgs | ( | const std::string & | _args | ) |
|
slot |
void AppBase::registerSession | ( | const std::string & | _projectName, |
const std::string & | _collectionName ) |
|
overridevirtual |
Implements otoolkit::APIInterface.
void AppBase::removeNavigationTreeItems | ( | const std::vector< ak::ID > & | itemIds | ) |
|
overridevirtual |
Implements otoolkit::APIInterface.
void AppBase::replaceInfoMessage | ( | const QString & | _message | ) |
void AppBase::restoreSessionState | ( | void | ) |
|
inlineoverridevirtual |
Implements otoolkit::APIInterface.
|
inline |
void AppBase::SetCollectionName | ( | const std::string | _collectionName | ) |
void AppBase::setCurrentProjectIsModified | ( | bool | _isModified = true | ) |
Will set the current project as modified and apply UI changes.
|
inline |
Will set the name of the currently active project.
|
inline |
void AppBase::setCurrentVisualizationTabFromEntityName | ( | const std::string & | _entityName, |
ot::WidgetViewBase::ViewType | _viewType ) |
void AppBase::setCurrentVisualizationTabFromTitle | ( | const std::string & | _tabTitle | ) |
void AppBase::setDebug | ( | bool | _debug | ) |
|
inline |
void AppBase::setNavigationTreeItemIcon | ( | ak::ID | _itemID, |
const QString & | _iconName, | ||
const QString & | _iconDefaultPath ) |
void AppBase::setNavigationTreeItemSelected | ( | ak::ID | _itemID, |
bool | _isSelected ) |
void AppBase::setNavigationTreeItemText | ( | ak::ID | _itemID, |
const QString & | _itemName ) |
void AppBase::setNavigationTreeMultiselectionEnabled | ( | bool | _enabled | ) |
void AppBase::setNavigationTreeSortingEnabled | ( | bool | _enabled | ) |
|
slot |
Will set the percentage of the progress bar.
|
slot |
Will turn on or off the progress bar visibility and set the progress message.
void AppBase::setRelayURLs | ( | const std::string & | _url | ) |
Will set the Relay URLs.
void AppBase::setServiceURL | ( | const std::string & | _url | ) |
Will set the current Service URL of this service.
void AppBase::setSessionServiceURL | ( | const std::string & | _url | ) |
Will set the session service URL.
void AppBase::setSingleNavigationTreeItemSelected | ( | ak::ID | _itemID, |
bool | _isSelected ) |
void AppBase::setSiteID | ( | int | _id | ) |
Will set the current site ID.
void AppBase::setTabToolBarTabOrder | ( | const QStringList & | _lst | ) |
void AppBase::settingsChanged | ( | const std::string & | _owner, |
const ot::Property * | _property ) |
|
inline |
void AppBase::setUpdateTransparentColorStyleValueEnabled | ( | bool | _enabled | ) |
void AppBase::setupPropertyGrid | ( | const ot::PropertyGridCfg & | _configuration | ) |
void AppBase::setUrl | ( | const QString & | _url | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void AppBase::setWaitingAnimationVisible | ( | bool | flag | ) |
|
inline |
|
slot |
|
slot |
|
overridevirtual |
Implements ot::MessageBoxHandler.
ot::MessageDialogCfg::BasicButton AppBase::showPrompt | ( | const std::string & | _message, |
const std::string & | _title, | ||
ot::MessageDialogCfg::BasicIcon | _icon, | ||
const ot::MessageDialogCfg::BasicButtons & | _buttons ) |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
void AppBase::startSessionRefreshTimer | ( | void | ) |
void AppBase::storeSessionState | ( | void | ) |
bool AppBase::storeSettingToDataBase | ( | const ot::PropertyGridCfg & | _config, |
const std::string & | _subKey ) |
void AppBase::switchToMenuTab | ( | const std::string & | _menu | ) |
void AppBase::switchToViewMenuTab | ( | void | ) |
void AppBase::toggleNavigationTreeItemSelection | ( | ak::ID | _itemID, |
bool | _considerChilds ) |
|
inline |
void AppBase::updateBufferSizeFromLogFlags | ( | const ot::LogFlags & | _flags | ) |
void AppBase::updateLogIntensityInfo | ( | void | ) |
|
overridevirtual |
Implements otoolkit::APIInterface.
|
overridevirtual |
Implements otoolkit::APIInterface.
void AppBase::updateTransparentColorStyleValue | ( | void | ) |
|
inline |
void AppBase::viewerSettingsChanged | ( | const ot::Property * | _property | ) |
|
privatevirtual |
|
friend |
|
friend |