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

#include <PDockWidget.h>

Inheritance diagram for dyno::PDockWidget:
Collaboration diagram for dyno::PDockWidget:

Public Member Functions

 PDockWidget (const QString &colorName, QMainWindow *parent=Q_NULLPTR, Qt::WindowFlags flags=Qt::WindowFlags())
 
void setCustomSizeHint (const QSize &size)
 
QMenu * colorSwatchMenu () const
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event) override
 
void resizeEvent (QResizeEvent *e) override
 

Private Slots

void changeClosable (bool on)
 
void changeMovable (bool on)
 
void changeFloatable (bool on)
 
void changeFloating (bool on)
 
void changeVerticalTitleBar (bool on)
 
void updateContextMenu ()
 
void allowLeft (bool a)
 
void allowRight (bool a)
 
void allowTop (bool a)
 
void allowBottom (bool a)
 
void placeLeft (bool p)
 
void placeRight (bool p)
 
void placeTop (bool p)
 
void placeBottom (bool p)
 
void splitInto (QAction *action)
 
void tabInto (QAction *action)
 

Private Member Functions

void allow (Qt::DockWidgetArea area, bool allow)
 
void place (Qt::DockWidgetArea area, bool place)
 

Private Attributes

QAction * closableAction
 
QAction * movableAction
 
QAction * floatableAction
 
QAction * floatingAction
 
QAction * verticalTitleBarAction
 
QActionGroup * allowedAreasActions
 
QAction * allowLeftAction
 
QAction * allowRightAction
 
QAction * allowTopAction
 
QAction * allowBottomAction
 
QActionGroup * areaActions
 
QAction * leftAction
 
QAction * rightAction
 
QAction * topAction
 
QAction * bottomAction
 
QMenu * tabMenu
 
QMenu * splitHMenu
 
QMenu * splitVMenu
 
QMenu * menu
 
QMainWindow * mainWindow
 

Detailed Description

Definition at line 62 of file PDockWidget.h.

Constructor & Destructor Documentation

◆ PDockWidget()

dyno::PDockWidget::PDockWidget ( const QString & colorName,
QMainWindow * parent = Q_NULLPTR,
Qt::WindowFlags flags = Qt::WindowFlags() )
explicit

Definition at line 78 of file PDockWidget.cpp.

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

Member Function Documentation

◆ allow()

void dyno::PDockWidget::allow ( Qt::DockWidgetArea area,
bool allow )
private

Definition at line 318 of file PDockWidget.cpp.

Here is the caller graph for this function:

◆ allowBottom

void dyno::PDockWidget::allowBottom ( bool a)
privateslot

Definition at line 388 of file PDockWidget.cpp.

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

◆ allowLeft

void dyno::PDockWidget::allowLeft ( bool a)
privateslot

Definition at line 373 of file PDockWidget.cpp.

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

◆ allowRight

void dyno::PDockWidget::allowRight ( bool a)
privateslot

Definition at line 378 of file PDockWidget.cpp.

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

◆ allowTop

void dyno::PDockWidget::allowTop ( bool a)
privateslot

Definition at line 383 of file PDockWidget.cpp.

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

◆ changeClosable

void dyno::PDockWidget::changeClosable ( bool on)
privateslot

Definition at line 353 of file PDockWidget.cpp.

Here is the caller graph for this function:

◆ changeFloatable

void dyno::PDockWidget::changeFloatable ( bool on)
privateslot

Definition at line 363 of file PDockWidget.cpp.

Here is the caller graph for this function:

◆ changeFloating

void dyno::PDockWidget::changeFloating ( bool on)
privateslot

Definition at line 368 of file PDockWidget.cpp.

Here is the caller graph for this function:

◆ changeMovable

void dyno::PDockWidget::changeMovable ( bool on)
privateslot

Definition at line 358 of file PDockWidget.cpp.

Here is the caller graph for this function:

◆ changeVerticalTitleBar

void dyno::PDockWidget::changeVerticalTitleBar ( bool on)
privateslot

Definition at line 413 of file PDockWidget.cpp.

Here is the caller graph for this function:

◆ colorSwatchMenu()

QMenu * dyno::PDockWidget::colorSwatchMenu ( ) const
inline

Definition at line 70 of file PDockWidget.h.

◆ contextMenuEvent()

void dyno::PDockWidget::contextMenuEvent ( QContextMenuEvent * event)
overrideprotected

Definition at line 306 of file PDockWidget.cpp.

◆ place()

void dyno::PDockWidget::place ( Qt::DockWidgetArea area,
bool place )
private

Definition at line 332 of file PDockWidget.cpp.

Here is the caller graph for this function:

◆ placeBottom

void dyno::PDockWidget::placeBottom ( bool p)
privateslot

Definition at line 408 of file PDockWidget.cpp.

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

◆ placeLeft

void dyno::PDockWidget::placeLeft ( bool p)
privateslot

Definition at line 393 of file PDockWidget.cpp.

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

◆ placeRight

void dyno::PDockWidget::placeRight ( bool p)
privateslot

Definition at line 398 of file PDockWidget.cpp.

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

◆ placeTop

void dyno::PDockWidget::placeTop ( bool p)
privateslot

Definition at line 403 of file PDockWidget.cpp.

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

◆ resizeEvent()

void dyno::PDockWidget::resizeEvent ( QResizeEvent * e)
overrideprotected

Definition at line 313 of file PDockWidget.cpp.

◆ setCustomSizeHint()

void dyno::PDockWidget::setCustomSizeHint ( const QSize & size)

Definition at line 347 of file PDockWidget.cpp.

◆ splitInto

void dyno::PDockWidget::splitInto ( QAction * action)
privateslot

Definition at line 288 of file PDockWidget.cpp.

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

◆ tabInto

void dyno::PDockWidget::tabInto ( QAction * action)
privateslot

Definition at line 299 of file PDockWidget.cpp.

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

◆ updateContextMenu

void dyno::PDockWidget::updateContextMenu ( )
privateslot

Definition at line 211 of file PDockWidget.cpp.

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

Member Data Documentation

◆ allowBottomAction

QAction* dyno::PDockWidget::allowBottomAction
private

Definition at line 113 of file PDockWidget.h.

◆ allowedAreasActions

QActionGroup* dyno::PDockWidget::allowedAreasActions
private

Definition at line 109 of file PDockWidget.h.

◆ allowLeftAction

QAction* dyno::PDockWidget::allowLeftAction
private

Definition at line 110 of file PDockWidget.h.

◆ allowRightAction

QAction* dyno::PDockWidget::allowRightAction
private

Definition at line 111 of file PDockWidget.h.

◆ allowTopAction

QAction* dyno::PDockWidget::allowTopAction
private

Definition at line 112 of file PDockWidget.h.

◆ areaActions

QActionGroup* dyno::PDockWidget::areaActions
private

Definition at line 115 of file PDockWidget.h.

◆ bottomAction

QAction* dyno::PDockWidget::bottomAction
private

Definition at line 119 of file PDockWidget.h.

◆ closableAction

QAction* dyno::PDockWidget::closableAction
private

Definition at line 103 of file PDockWidget.h.

◆ floatableAction

QAction* dyno::PDockWidget::floatableAction
private

Definition at line 105 of file PDockWidget.h.

◆ floatingAction

QAction* dyno::PDockWidget::floatingAction
private

Definition at line 106 of file PDockWidget.h.

◆ leftAction

QAction* dyno::PDockWidget::leftAction
private

Definition at line 116 of file PDockWidget.h.

◆ mainWindow

QMainWindow* dyno::PDockWidget::mainWindow
private

Definition at line 126 of file PDockWidget.h.

◆ menu

QMenu* dyno::PDockWidget::menu
private

Definition at line 124 of file PDockWidget.h.

◆ movableAction

QAction* dyno::PDockWidget::movableAction
private

Definition at line 104 of file PDockWidget.h.

◆ rightAction

QAction* dyno::PDockWidget::rightAction
private

Definition at line 117 of file PDockWidget.h.

◆ splitHMenu

QMenu* dyno::PDockWidget::splitHMenu
private

Definition at line 122 of file PDockWidget.h.

◆ splitVMenu

QMenu* dyno::PDockWidget::splitVMenu
private

Definition at line 123 of file PDockWidget.h.

◆ tabMenu

QMenu* dyno::PDockWidget::tabMenu
private

Definition at line 121 of file PDockWidget.h.

◆ topAction

QAction* dyno::PDockWidget::topAction
private

Definition at line 118 of file PDockWidget.h.

◆ verticalTitleBarAction

QAction* dyno::PDockWidget::verticalTitleBarAction
private

Definition at line 107 of file PDockWidget.h.


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