Classes | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
TabbedPlotWidget Class Reference

#include <tabbedplotwidget.h>

Inheritance diagram for TabbedPlotWidget:
Inheritance graph
[legend]

Classes

struct  MainWindowArea
 

Public Slots

void on_stylesheetChanged (QString style_dir)
 
void setStreamingMode (bool streaming_mode)
 

Signals

void created ()
 
void sendTabToNewWindow (PlotDocker *)
 
void tabAdded (PlotDocker *)
 
void undoableChange ()
 

Public Member Functions

PlotDockeraddTab (QString name)
 
PlotDockercurrentTab ()
 
QString name () const
 
void setControlsVisible (bool visible)
 
 TabbedPlotWidget (QString name, QMainWindow *main_window, PlotDataMapRef &mapped_data, QMainWindow *parent)
 
QTabWidget * tabWidget ()
 
const QTabWidget * tabWidget () const
 
bool xmlLoadState (QDomElement &tabbed_area)
 
QDomElement xmlSaveState (QDomDocument &doc) const
 
 ~TabbedPlotWidget () override
 

Static Public Member Functions

static TabbedPlotWidgetinstance (const QString &key)
 
static const std::map< QString, TabbedPlotWidget * > & instances ()
 

Protected Member Functions

virtual bool eventFilter (QObject *obj, QEvent *event) override
 

Static Protected Attributes

static std::map< QString, TabbedPlotWidget * > _instances
 

Private Slots

void on_addTabButton_pressed ()
 
void on_buttonLinkHorizontalScale_toggled (bool checked)
 
void on_moveTabIntoNewWindow ()
 
void on_renameCurrentTab ()
 
void on_requestTabMovement (const QString &destination_name)
 
void on_tabWidget_currentChanged (int index)
 
void on_tabWidget_tabCloseRequested (int index)
 
void paintEvent (QPaintEvent *event) override
 

Private Member Functions

virtual void closeEvent (QCloseEvent *event) override
 

Private Attributes

QPushButton * _buttonAddTab
 
QPushButton * _buttonHorizontalLink
 
QPushButton * _buttonLegend
 
bool _horizontal_link
 
QMainWindow * _main_window
 
PlotDataMapRef_mapped_data
 
const QString _name
 
QString _parent_type
 
QTabWidget * _tabWidget
 

Detailed Description

Definition at line 16 of file tabbedplotwidget.h.

Constructor & Destructor Documentation

◆ TabbedPlotWidget()

TabbedPlotWidget::TabbedPlotWidget ( QString  name,
QMainWindow *  main_window,
PlotDataMapRef mapped_data,
QMainWindow *  parent 
)
explicit

Definition at line 28 of file tabbedplotwidget.cpp.

◆ ~TabbedPlotWidget()

TabbedPlotWidget::~TabbedPlotWidget ( )
override

Definition at line 241 of file tabbedplotwidget.cpp.

Member Function Documentation

◆ addTab()

PlotDocker * TabbedPlotWidget::addTab ( QString  name)

Definition at line 123 of file tabbedplotwidget.cpp.

◆ closeEvent()

void TabbedPlotWidget::closeEvent ( QCloseEvent *  event)
overrideprivatevirtual

Definition at line 416 of file tabbedplotwidget.cpp.

◆ created

void TabbedPlotWidget::created ( )
signal

◆ currentTab()

PlotDocker * TabbedPlotWidget::currentTab ( )

Definition at line 108 of file tabbedplotwidget.cpp.

◆ eventFilter()

bool TabbedPlotWidget::eventFilter ( QObject *  obj,
QEvent *  event 
)
overrideprotectedvirtual

Definition at line 354 of file tabbedplotwidget.cpp.

◆ instance()

TabbedPlotWidget * TabbedPlotWidget::instance ( const QString &  key)
static

Definition at line 426 of file tabbedplotwidget.cpp.

◆ instances()

const std::map< QString, TabbedPlotWidget * > & TabbedPlotWidget::instances ( )
static

Definition at line 421 of file tabbedplotwidget.cpp.

◆ name()

QString TabbedPlotWidget::name ( ) const
inline

Definition at line 42 of file tabbedplotwidget.h.

◆ on_addTabButton_pressed

void TabbedPlotWidget::on_addTabButton_pressed ( )
privateslot

Definition at line 265 of file tabbedplotwidget.cpp.

◆ on_buttonLinkHorizontalScale_toggled

void TabbedPlotWidget::on_buttonLinkHorizontalScale_toggled ( bool  checked)
privateslot

Definition at line 325 of file tabbedplotwidget.cpp.

◆ on_moveTabIntoNewWindow

void TabbedPlotWidget::on_moveTabIntoNewWindow ( )
privateslot

Definition at line 349 of file tabbedplotwidget.cpp.

◆ on_renameCurrentTab

void TabbedPlotWidget::on_renameCurrentTab ( )
privateslot

Definition at line 245 of file tabbedplotwidget.cpp.

◆ on_requestTabMovement

void TabbedPlotWidget::on_requestTabMovement ( const QString &  destination_name)
privateslot

Definition at line 336 of file tabbedplotwidget.cpp.

◆ on_stylesheetChanged

void TabbedPlotWidget::on_stylesheetChanged ( QString  style_dir)
slot

Definition at line 260 of file tabbedplotwidget.cpp.

◆ on_tabWidget_currentChanged

void TabbedPlotWidget::on_tabWidget_currentChanged ( int  index)
privateslot

Definition at line 271 of file tabbedplotwidget.cpp.

◆ on_tabWidget_tabCloseRequested

void TabbedPlotWidget::on_tabWidget_tabCloseRequested ( int  index)
privateslot

Definition at line 300 of file tabbedplotwidget.cpp.

◆ paintEvent

void TabbedPlotWidget::paintEvent ( QPaintEvent *  event)
overrideprivateslot

Definition at line 100 of file tabbedplotwidget.cpp.

◆ sendTabToNewWindow

void TabbedPlotWidget::sendTabToNewWindow ( PlotDocker )
signal

◆ setControlsVisible()

void TabbedPlotWidget::setControlsVisible ( bool  visible)

Definition at line 439 of file tabbedplotwidget.cpp.

◆ setStreamingMode

void TabbedPlotWidget::setStreamingMode ( bool  streaming_mode)
slot

Definition at line 237 of file tabbedplotwidget.cpp.

◆ tabAdded

void TabbedPlotWidget::tabAdded ( PlotDocker )
signal

◆ tabWidget() [1/2]

const QTabWidget * TabbedPlotWidget::tabWidget ( )

Definition at line 113 of file tabbedplotwidget.cpp.

◆ tabWidget() [2/2]

const QTabWidget* TabbedPlotWidget::tabWidget ( ) const

◆ undoableChange

void TabbedPlotWidget::undoableChange ( )
signal

◆ xmlLoadState()

bool TabbedPlotWidget::xmlLoadState ( QDomElement &  tabbed_area)

Definition at line 200 of file tabbedplotwidget.cpp.

◆ xmlSaveState()

QDomElement TabbedPlotWidget::xmlSaveState ( QDomDocument &  doc) const

Definition at line 177 of file tabbedplotwidget.cpp.

Member Data Documentation

◆ _buttonAddTab

QPushButton* TabbedPlotWidget::_buttonAddTab
private

Definition at line 88 of file tabbedplotwidget.h.

◆ _buttonHorizontalLink

QPushButton* TabbedPlotWidget::_buttonHorizontalLink
private

Definition at line 86 of file tabbedplotwidget.h.

◆ _buttonLegend

QPushButton* TabbedPlotWidget::_buttonLegend
private

Definition at line 87 of file tabbedplotwidget.h.

◆ _horizontal_link

bool TabbedPlotWidget::_horizontal_link
private

Definition at line 100 of file tabbedplotwidget.h.

◆ _instances

std::map< QString, TabbedPlotWidget * > TabbedPlotWidget::_instances
staticprotected

Definition at line 111 of file tabbedplotwidget.h.

◆ _main_window

QMainWindow* TabbedPlotWidget::_main_window
private

Definition at line 96 of file tabbedplotwidget.h.

◆ _mapped_data

PlotDataMapRef& TabbedPlotWidget::_mapped_data
private

Definition at line 98 of file tabbedplotwidget.h.

◆ _name

const QString TabbedPlotWidget::_name
private

Definition at line 94 of file tabbedplotwidget.h.

◆ _parent_type

QString TabbedPlotWidget::_parent_type
private

Definition at line 102 of file tabbedplotwidget.h.

◆ _tabWidget

QTabWidget* TabbedPlotWidget::_tabWidget
private

Definition at line 84 of file tabbedplotwidget.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:30