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

#include <plot_docker.h>

Inheritance diagram for PlotDocker:
Inheritance graph
[legend]

Public Slots

void on_stylesheetChanged (QString theme)
 
- Public Slots inherited from ads::CDockManager
void openPerspective (const QString &PerspectiveName)
 
void setDockWidgetFocused (CDockWidget *DockWidget)
 

Signals

void plotWidgetAdded (PlotWidget *)
 
void undoableChange ()
 
- Signals inherited from ads::CDockManager
void dockAreaCreated (ads::CDockAreaWidget *DockArea)
 
void dockWidgetAboutToBeRemoved (ads::CDockWidget *DockWidget)
 
void dockWidgetAdded (ads::CDockWidget *DockWidget)
 
void dockWidgetRemoved (ads::CDockWidget *DockWidget)
 
void floatingWidgetCreated (ads::CFloatingDockContainer *FloatingWidget)
 
void focusedDockWidgetChanged (ads::CDockWidget *old, ads::CDockWidget *now)
 
void openingPerspective (const QString &PerspectiveName)
 
void perspectiveListChanged ()
 
void perspectiveOpened (const QString &PerspectiveName)
 
void perspectivesRemoved ()
 
void restoringState ()
 
void stateRestored ()
 
- Signals inherited from ads::CDockContainerWidget
void dockAreasAdded ()
 
void dockAreasRemoved ()
 
void dockAreaViewToggled (ads::CDockAreaWidget *DockArea, bool Open)
 

Public Member Functions

QString name () const
 
PlotWidgetplotAt (int index)
 
int plotCount () const
 
 PlotDocker (QString name, PlotDataMapRef &datamap, QWidget *parent=nullptr)
 
void replot ()
 
void setHorizontalLink (bool enabled)
 
void setName (QString name)
 
bool xmlLoadState (QDomElement &tab_element)
 
QDomElement xmlSaveState (QDomDocument &doc) const
 
void zoomOut ()
 
 ~PlotDocker ()
 
- Public Member Functions inherited from ads::CDockManager
CDockAreaWidgetaddDockWidget (DockWidgetArea area, CDockWidget *Dockwidget, CDockAreaWidget *DockAreaWidget=nullptr)
 
CFloatingDockContaineraddDockWidgetFloating (CDockWidget *Dockwidget)
 
CDockAreaWidgetaddDockWidgetTab (DockWidgetArea area, CDockWidget *Dockwidget)
 
CDockAreaWidgetaddDockWidgetTabToArea (CDockWidget *Dockwidget, CDockAreaWidget *DockAreaWidget)
 
void addPerspective (const QString &UniquePrespectiveName)
 
QAction * addToggleViewActionToMenu (QAction *ToggleViewAction, const QString &Group=QString(), const QIcon &GroupIcon=QIcon())
 
 CDockManager (QWidget *parent=nullptr)
 
CDockWidgetcentralWidget () const
 
const QList< CDockContainerWidget * > dockContainers () const
 
QMap< QString, CDockWidget * > dockWidgetsMap () const
 
CDockWidgetfindDockWidget (const QString &ObjectName) const
 
const QList< CFloatingDockContainer * > floatingWidgets () const
 
CDockWidgetfocusedDockWidget () const
 
bool isRestoringState () const
 
void loadPerspectives (QSettings &Settings)
 
QStringList perspectiveNames () const
 
void removeDockWidget (CDockWidget *Dockwidget)
 
void removePerspective (const QString &Name)
 
void removePerspectives (const QStringList &Names)
 
bool restoreState (const QByteArray &state, int version=0)
 
void savePerspectives (QSettings &Settings) const
 
QByteArray saveState (int version=0) const
 
CDockAreaWidgetsetCentralWidget (CDockWidget *widget)
 
void setSplitterSizes (CDockAreaWidget *ContainedArea, const QList< int > &sizes)
 
void setViewMenuInsertionOrder (eViewMenuInsertionOrder Order)
 
QList< int > splitterSizes (CDockAreaWidget *ContainedArea) const
 
QMenu * viewMenu () const
 
unsigned int zOrderIndex () const override
 
virtual ~CDockManager () override
 
- Public Member Functions inherited from ads::CDockContainerWidget
CDockAreaWidgetaddDockWidget (DockWidgetArea area, CDockWidget *Dockwidget, CDockAreaWidget *DockAreaWidget=nullptr)
 
 CDockContainerWidget (CDockManager *DockManager, QWidget *parent=0)
 
void closeOtherAreas (CDockAreaWidget *KeepOpenArea)
 
CDockAreaWidgetdockArea (int Index) const
 
CDockAreaWidgetdockAreaAt (const QPoint &GlobalPos) const
 
int dockAreaCount () const
 
void dumpLayout ()
 
CDockWidget::DockWidgetFeatures features () const
 
CFloatingDockContainerfloatingWidget () const
 
bool hasTopLevelDockWidget () const
 
bool isFloating () const
 
bool isInFrontOf (CDockContainerWidget *Other) const
 
QList< CDockAreaWidget * > openedDockAreas () const
 
void removeDockWidget (CDockWidget *Dockwidget)
 
QSplitter * rootSplitter () const
 
int visibleDockAreaCount () const
 
virtual ~CDockContainerWidget ()
 

Private Member Functions

void restoreSplitter (QDomElement elem, DockWidget *widget)
 

Private Attributes

PlotDataMapRef_datamap
 
QString _name
 

Additional Inherited Members

- Public Types inherited from ads::CDockManager
enum  eConfigFlag {
  ActiveTabHasCloseButton = 0x0001, DockAreaHasCloseButton = 0x0002, DockAreaCloseButtonClosesTab = 0x0004, OpaqueSplitterResize = 0x0008,
  XmlAutoFormattingEnabled = 0x0010, XmlCompressionEnabled = 0x0020, TabCloseButtonIsToolButton = 0x0040, AllTabsHaveCloseButton = 0x0080,
  RetainTabSizeWhenCloseButtonHidden = 0x0100, OpaqueUndocking = 0x0200, DragPreviewIsDynamic = 0x0400, DragPreviewShowsContentPixmap = 0x0800,
  DragPreviewHasWindowFrame = 0x1000, AlwaysShowTabs = 0x2000, DockAreaHasUndockButton = 0x4000, DockAreaHasTabsMenuButton = 0x8000,
  DockAreaHideDisabledButtons = 0x10000, DockAreaDynamicTabsMenuButtonVisibility = 0x20000, FloatingContainerHasWidgetTitle = 0x40000, FloatingContainerHasWidgetIcon = 0x80000,
  HideSingleCentralWidgetTitleBar = 0x100000, FocusHighlighting = 0x200000, EqualSplitOnInsertion = 0x400000, FloatingContainerForceNativeTitleBar = 0x800000,
  FloatingContainerForceQWidgetTitleBar = 0x1000000, DefaultDockAreaButtons, DefaultBaseConfig, DefaultOpaqueConfig,
  DefaultNonOpaqueConfig, NonOpaqueWithWindowFrame
}
 
enum  eViewMenuInsertionOrder { MenuSortedByInsertion, MenuAlphabeticallySorted }
 
using Super = CDockContainerWidget
 
- Static Public Member Functions inherited from ads::CDockManager
static ConfigFlags configFlags ()
 
static CIconProvidericonProvider ()
 
static void setConfigFlag (eConfigFlag Flag, bool On=true)
 
static void setConfigFlags (const ConfigFlags Flags)
 
template<class QWidgetPtr >
static void setWidgetFocus (QWidgetPtr widget)
 
static int startDragDistance ()
 
static bool testConfigFlag (eConfigFlag Flag)
 
- Protected Member Functions inherited from ads::CDockManager
CDockOverlay * containerOverlay () const
 
CDockOverlay * dockAreaOverlay () const
 
void notifyFloatingWidgetDrop (CFloatingDockContainer *FloatingWidget)
 
void notifyWidgetOrAreaRelocation (QWidget *RelocatedWidget)
 
void registerDockContainer (CDockContainerWidget *DockContainer)
 
void registerFloatingWidget (CFloatingDockContainer *FloatingWidget)
 
void removeDockContainer (CDockContainerWidget *DockContainer)
 
void removeFloatingWidget (CFloatingDockContainer *FloatingWidget)
 
virtual void showEvent (QShowEvent *event) override
 
- Protected Member Functions inherited from ads::CDockContainerWidget
void addDockArea (CDockAreaWidget *DockAreaWidget, DockWidgetArea area=CenterDockWidgetArea)
 
void createRootSplitter ()
 
QList< CDockWidget * > dockWidgets () const
 
void dropFloatingWidget (CFloatingDockContainer *FloatingWidget, const QPoint &TargetPos)
 
void dropWidget (QWidget *Widget, DockWidgetArea DropArea, CDockAreaWidget *TargetAreaWidget)
 
virtual bool event (QEvent *e) override
 
CDockAreaWidgetlastAddedDockAreaWidget (DockWidgetArea area) const
 
void removeDockArea (CDockAreaWidget *area)
 
bool restoreState (CDockingStateReader &Stream, bool Testing)
 
void saveState (QXmlStreamWriter &Stream) const
 
CDockAreaWidgettopLevelDockArea () const
 
CDockWidgettopLevelDockWidget () const
 
void updateSplitterHandles (QSplitter *splitter)
 

Detailed Description

Definition at line 45 of file plot_docker.h.

Constructor & Destructor Documentation

◆ PlotDocker()

PlotDocker::PlotDocker ( QString  name,
PlotDataMapRef datamap,
QWidget *  parent = nullptr 
)

Definition at line 31 of file plot_docker.cpp.

◆ ~PlotDocker()

PlotDocker::~PlotDocker ( )

Definition at line 57 of file plot_docker.cpp.

Member Function Documentation

◆ name()

QString PlotDocker::name ( ) const

Definition at line 61 of file plot_docker.cpp.

◆ on_stylesheetChanged

void PlotDocker::on_stylesheetChanged ( QString  theme)
slot

Definition at line 272 of file plot_docker.cpp.

◆ plotAt()

PlotWidget * PlotDocker::plotAt ( int  index)

Definition at line 244 of file plot_docker.cpp.

◆ plotCount()

int PlotDocker::plotCount ( ) const

Definition at line 239 of file plot_docker.cpp.

◆ plotWidgetAdded

void PlotDocker::plotWidgetAdded ( PlotWidget )
signal

◆ replot()

void PlotDocker::replot ( )

Definition at line 264 of file plot_docker.cpp.

◆ restoreSplitter()

void PlotDocker::restoreSplitter ( QDomElement  elem,
DockWidget widget 
)
private

Definition at line 140 of file plot_docker.cpp.

◆ setHorizontalLink()

void PlotDocker::setHorizontalLink ( bool  enabled)

Definition at line 251 of file plot_docker.cpp.

◆ setName()

void PlotDocker::setName ( QString  name)

Definition at line 66 of file plot_docker.cpp.

◆ undoableChange

void PlotDocker::undoableChange ( )
signal

◆ xmlLoadState()

bool PlotDocker::xmlLoadState ( QDomElement &  tab_element)

Definition at line 212 of file plot_docker.cpp.

◆ xmlSaveState()

QDomElement PlotDocker::xmlSaveState ( QDomDocument &  doc) const

Definition at line 124 of file plot_docker.cpp.

◆ zoomOut()

void PlotDocker::zoomOut ( )

Definition at line 256 of file plot_docker.cpp.

Member Data Documentation

◆ _datamap

PlotDataMapRef& PlotDocker::_datamap
private

Definition at line 81 of file plot_docker.h.

◆ _name

QString PlotDocker::_name
private

Definition at line 79 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