PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::PMainWindow Class Reference

#include <PMainWindow.h>

Inheritance diagram for dyno::PMainWindow:
Collaboration diagram for dyno::PMainWindow:

Public Types

typedef QMap< QString, QSize > CustomSizeHintMap
 

Public Slots

void newScene ()
 
void loadScene ()
 
void saveScene ()
 
void fullScreen ()
 
void showHelp ()
 
void showAbout ()
 
void showModuleEditor (Qt::QtNode &n)
 
void showMessage ()
 
void addNodeByName (std::string name)
 
void showAboutMsg ()
 
void showSettingEditor ()
 

Signals

void updateSetting ()
 

Public Member Functions

 PMainWindow (QtApp *app, QWidget *parent=Q_NULLPTR, Qt::WindowFlags flags=Qt::WindowFlags())
 
void mainLoop ()
 
void createWindow (int width, int height)
 
POpenGLWidgetopenglWidget ()
 

Protected Member Functions

void mousePressEvent (QMouseEvent *event) override
 

Private Member Functions

void setCentralView ()
 
void setupToolBar ()
 
void setupStatusBar ()
 
void setupAllWidgets ()
 
void setupSettingEditor ()
 
void updateSettingData ()
 

Private Attributes

QApplication * application
 
QList< PToolBar * > toolBars
 
QList< QDockWidget * > extraDockWidgets
 
QMenu * destroyDockWidgetMenu
 
Qt::QtNodeFlowWidgetmNodeFlowView
 
PStatusBarmStatusBar
 
POpenGLWidgetmOpenGLWidget
 
PPropertyWidgetmPropertyWidget
 
PAnimationWidgetmAnimationWidget
 
PMainToolBarmToolBar = nullptr
 
PIODockWidgetmIoDockerWidget = nullptr
 
PSettingEditormSettingEditor = nullptr
 

Detailed Description

Definition at line 89 of file PMainWindow.h.

Member Typedef Documentation

◆ CustomSizeHintMap

typedef QMap<QString, QSize> dyno::PMainWindow::CustomSizeHintMap

Definition at line 94 of file PMainWindow.h.

Constructor & Destructor Documentation

◆ PMainWindow()

dyno::PMainWindow::PMainWindow ( QtApp * app,
QWidget * parent = Q_NULLPTR,
Qt::WindowFlags flags = Qt::WindowFlags() )
explicit

Definition at line 120 of file PMainWindow.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addNodeByName

void dyno::PMainWindow::addNodeByName ( std::string name)
slot

Definition at line 224 of file PMainWindow.cpp.

◆ createWindow()

void dyno::PMainWindow::createWindow ( int width,
int height )

Definition at line 167 of file PMainWindow.cpp.

◆ fullScreen

void dyno::PMainWindow::fullScreen ( )
slot

Definition at line 247 of file PMainWindow.cpp.

◆ loadScene

void dyno::PMainWindow::loadScene ( )
slot

Definition at line 294 of file PMainWindow.cpp.

◆ mainLoop()

void dyno::PMainWindow::mainLoop ( )

Definition at line 163 of file PMainWindow.cpp.

◆ mousePressEvent()

void dyno::PMainWindow::mousePressEvent ( QMouseEvent * event)
overrideprotected

Definition at line 397 of file PMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ newScene

void dyno::PMainWindow::newScene ( )
slot

Definition at line 172 of file PMainWindow.cpp.

◆ openglWidget()

POpenGLWidget * dyno::PMainWindow::openglWidget ( )
inline

Definition at line 103 of file PMainWindow.h.

◆ saveScene

void dyno::PMainWindow::saveScene ( )
slot

Definition at line 242 of file PMainWindow.cpp.

◆ setCentralView()

void dyno::PMainWindow::setCentralView ( )
private

Definition at line 180 of file PMainWindow.cpp.

Here is the caller graph for this function:

◆ setupAllWidgets()

void dyno::PMainWindow::setupAllWidgets ( )
private

Definition at line 299 of file PMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setupSettingEditor()

void dyno::PMainWindow::setupSettingEditor ( )
private

Definition at line 401 of file PMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setupStatusBar()

void dyno::PMainWindow::setupStatusBar ( )
private

Definition at line 236 of file PMainWindow.cpp.

Here is the caller graph for this function:

◆ setupToolBar()

void dyno::PMainWindow::setupToolBar ( )
private

Definition at line 228 of file PMainWindow.cpp.

Here is the caller graph for this function:

◆ showAbout

void dyno::PMainWindow::showAbout ( )
slot

Definition at line 257 of file PMainWindow.cpp.

◆ showAboutMsg

void dyno::PMainWindow::showAboutMsg ( )
slot

Definition at line 207 of file PMainWindow.cpp.

◆ showHelp

void dyno::PMainWindow::showHelp ( )
slot

Definition at line 252 of file PMainWindow.cpp.

◆ showMessage

void dyno::PMainWindow::showMessage ( )
slot

Definition at line 289 of file PMainWindow.cpp.

◆ showModuleEditor

void dyno::PMainWindow::showModuleEditor ( Qt::QtNode & n)
slot

Definition at line 264 of file PMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showSettingEditor

void dyno::PMainWindow::showSettingEditor ( )
slot

Definition at line 410 of file PMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateSetting

void dyno::PMainWindow::updateSetting ( )
signal
Here is the caller graph for this function:

◆ updateSettingData()

void dyno::PMainWindow::updateSettingData ( )
private

Definition at line 419 of file PMainWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ application

QApplication* dyno::PMainWindow::application
private

Definition at line 147 of file PMainWindow.h.

◆ destroyDockWidgetMenu

QMenu* dyno::PMainWindow::destroyDockWidgetMenu
private

Definition at line 151 of file PMainWindow.h.

◆ extraDockWidgets

QList<QDockWidget *> dyno::PMainWindow::extraDockWidgets
private

Definition at line 150 of file PMainWindow.h.

◆ mAnimationWidget

PAnimationWidget* dyno::PMainWindow::mAnimationWidget
private

Definition at line 159 of file PMainWindow.h.

◆ mIoDockerWidget

PIODockWidget* dyno::PMainWindow::mIoDockerWidget = nullptr
private

Definition at line 163 of file PMainWindow.h.

◆ mNodeFlowView

Qt::QtNodeFlowWidget* dyno::PMainWindow::mNodeFlowView
private

Definition at line 153 of file PMainWindow.h.

◆ mOpenGLWidget

POpenGLWidget* dyno::PMainWindow::mOpenGLWidget
private

Definition at line 156 of file PMainWindow.h.

◆ mPropertyWidget

PPropertyWidget* dyno::PMainWindow::mPropertyWidget
private

Definition at line 158 of file PMainWindow.h.

◆ mSettingEditor

PSettingEditor* dyno::PMainWindow::mSettingEditor = nullptr
private

Definition at line 165 of file PMainWindow.h.

◆ mStatusBar

PStatusBar* dyno::PMainWindow::mStatusBar
private

Definition at line 155 of file PMainWindow.h.

◆ mToolBar

PMainToolBar* dyno::PMainWindow::mToolBar = nullptr
private

Definition at line 161 of file PMainWindow.h.

◆ toolBars

QList<PToolBar*> dyno::PMainWindow::toolBars
private

Definition at line 149 of file PMainWindow.h.


The documentation for this class was generated from the following files: