Class providing ui elements for controlling ColmapWrapper.
More...
#include <colmapwrapper.h>
|
|
void | updateToLightTheme () |
| | Signal to update ui to light theme.
|
| |
|
void | updateToDarkTheme () |
| | Signal to update ui to dark theme.
|
| |
|
| QPushButton * | createNewProductPushButton (ETheme iTheme=LIGHT, QWidget *parent=nullptr, QPushButton *rhs=nullptr) |
| | Create a QPushButton that opens the "New Product" dialog.
|
| |
| QToolButton * | createNewProductToolButton (ETheme iTheme=LIGHT, QWidget *parent=nullptr, QToolButton *rhs=nullptr) |
| | Create a QToolButton that opens the "New Product" dialog.
|
| |
| QPushButton * | createSettingsPushButton (ETheme iTheme=LIGHT, QWidget *parent=nullptr, QPushButton *rhs=nullptr) |
| | Create a QPushButton that opens the settings dialog.
|
| |
| QToolButton * | createSettingsToolButton (ETheme iTheme=LIGHT, QWidget *parent=nullptr, QToolButton *rhs=nullptr) |
| | Create a QToolButton that opens the settings dialog.
|
| |
| QAction * | createSettingsAction (ETheme iTheme=LIGHT, QWidget *parent=nullptr, QAction *rhs=nullptr) |
| | Create a QAction that opens the settings dialog.
|
| |
| QWidget * | createViewWidget (QWidget *parent=nullptr) |
| | Create ViewWidget for interaction with MetashapeWrapper.
|
| |
|
void | updateIconTheme (ETheme iTheme) |
| | Method to update icon themes.
|
| |
|
|
void | showSettingsDialog () |
| | Slot to show "Settings" dialog.
|
| |
|
void | showNewProductDialog () |
| | Slot to show "New Product" dialog.
|
| |
|
|
class | lib3d::ots::ColmapWrapper |
| |
◆ ColmapWrapperControlsFactory()
Private cosntructor.
- Parameters
-
| [in] | ipColmapWrapper | Pointer to object of MetashapeWrapper. |
◆ createNewProductPushButton()
| QPushButton * lib3d::ots::ui::ColmapWrapperControlsFactory::createNewProductPushButton |
( |
ui::ETheme |
iTheme = LIGHT, |
|
|
QWidget * |
parent = nullptr, |
|
|
QPushButton * |
rhs = nullptr |
|
) |
| |
Create a QPushButton that opens the "New Product" dialog.
- Parameters
-
| [in] | iTheme | Theme for Icon to use. |
| [in] | rhs | Pointer to already instatiated QPushButton. If null, a new Object of a QPushButton will be instatiated. Can be used to adjust the icon. |
- Returns
- Pointer to instatiated object.
◆ createNewProductToolButton()
| QToolButton * lib3d::ots::ui::ColmapWrapperControlsFactory::createNewProductToolButton |
( |
ui::ETheme |
iTheme = LIGHT, |
|
|
QWidget * |
parent = nullptr, |
|
|
QToolButton * |
rhs = nullptr |
|
) |
| |
Create a QToolButton that opens the "New Product" dialog.
- Parameters
-
| [in] | iTheme | Theme for Icon to use. |
| [in] | rhs | Pointer to already instatiated QToolButton. If null, a new Object of a QToolButton will be instatiated. Can be used to adjust the icon. |
- Returns
- Pointer to instatiated object.
◆ createSettingsAction()
| QAction * lib3d::ots::ui::ColmapWrapperControlsFactory::createSettingsAction |
( |
ui::ETheme |
iTheme = LIGHT, |
|
|
QWidget * |
parent = nullptr, |
|
|
QAction * |
rhs = nullptr |
|
) |
| |
Create a QAction that opens the settings dialog.
- Parameters
-
| [in] | iTheme | Theme for Icon to use. |
| [in] | rhs | Pointer to already instatiated QToolButton. If null, a new Object of a QToolButton will be instatiated. Can be used to adjust the icon. |
- Returns
- Pointer to instatiated object.
◆ createSettingsPushButton()
| QPushButton * lib3d::ots::ui::ColmapWrapperControlsFactory::createSettingsPushButton |
( |
ETheme |
iTheme = LIGHT, |
|
|
QWidget * |
parent = nullptr, |
|
|
QPushButton * |
rhs = nullptr |
|
) |
| |
Create a QPushButton that opens the settings dialog.
- Parameters
-
| [in] | iTheme | Theme for Icon to use. |
| [in] | rhs | Pointer to already instatiated QPushButton. If null, a new Object of a QPushButton will be instatiated. Can be used to adjust the icon. |
- Returns
- Pointer to instatiated object.
◆ createSettingsToolButton()
| QToolButton * lib3d::ots::ui::ColmapWrapperControlsFactory::createSettingsToolButton |
( |
ETheme |
iTheme = LIGHT, |
|
|
QWidget * |
parent = nullptr, |
|
|
QToolButton * |
rhs = nullptr |
|
) |
| |
Create a QToolButton that opens the settings dialog.
- Parameters
-
| [in] | iTheme | Theme for Icon to use. |
| [in] | rhs | Pointer to already instatiated QToolButton. If null, a new Object of a QToolButton will be instatiated. Can be used to adjust the icon. |
- Returns
- Pointer to instatiated object.
◆ createViewWidget()
| QWidget * lib3d::ots::ui::ColmapWrapperControlsFactory::createViewWidget |
( |
QWidget * |
parent = nullptr | ) |
|
Create ViewWidget for interaction with MetashapeWrapper.
- Parameters
-
| [in] | parent | Pointer to parent object. |
- Returns
- Pointer to ViewWidget.
The documentation for this class was generated from the following files:
- iVS3D/src/iVS3D-core/ots/colmapwrapper.h
- iVS3D/src/iVS3D-core/ots/colmapwrapper.cpp