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 10 of file tabbedplotwidget.h.

Constructor & Destructor Documentation

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

Definition at line 22 of file tabbedplotwidget.cpp.

TabbedPlotWidget::~TabbedPlotWidget ( )
override

Definition at line 235 of file tabbedplotwidget.cpp.

Member Function Documentation

PlotDocker * TabbedPlotWidget::addTab ( QString  name)

Definition at line 117 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::closeEvent ( QCloseEvent *  event)
overrideprivatevirtual

Definition at line 410 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::created ( )
signal
PlotDocker * TabbedPlotWidget::currentTab ( )

Definition at line 102 of file tabbedplotwidget.cpp.

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

Definition at line 350 of file tabbedplotwidget.cpp.

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

Definition at line 420 of file tabbedplotwidget.cpp.

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

Definition at line 415 of file tabbedplotwidget.cpp.

QString TabbedPlotWidget::name ( ) const
inline

Definition at line 38 of file tabbedplotwidget.h.

void TabbedPlotWidget::on_addTabButton_pressed ( )
privateslot

Definition at line 261 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::on_buttonLinkHorizontalScale_toggled ( bool  checked)
privateslot

Definition at line 321 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::on_moveTabIntoNewWindow ( )
privateslot

Definition at line 345 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::on_renameCurrentTab ( )
privateslot

Definition at line 240 of file tabbedplotwidget.cpp.

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

Definition at line 332 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::on_stylesheetChanged ( QString  style_dir)
slot

Definition at line 255 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::on_tabWidget_currentChanged ( int  index)
privateslot

Definition at line 267 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::on_tabWidget_tabCloseRequested ( int  index)
privateslot

Definition at line 295 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::paintEvent ( QPaintEvent *  event)
overrideprivateslot

Definition at line 93 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::sendTabToNewWindow ( PlotDocker )
signal
void TabbedPlotWidget::setControlsVisible ( bool  visible)

Definition at line 433 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::setStreamingMode ( bool  streaming_mode)
slot

Definition at line 230 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::tabAdded ( PlotDocker )
signal
QTabWidget * TabbedPlotWidget::tabWidget ( )

Definition at line 107 of file tabbedplotwidget.cpp.

const QTabWidget * TabbedPlotWidget::tabWidget ( ) const

Definition at line 112 of file tabbedplotwidget.cpp.

void TabbedPlotWidget::undoableChange ( )
signal
bool TabbedPlotWidget::xmlLoadState ( QDomElement &  tabbed_area)

Definition at line 193 of file tabbedplotwidget.cpp.

QDomElement TabbedPlotWidget::xmlSaveState ( QDomDocument &  doc) const

Definition at line 170 of file tabbedplotwidget.cpp.

Member Data Documentation

QPushButton* TabbedPlotWidget::_buttonAddTab
private

Definition at line 85 of file tabbedplotwidget.h.

QPushButton* TabbedPlotWidget::_buttonHorizontalLink
private

Definition at line 83 of file tabbedplotwidget.h.

QPushButton* TabbedPlotWidget::_buttonLegend
private

Definition at line 84 of file tabbedplotwidget.h.

bool TabbedPlotWidget::_horizontal_link
private

Definition at line 97 of file tabbedplotwidget.h.

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

Definition at line 108 of file tabbedplotwidget.h.

QMainWindow* TabbedPlotWidget::_main_window
private

Definition at line 93 of file tabbedplotwidget.h.

PlotDataMapRef& TabbedPlotWidget::_mapped_data
private

Definition at line 95 of file tabbedplotwidget.h.

const QString TabbedPlotWidget::_name
private

Definition at line 91 of file tabbedplotwidget.h.

QString TabbedPlotWidget::_parent_type
private

Definition at line 99 of file tabbedplotwidget.h.

QTabWidget* TabbedPlotWidget::_tabWidget
private

Definition at line 81 of file tabbedplotwidget.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:50