Base class for all extension type tab presenter (ActionTabPresenter, ComponentTabPresenter and ViewerTabPresenter) More...
#include <ExtensionTypeTabPresenter.h>
Inheritance diagram for ExtensionTypeTabPresenter:
Collaboration diagram for ExtensionTypeTabPresenter:Public Member Functions | |
| ExtensionTypeTabPresenter (camitk::ExtensionManager::ExtensionType extensionType, CamiTKExtensionModelPresenter *presenter, VariantDataModel &dataModel, QWidget *parent=nullptr) | |
| constructor | |
| VariantDataModel & | getDataModel () |
| get the managed data model | |
| const QString | getExtensionType () const |
| get the extension type as a string | |
Protected Member Functions | |
| QStringList | buildEnum (QStringList originalList) |
| Use originalList (unsorted strings with potential duplicates) to generate a new QStringList that has only unique strings, sorted by popularity. | |
Protected Attributes | |
| VariantDataModel & | dataModel |
| the currently managed data model | |
| camitk::ExtensionManager::ExtensionType | extensionType |
| The extension type. | |
| CamiTKExtensionModelPresenter * | presenter |
| the current top level presenter | |
Base class for all extension type tab presenter (ActionTabPresenter, ComponentTabPresenter and ViewerTabPresenter)
| ExtensionTypeTabPresenter::ExtensionTypeTabPresenter | ( | camitk::ExtensionManager::ExtensionType | extensionType, |
| CamiTKExtensionModelPresenter * | presenter, | ||
| VariantDataModel & | dataModel, | ||
| QWidget * | parent = nullptr |
||
| ) |
constructor
|
protected |
Use originalList (unsorted strings with potential duplicates) to generate a new QStringList that has only unique strings, sorted by popularity.
Referenced by ActionTabPresenter::ActionTabPresenter().
Here is the caller graph for this function:| VariantDataModel & ExtensionTypeTabPresenter::getDataModel | ( | ) |
get the managed data model
References dataModel.
Referenced by CamiTKExtensionModelPresenter::tabCloseRequest().
Here is the caller graph for this function:| const QString ExtensionTypeTabPresenter::getExtensionType | ( | ) | const |
get the extension type as a string
References camitk::ExtensionManager::ACTION, camitk::ExtensionManager::COMPONENT, extensionType, and camitk::ExtensionManager::VIEWER.
Referenced by CamiTKExtensionModelPresenter::tabCloseRequest().
Here is the caller graph for this function:
|
protected |
the currently managed data model
Referenced by ActionTabPresenter::ActionTabPresenter(), CppActionTabPresenter::CppActionTabPresenter(), getDataModel(), and PythonActionTabPresenter::PythonActionTabPresenter().
|
protected |
The extension type.
Referenced by getExtensionType().
|
protected |
the current top level presenter
Referenced by ActionTabPresenter::ActionTabPresenter(), CppActionTabPresenter::CppActionTabPresenter(), and PythonActionTabPresenter::PythonActionTabPresenter().