#include <MainWindow.hpp>
Inherits QMainWindow, and ThreadCallbackInterface.
|
| MainWindow (QWidget *parent=nullptr) |
|
virtual | ~MainWindow () |
|
QSize | minimumSizeHint () const override |
|
QSize | sizeHint () const override |
|
void | showError (const char *message) |
|
void | setWindowTitle (const QString &path) |
|
void | createAction (QAction **result, const QString &menu, const QString &toolBar, const QString &text, const QString &toolTip, const QIcon &icon, const QObject *receiver, const char *member) |
|
void | hideToolBar (const QString &menu) |
|
void | suspendThreads () |
|
void | resumeThreads () |
|
virtual void | threadProgress (bool finished) override |
|
void | update (void *sender, const QSet< Editor::Type > &target) |
|
void | update (const QSet< Editor::Type > &target, Page::State viewPortsCacheState=Page::STATE_READ, bool resetCamera=false) |
|
void | updateEverything () |
|
void | updateData () |
|
void | updateFilter () |
|
void | updateModifiers () |
|
void | updateRender () |
|
Editor & | editor () |
|
virtual | ~ThreadCallbackInterface ()=default |
|
virtual void | threadProgress (bool finished)=0 |
|
|
static void | createToolButton (QToolButton **result, const QString &text, const QString &toolTip, const QIcon &icon, const QObject *receiver, const char *member) |
|
◆ MainWindow()
MainWindow::MainWindow |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~MainWindow()
MainWindow::~MainWindow |
( |
| ) |
|
|
virtual |
◆ closeEvent()
void MainWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
overrideprotected |
◆ createAction()
void MainWindow::createAction |
( |
QAction ** |
result, |
|
|
const QString & |
menu, |
|
|
const QString & |
toolBar, |
|
|
const QString & |
text, |
|
|
const QString & |
toolTip, |
|
|
const QIcon & |
icon, |
|
|
const QObject * |
receiver, |
|
|
const char * |
member |
|
) |
| |
Referenced by ClassificationPlugin::initialize(), DescriptorPlugin::initialize(), ElevationPlugin::initialize(), ExplorerPlugin::initialize(), ExportFilePlugin::initialize(), HeightMapPlugin::initialize(), HelpPlugin::initialize(), ImportFilePlugin::initialize(), MessageLogPlugin::initialize(), ProjectFilePlugin::initialize(), SegmentationPlugin::initialize(), SettingsPlugin::initialize(), ViewerPlugin::initialize(), and MainWindow().
◆ createMenuSeparator()
void MainWindow::createMenuSeparator |
( |
const QString & |
menu | ) |
|
|
private |
◆ createToolButton()
void MainWindow::createToolButton |
( |
QToolButton ** |
result, |
|
|
const QString & |
text, |
|
|
const QString & |
toolTip, |
|
|
const QIcon & |
icon, |
|
|
const QObject * |
receiver, |
|
|
const char * |
member |
|
) |
| |
|
static |
◆ editor()
Editor & MainWindow::editor |
( |
| ) |
|
|
inline |
Referenced by ExplorerClassificationsWidget::dataChanged(), ExplorerFilesWidget::dataChanged(), ExplorerLayersWidget::dataChanged(), ExplorerClassificationsWidget::filterChanged(), ExplorerClippingWidget::filterChanged(), ExplorerDescriptorWidget::filterChanged(), ExplorerElevationWidget::filterChanged(), ExplorerFilesWidget::filterChanged(), ExplorerLayersWidget::filterChanged(), HeightMapModifier::initialize(), ProjectFilePlugin::projectClose(), ProjectFilePlugin::projectOpen(), ProjectFilePlugin::projectSave(), SettingsColorWidget::setSettingsOut(), ExportFilePlugin::slotExportFile(), ExplorerClassificationsWidget::slotUpdate(), ExplorerClippingWidget::slotUpdate(), ExplorerDescriptorWidget::slotUpdate(), ExplorerElevationWidget::slotUpdate(), ExplorerFilesWidget::slotUpdate(), ExplorerLayersWidget::slotUpdate(), SettingsColorWidget::slotUpdate(), and ViewerPlugin::slotViewLayout().
◆ hideEvent()
void MainWindow::hideEvent |
( |
QHideEvent * |
event | ) |
|
|
overrideprotected |
◆ hideToolBar()
void MainWindow::hideToolBar |
( |
const QString & |
menu | ) |
|
◆ loadPlugin()
void MainWindow::loadPlugin |
( |
QObject * |
plugin | ) |
|
|
private |
◆ loadPlugins()
void MainWindow::loadPlugins |
( |
| ) |
|
|
private |
◆ minimumSizeHint()
QSize MainWindow::minimumSizeHint |
( |
| ) |
const |
|
override |
◆ resumeThreads()
void MainWindow::resumeThreads |
( |
| ) |
|
◆ setWindowTitle()
void MainWindow::setWindowTitle |
( |
const QString & |
path | ) |
|
◆ showError()
void MainWindow::showError |
( |
const char * |
message | ) |
|
◆ showEvent()
void MainWindow::showEvent |
( |
QShowEvent * |
event | ) |
|
|
overrideprotected |
◆ signalRender
void MainWindow::signalRender |
( |
| ) |
|
|
signal |
◆ signalUpdate
void MainWindow::signalUpdate |
( |
void * |
sender, |
|
|
const QSet< Editor::Type > & |
target |
|
) |
| |
|
signal |
◆ sizeHint()
QSize MainWindow::sizeHint |
( |
| ) |
const |
|
override |
◆ slotRender
void MainWindow::slotRender |
( |
| ) |
|
|
slot |
◆ slotRenderViewport [1/2]
void MainWindow::slotRenderViewport |
( |
| ) |
|
|
slot |
◆ slotRenderViewport [2/2]
void MainWindow::slotRenderViewport |
( |
size_t |
viewportId | ) |
|
|
slot |
◆ suspendThreads()
void MainWindow::suspendThreads |
( |
| ) |
|
Referenced by HeightMapModifier::apply(), ExplorerClassificationsWidget::dataChanged(), ExplorerFilesWidget::dataChanged(), ExplorerLayersWidget::dataChanged(), ExplorerClassificationsWidget::filterChanged(), ExplorerClippingWidget::filterChanged(), ExplorerDescriptorWidget::filterChanged(), ExplorerElevationWidget::filterChanged(), ExplorerFilesWidget::filterChanged(), ExplorerLayersWidget::filterChanged(), ProjectFilePlugin::projectClose(), ProjectFilePlugin::projectSave(), HeightMapModifier::setPreviewEnabled(), SettingsColorWidget::setSettingsOut(), ClassificationWidget::slotApply(), DescriptorWidget::slotApply(), ElevationWidget::slotApply(), SegmentationWidget::slotApply(), ExportFilePlugin::slotExportFile(), ViewerPlugin::slotViewLayout(), update(), updateData(), updateEverything(), updateFilter(), updateModifiers(), and updateRender().
◆ threadProgress()
void MainWindow::threadProgress |
( |
bool |
finished | ) |
|
|
overridevirtual |
◆ update() [1/2]
◆ update() [2/2]
void MainWindow::update |
( |
void * |
sender, |
|
|
const QSet< Editor::Type > & |
target |
|
) |
| |
◆ updateData()
void MainWindow::updateData |
( |
| ) |
|
◆ updateEverything()
void MainWindow::updateEverything |
( |
| ) |
|
◆ updateFilter()
void MainWindow::updateFilter |
( |
| ) |
|
◆ updateModifiers()
void MainWindow::updateModifiers |
( |
| ) |
|
◆ updateRender()
void MainWindow::updateRender |
( |
| ) |
|
◆ actionExit_
QAction* MainWindow::actionExit_ |
|
private |
◆ APPLICATION_NAME
const char * MainWindow::APPLICATION_NAME = "3D Forest" |
|
static |
◆ APPLICATION_VERSION
const char * MainWindow::APPLICATION_VERSION = "1.0" |
|
static |
◆ editor_
◆ explorerPlugin_
◆ exportFilePlugin_
◆ helpPlugin_
◆ ICON_SIZE
const int MainWindow::ICON_SIZE = 24 |
|
static |
◆ ICON_SIZE_TEXT
const int MainWindow::ICON_SIZE_TEXT = 16 |
|
static |
◆ importFilePlugin_
◆ menu_
QHash<QString, QMenu *> MainWindow::menu_ |
|
private |
◆ messageLogPlugin_
◆ plugins_
◆ projectFilePlugin_
◆ settingsPlugin_
◆ threadRender_
◆ toolBar_
QHash<QString, QToolBar *> MainWindow::toolBar_ |
|
private |
◆ viewerPlugin_
The documentation for this class was generated from the following files:
- MainWindow.hpp
- MainWindow.cpp