Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
DockWidget Class Reference

#include <plot_docker.h>

Inheritance diagram for DockWidget:
Inheritance graph
[legend]

Public Slots

DockWidgetsplitHorizontal ()
 
DockWidgetsplitVertical ()
 
- Public Slots inherited from ads::CDockWidget
void closeDockWidget ()
 
void deleteDockWidget ()
 
void raise ()
 
void setAsCurrentTab ()
 
void setFloating ()
 
void showFullScreen ()
 
void showNormal ()
 
void toggleView (bool Open=true)
 

Signals

void undoableChange ()
 
- Signals inherited from ads::CDockWidget
void closed ()
 
void closeRequested ()
 
void featuresChanged (ads::CDockWidget::DockWidgetFeatures features)
 
void titleChanged (const QString &Title)
 
void topLevelChanged (bool topLevel)
 
void viewToggled (bool Open)
 
void visibilityChanged (bool visible)
 

Public Member Functions

 DockWidget (PlotDataMapRef &datamap, QWidget *parent=nullptr)
 
PlotWidgetplotWidget ()
 
DockToolbartoolBar ()
 
 ~DockWidget () override
 
- Public Member Functions inherited from ads::CDockWidget
 CDockWidget (const QString &title, QWidget *parent=0)
 
QToolBar * createDefaultToolBar ()
 
CDockAreaWidgetdockAreaWidget () const
 
CDockContainerWidgetdockContainer () const
 
CDockManagerdockManager () const
 
virtual bool event (QEvent *e) override
 
DockWidgetFeatures features () const
 
QIcon icon () const
 
bool isCentralWidget () const
 
bool isClosed () const
 
bool isCurrentTab () const
 
bool isFloating () const
 
bool isFullScreen () const
 
bool isInFloatingContainer () const
 
bool isTabbed () const
 
virtual QSize minimumSizeHint () const override
 
void setFeature (DockWidgetFeature flag, bool on)
 
void setFeatures (DockWidgetFeatures features)
 
void setIcon (const QIcon &Icon)
 
void setMinimumSizeHintMode (eMinimumSizeHintMode Mode)
 
void setTabToolTip (const QString &text)
 
void setTitleBarActions (QList< QAction * > actions)
 
void setToggleViewActionMode (eToggleViewActionMode Mode)
 
void setToolBar (QToolBar *ToolBar)
 
void setToolBarIconSize (const QSize &IconSize, eState State)
 
void setToolBarStyle (Qt::ToolButtonStyle Style, eState State)
 
void setWidget (QWidget *widget, eInsertMode InsertMode=AutoScrollArea)
 
CDockWidgetTabtabWidget () const
 
QWidget * takeWidget ()
 
virtual QList< QAction * > titleBarActions () const
 
QAction * toggleViewAction () const
 
QToolBar * toolBar () const
 
QSize toolBarIconSize (eState State) const
 
Qt::ToolButtonStyle toolBarStyle (eState State) const
 
QWidget * widget () const
 
virtual ~CDockWidget ()
 

Private Attributes

PlotDataMapRef_datamap
 
PlotWidget_plot_widget = nullptr
 
DockToolbar_toolbar
 

Additional Inherited Members

- Public Types inherited from ads::CDockWidget
enum  DockWidgetFeature {
  DockWidgetClosable = 0x01, DockWidgetMovable = 0x02, DockWidgetFloatable = 0x04, DockWidgetDeleteOnClose = 0x08,
  CustomCloseHandling = 0x10, DockWidgetFocusable = 0x20, DockWidgetForceCloseWithArea = 0x40, DefaultDockWidgetFeatures = DockWidgetClosable | DockWidgetMovable | DockWidgetFloatable | DockWidgetFocusable,
  AllDockWidgetFeatures = DefaultDockWidgetFeatures | DockWidgetDeleteOnClose | CustomCloseHandling, DockWidgetAlwaysCloseAndDelete = DockWidgetForceCloseWithArea | DockWidgetDeleteOnClose, NoDockWidgetFeatures = 0x00
}
 
enum  eInsertMode { AutoScrollArea, ForceScrollArea, ForceNoScrollArea }
 
enum  eMinimumSizeHintMode { MinimumSizeHintFromDockWidget, MinimumSizeHintFromContent }
 
enum  eState { StateHidden, StateDocked, StateFloating }
 
enum  eToggleViewActionMode { ActionModeToggle, ActionModeShow }
 
using Super = QFrame
 
- Protected Member Functions inherited from ads::CDockWidget
bool closeDockWidgetInternal (bool ForceClose=false)
 
void emitTopLevelChanged (bool Floating)
 
void flagAsUnassigned ()
 
void saveState (QXmlStreamWriter &Stream) const
 
void setClosedState (bool Closed)
 
void setDockArea (CDockAreaWidget *DockArea)
 
void setDockManager (CDockManager *DockManager)
 
void setToggleViewActionChecked (bool Checked)
 
void toggleViewInternal (bool Open)
 
- Static Protected Member Functions inherited from ads::CDockWidget
static void emitTopLevelEventForWidget (CDockWidget *TopLevelDockWidget, bool Floating)
 

Detailed Description

Definition at line 16 of file plot_docker.h.

Constructor & Destructor Documentation

◆ DockWidget()

DockWidget::DockWidget ( PlotDataMapRef datamap,
QWidget *  parent = nullptr 
)

Definition at line 281 of file plot_docker.cpp.

◆ ~DockWidget()

DockWidget::~DockWidget ( )
override

Definition at line 343 of file plot_docker.cpp.

Member Function Documentation

◆ plotWidget()

PlotWidget * DockWidget::plotWidget ( )

Definition at line 386 of file plot_docker.cpp.

◆ splitHorizontal

DockWidget * DockWidget::splitHorizontal ( )
slot

Definition at line 347 of file plot_docker.cpp.

◆ splitVertical

DockWidget * DockWidget::splitVertical ( )
slot

Definition at line 367 of file plot_docker.cpp.

◆ toolBar()

DockToolbar * DockWidget::toolBar ( )

Definition at line 391 of file plot_docker.cpp.

◆ undoableChange

void DockWidget::undoableChange ( )
signal

Member Data Documentation

◆ _datamap

PlotDataMapRef& DockWidget::_datamap
private

Definition at line 39 of file plot_docker.h.

◆ _plot_widget

PlotWidget* DockWidget::_plot_widget = nullptr
private

Definition at line 35 of file plot_docker.h.

◆ _toolbar

DockToolbar* DockWidget::_toolbar
private

Definition at line 37 of file plot_docker.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50