labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

CartesianPlotDock Class Reference

Provides a widget for editing the properties of the cartesian plot currently selected in the project explorer. More...

#include <CartesianPlotDock.h>

Inheritance diagram for CartesianPlotDock:
[legend]
Collaboration diagram for CartesianPlotDock:
[legend]

Signals

void info (const QString &)
 

Public Member Functions

 CartesianPlotDock (QWidget *)
 
void setPlots (QList< CartesianPlot * >)
 
void activateTitleTab ()
 
void updateLocale () override
 
void updateUnits () override
 
- Public Member Functions inherited from BaseDock
 BaseDock (QWidget *parent)
 
 ~BaseDock ()
 

Private Slots

void init ()
 
void retranslateUi ()
 
void visibilityChanged (bool)
 
void geometryChanged ()
 
void layoutChanged (Worksheet::Layout)
 
void rangeTypeChanged ()
 
void rangeFirstChanged (const QString &)
 
void rangeLastChanged (const QString &)
 
void autoScaleXChanged (int)
 
void xMinChanged (const QString &)
 
void xMaxChanged (const QString &)
 
void xMinDateTimeChanged (const QDateTime &)
 
void xMaxDateTimeChanged (const QDateTime &)
 
void xRangeFormatChanged (int)
 
void xScaleChanged (int)
 
void autoScaleYChanged (int)
 
void yMinChanged (const QString &)
 
void yMaxChanged (const QString &)
 
void yMinDateTimeChanged (const QDateTime &)
 
void yMaxDateTimeChanged (const QDateTime &)
 
void yRangeFormatChanged (int)
 
void yScaleChanged (int)
 
void toggleXBreak (bool)
 
void addXBreak ()
 
void removeXBreak ()
 
void currentXBreakChanged (int)
 
void xBreakStartChanged ()
 
void xBreakEndChanged ()
 
void xBreakPositionChanged (int)
 
void xBreakStyleChanged (int)
 
void toggleYBreak (bool)
 
void addYBreak ()
 
void removeYBreak ()
 
void currentYBreakChanged (int)
 
void yBreakStartChanged ()
 
void yBreakEndChanged ()
 
void yBreakPositionChanged (int)
 
void yBreakStyleChanged (int)
 
void backgroundTypeChanged (int)
 
void backgroundColorStyleChanged (int)
 
void backgroundImageStyleChanged (int)
 
void backgroundBrushStyleChanged (int)
 
void backgroundFirstColorChanged (const QColor &)
 
void backgroundSecondColorChanged (const QColor &)
 
void selectFile ()
 
void fileNameChanged ()
 
void backgroundOpacityChanged (int)
 
void borderStyleChanged (int)
 
void borderColorChanged (const QColor &)
 
void borderWidthChanged (double)
 
void borderCornerRadiusChanged (double)
 
void borderOpacityChanged (int)
 
void symmetricPaddingChanged (bool)
 
void horizontalPaddingChanged (double)
 
void rightPaddingChanged (double)
 
void verticalPaddingChanged (double)
 
void bottomPaddingChanged (double)
 
void cursorLineWidthChanged (int)
 
void cursorLineColorChanged (const QColor &)
 
void cursorLineStyleChanged (int)
 
void plotDescriptionChanged (const AbstractAspect *)
 
void plotRectChanged (QRectF &)
 
void plotRangeTypeChanged (CartesianPlot::RangeType)
 
void plotRangeFirstValuesChanged (int)
 
void plotRangeLastValuesChanged (int)
 
void plotXAutoScaleChanged (bool)
 
void plotXMinChanged (double)
 
void plotXMaxChanged (double)
 
void plotXRangeFormatChanged (CartesianPlot::RangeFormat)
 
void plotXScaleChanged (CartesianPlot::Scale)
 
void plotYAutoScaleChanged (bool)
 
void plotYMinChanged (double)
 
void plotYMaxChanged (double)
 
void plotYRangeFormatChanged (CartesianPlot::RangeFormat)
 
void plotYScaleChanged (CartesianPlot::Scale)
 
void plotVisibleChanged (bool)
 
void plotXRangeBreakingEnabledChanged (bool)
 
void plotXRangeBreaksChanged (const CartesianPlot::RangeBreaks &)
 
void plotYRangeBreakingEnabledChanged (bool)
 
void plotYRangeBreaksChanged (const CartesianPlot::RangeBreaks &)
 
void plotBackgroundTypeChanged (PlotArea::BackgroundType)
 
void plotBackgroundColorStyleChanged (PlotArea::BackgroundColorStyle)
 
void plotBackgroundImageStyleChanged (PlotArea::BackgroundImageStyle)
 
void plotBackgroundBrushStyleChanged (Qt::BrushStyle)
 
void plotBackgroundFirstColorChanged (QColor &)
 
void plotBackgroundSecondColorChanged (QColor &)
 
void plotBackgroundFileNameChanged (QString &)
 
void plotBackgroundOpacityChanged (float)
 
void plotBorderPenChanged (QPen &)
 
void plotBorderCornerRadiusChanged (float)
 
void plotBorderOpacityChanged (float)
 
void plotHorizontalPaddingChanged (float)
 
void plotVerticalPaddingChanged (float)
 
void plotRightPaddingChanged (double)
 
void plotBottomPaddingChanged (double)
 
void plotSymmetricPaddingChanged (bool)
 
void plotCursorPenChanged (const QPen &)
 
void loadConfigFromTemplate (KConfig &)
 
void saveConfigAsTemplate (KConfig &)
 
void loadTheme (const QString &)
 
void saveTheme (KConfig &config) const
 
void load ()
 

Private Member Functions

void loadConfig (KConfig &)
 

Private Attributes

Ui::CartesianPlotDock ui
 
QList< CartesianPlot * > m_plotList
 
CartesianPlotm_plot {nullptr}
 
LabelWidgetlabelWidget {nullptr}
 
ThemeHandlerm_themeHandler
 

Additional Inherited Members

- Public Types inherited from BaseDock
enum class  Units { Metric , Imperial }
 
- Protected Slots inherited from BaseDock
void nameChanged ()
 
void commentChanged ()
 
- Protected Attributes inherited from BaseDock
bool m_initializing {false}
 
QLineEdit * m_leName {nullptr}
 
QLineEdit * m_leComment {nullptr}
 
AbstractAspectm_aspect {nullptr}
 
QList< AbstractAspect * > m_aspects
 
Units m_units {Units::Metric}
 
Worksheet::Unit m_worksheetUnit {Worksheet::Unit::Centimeter}
 

Detailed Description

Provides a widget for editing the properties of the cartesian plot currently selected in the project explorer.

File : CartesianPlotDock.cpp Project : LabPlot

Description : widget for cartesian plot properties

Copyright : (C) 2011-2020 by Alexander Semke (alexa.nosp@m.nder.nosp@m..semk.nosp@m.e@we.nosp@m.b.de) Copyright : (C) 2012-2013 by Stefan Gerlach (stefa.nosp@m.n.ge.nosp@m.rlach.nosp@m.@uni.nosp@m.-kons.nosp@m.tanz.nosp@m..de)

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 45 of file CartesianPlotDock.h.

Constructor & Destructor Documentation

◆ CartesianPlotDock()

CartesianPlotDock::CartesianPlotDock ( QWidget *  parent)
explicit

Definition at line 57 of file CartesianPlotDock.cpp.

References addXBreak(), addYBreak(), autoScaleXChanged(), autoScaleYChanged(), backgroundBrushStyleChanged(), backgroundColorStyleChanged(), backgroundFirstColorChanged(), backgroundImageStyleChanged(), backgroundOpacityChanged(), backgroundSecondColorChanged(), backgroundTypeChanged(), borderColorChanged(), borderCornerRadiusChanged(), borderOpacityChanged(), borderStyleChanged(), borderWidthChanged(), bottomPaddingChanged(), TemplateHandler::CartesianPlot, BaseDock::commentChanged(), currentXBreakChanged(), currentYBreakChanged(), cursorLineColorChanged(), cursorLineStyleChanged(), cursorLineWidthChanged(), fileNameChanged(), geometryChanged(), horizontalPaddingChanged(), i18n, info(), TemplateHandler::info(), ThemeHandler::info(), init(), labelWidget, loadConfigFromTemplate(), TemplateHandler::loadConfigRequested(), loadTheme(), ThemeHandler::loadThemeRequested(), BaseDock::m_leComment, BaseDock::m_leName, m_themeHandler, BaseDock::nameChanged(), rangeFirstChanged(), rangeLastChanged(), rangeTypeChanged(), removeXBreak(), removeYBreak(), rightPaddingChanged(), saveConfigAsTemplate(), TemplateHandler::saveConfigRequested(), selectFile(), symmetricPaddingChanged(), toggleXBreak(), toggleYBreak(), ui, updateLocale(), verticalPaddingChanged(), visibilityChanged(), xBreakEndChanged(), xBreakPositionChanged(), xBreakStartChanged(), xBreakStyleChanged(), xMaxChanged(), xMaxDateTimeChanged(), xMinChanged(), xMinDateTimeChanged(), xRangeFormatChanged(), xScaleChanged(), yBreakEndChanged(), yBreakPositionChanged(), yBreakStartChanged(), yBreakStyleChanged(), yMaxChanged(), yMaxDateTimeChanged(), yMinChanged(), yMinDateTimeChanged(), yRangeFormatChanged(), and yScaleChanged().

Member Function Documentation

◆ activateTitleTab()

void CartesianPlotDock::activateTitleTab ( )

Definition at line 376 of file CartesianPlotDock.cpp.

References ui.

Referenced by GuiObserver::hiddenAspectSelected().

◆ addXBreak

void CartesianPlotDock::addXBreak ( )
privateslot

◆ addYBreak

void CartesianPlotDock::addYBreak ( )
privateslot

◆ autoScaleXChanged

void CartesianPlotDock::autoScaleXChanged ( int  state)
privateslot

Definition at line 615 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and ui.

Referenced by CartesianPlotDock().

◆ autoScaleYChanged

void CartesianPlotDock::autoScaleYChanged ( int  state)
privateslot

Definition at line 709 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and ui.

Referenced by CartesianPlotDock().

◆ backgroundBrushStyleChanged

void CartesianPlotDock::backgroundBrushStyleChanged ( int  index)
privateslot

Definition at line 1149 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ backgroundColorStyleChanged

void CartesianPlotDock::backgroundColorStyleChanged ( int  index)
privateslot

Definition at line 1118 of file CartesianPlotDock.cpp.

References i18n, BaseDock::m_initializing, m_plotList, PlotArea::SingleColor, and ui.

Referenced by CartesianPlotDock().

◆ backgroundFirstColorChanged

void CartesianPlotDock::backgroundFirstColorChanged ( const QColor &  c)
privateslot

Definition at line 1158 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ backgroundImageStyleChanged

void CartesianPlotDock::backgroundImageStyleChanged ( int  index)
privateslot

Definition at line 1140 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ backgroundOpacityChanged

void CartesianPlotDock::backgroundOpacityChanged ( int  value)
privateslot

Definition at line 1218 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ backgroundSecondColorChanged

void CartesianPlotDock::backgroundSecondColorChanged ( const QColor &  c)
privateslot

Definition at line 1166 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ backgroundTypeChanged

void CartesianPlotDock::backgroundTypeChanged ( int  index)
privateslot

◆ borderColorChanged

void CartesianPlotDock::borderColorChanged ( const QColor &  color)
privateslot

◆ borderCornerRadiusChanged

void CartesianPlotDock::borderCornerRadiusChanged ( double  value)
privateslot

◆ borderOpacityChanged

void CartesianPlotDock::borderOpacityChanged ( int  value)
privateslot

Definition at line 1277 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ borderStyleChanged

void CartesianPlotDock::borderStyleChanged ( int  index)
privateslot

Definition at line 1228 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ borderWidthChanged

void CartesianPlotDock::borderWidthChanged ( double  value)
privateslot

◆ bottomPaddingChanged

void CartesianPlotDock::bottomPaddingChanged ( double  value)
privateslot

◆ currentXBreakChanged

void CartesianPlotDock::currentXBreakChanged ( int  index)
privateslot

Definition at line 855 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plot, SET_NUMBER_LOCALE, and ui.

Referenced by CartesianPlotDock().

◆ currentYBreakChanged

void CartesianPlotDock::currentYBreakChanged ( int  index)
privateslot

Definition at line 977 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plot, SET_NUMBER_LOCALE, and ui.

Referenced by CartesianPlotDock().

◆ cursorLineColorChanged

void CartesianPlotDock::cursorLineColorChanged ( const QColor &  color)
privateslot

◆ cursorLineStyleChanged

void CartesianPlotDock::cursorLineStyleChanged ( int  index)
privateslot

Definition at line 1382 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ cursorLineWidthChanged

void CartesianPlotDock::cursorLineWidthChanged ( int  width)
privateslot

◆ fileNameChanged

void CartesianPlotDock::fileNameChanged ( )
privateslot

Definition at line 1206 of file CartesianPlotDock.cpp.

References GuiTools::highlight(), BaseDock::m_initializing, m_plotList, and ui.

Referenced by CartesianPlotDock().

◆ geometryChanged

void CartesianPlotDock::geometryChanged ( )
privateslot

◆ horizontalPaddingChanged

void CartesianPlotDock::horizontalPaddingChanged ( double  value)
privateslot

◆ info

void CartesianPlotDock::info ( const QString &  )
signal

Referenced by CartesianPlotDock().

◆ init

void CartesianPlotDock::init ( )
privateslot

Definition at line 224 of file CartesianPlotDock.cpp.

References black, retranslateUi(), ui, and GuiTools::updatePenStyles().

Referenced by CartesianPlotDock().

◆ layoutChanged

void CartesianPlotDock::layoutChanged ( Worksheet::Layout  layout)
privateslot

Called when the layout in the worksheet gets changed. Enables/disables the geometry widgets if the layout was deactivated/activated. Shows the new geometry values of the first plot if the layout was activated.

Definition at line 566 of file CartesianPlotDock.cpp.

References Worksheet::NoLayout, and ui.

Referenced by setPlots().

◆ load

◆ loadConfig()

◆ loadConfigFromTemplate

void CartesianPlotDock::loadConfigFromTemplate ( KConfig &  config)
privateslot

◆ loadTheme

void CartesianPlotDock::loadTheme ( const QString &  theme)
privateslot

Definition at line 1877 of file CartesianPlotDock.cpp.

References m_plotList.

Referenced by CartesianPlotDock().

◆ plotBackgroundBrushStyleChanged

void CartesianPlotDock::plotBackgroundBrushStyleChanged ( Qt::BrushStyle  style)
privateslot

Definition at line 1569 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotBackgroundColorStyleChanged

void CartesianPlotDock::plotBackgroundColorStyleChanged ( PlotArea::BackgroundColorStyle  style)
privateslot

Definition at line 1557 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotBackgroundFileNameChanged

void CartesianPlotDock::plotBackgroundFileNameChanged ( QString &  filename)
privateslot

Definition at line 1587 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotBackgroundFirstColorChanged

void CartesianPlotDock::plotBackgroundFirstColorChanged ( QColor &  color)
privateslot

Definition at line 1575 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotBackgroundImageStyleChanged

void CartesianPlotDock::plotBackgroundImageStyleChanged ( PlotArea::BackgroundImageStyle  style)
privateslot

Definition at line 1563 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotBackgroundOpacityChanged

void CartesianPlotDock::plotBackgroundOpacityChanged ( float  opacity)
privateslot

Definition at line 1593 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotBackgroundSecondColorChanged

void CartesianPlotDock::plotBackgroundSecondColorChanged ( QColor &  color)
privateslot

Definition at line 1581 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotBackgroundTypeChanged

void CartesianPlotDock::plotBackgroundTypeChanged ( PlotArea::BackgroundType  type)
privateslot

Definition at line 1551 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, asan_symbolize::type, and ui.

Referenced by setPlots().

◆ plotBorderCornerRadiusChanged

void CartesianPlotDock::plotBorderCornerRadiusChanged ( float  value)
privateslot

◆ plotBorderOpacityChanged

void CartesianPlotDock::plotBorderOpacityChanged ( float  value)
privateslot

Definition at line 1616 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotBorderPenChanged

void CartesianPlotDock::plotBorderPenChanged ( QPen &  pen)
privateslot

◆ plotBottomPaddingChanged

void CartesianPlotDock::plotBottomPaddingChanged ( double  value)
privateslot

◆ plotCursorPenChanged

void CartesianPlotDock::plotCursorPenChanged ( const QPen &  pen)
privateslot

◆ plotDescriptionChanged

void CartesianPlotDock::plotDescriptionChanged ( const AbstractAspect aspect)
privateslot

◆ plotHorizontalPaddingChanged

void CartesianPlotDock::plotHorizontalPaddingChanged ( float  value)
privateslot

◆ plotRangeFirstValuesChanged

void CartesianPlotDock::plotRangeFirstValuesChanged ( int  value)
privateslot

Definition at line 1437 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, SET_NUMBER_LOCALE, and ui.

Referenced by setPlots().

◆ plotRangeLastValuesChanged

void CartesianPlotDock::plotRangeLastValuesChanged ( int  value)
privateslot

Definition at line 1444 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, SET_NUMBER_LOCALE, and ui.

Referenced by setPlots().

◆ plotRangeTypeChanged

void CartesianPlotDock::plotRangeTypeChanged ( CartesianPlot::RangeType  type)
privateslot

◆ plotRectChanged

void CartesianPlotDock::plotRectChanged ( QRectF &  rect)
privateslot

◆ plotRightPaddingChanged

void CartesianPlotDock::plotRightPaddingChanged ( double  value)
privateslot

◆ plotSymmetricPaddingChanged

void CartesianPlotDock::plotSymmetricPaddingChanged ( bool  symmetric)
privateslot

Definition at line 1647 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotVerticalPaddingChanged

void CartesianPlotDock::plotVerticalPaddingChanged ( float  value)
privateslot

◆ plotVisibleChanged

void CartesianPlotDock::plotVisibleChanged ( bool  on)
privateslot

Definition at line 1523 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotXAutoScaleChanged

void CartesianPlotDock::plotXAutoScaleChanged ( bool  value)
privateslot

Definition at line 1451 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotXMaxChanged

void CartesianPlotDock::plotXMaxChanged ( double  value)
privateslot

Definition at line 1466 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, SET_NUMBER_LOCALE, and ui.

Referenced by setPlots().

◆ plotXMinChanged

void CartesianPlotDock::plotXMinChanged ( double  value)
privateslot

Definition at line 1457 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, SET_NUMBER_LOCALE, and ui.

Referenced by setPlots().

◆ plotXRangeBreakingEnabledChanged

void CartesianPlotDock::plotXRangeBreakingEnabledChanged ( bool  on)
privateslot

Definition at line 1530 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotXRangeBreaksChanged

void CartesianPlotDock::plotXRangeBreaksChanged ( const CartesianPlot::RangeBreaks breaks)
privateslot

Definition at line 1536 of file CartesianPlotDock.cpp.

Referenced by setPlots().

◆ plotXRangeFormatChanged

void CartesianPlotDock::plotXRangeFormatChanged ( CartesianPlot::RangeFormat  format)
privateslot

Definition at line 1481 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotXScaleChanged

void CartesianPlotDock::plotXScaleChanged ( CartesianPlot::Scale  scale)
privateslot

Definition at line 1475 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotYAutoScaleChanged

void CartesianPlotDock::plotYAutoScaleChanged ( bool  value)
privateslot

Definition at line 1487 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotYMaxChanged

void CartesianPlotDock::plotYMaxChanged ( double  value)
privateslot

Definition at line 1502 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, SET_NUMBER_LOCALE, and ui.

Referenced by setPlots().

◆ plotYMinChanged

void CartesianPlotDock::plotYMinChanged ( double  value)
privateslot

Definition at line 1493 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, SET_NUMBER_LOCALE, and ui.

Referenced by setPlots().

◆ plotYRangeBreakingEnabledChanged

void CartesianPlotDock::plotYRangeBreakingEnabledChanged ( bool  on)
privateslot

Definition at line 1540 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotYRangeBreaksChanged

void CartesianPlotDock::plotYRangeBreaksChanged ( const CartesianPlot::RangeBreaks breaks)
privateslot

Definition at line 1546 of file CartesianPlotDock.cpp.

Referenced by setPlots().

◆ plotYRangeFormatChanged

void CartesianPlotDock::plotYRangeFormatChanged ( CartesianPlot::RangeFormat  format)
privateslot

Definition at line 1517 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ plotYScaleChanged

void CartesianPlotDock::plotYScaleChanged ( CartesianPlot::Scale  scale)
privateslot

Definition at line 1511 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and ui.

Referenced by setPlots().

◆ rangeFirstChanged

void CartesianPlotDock::rangeFirstChanged ( const QString &  text)
privateslot

Definition at line 597 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ rangeLastChanged

void CartesianPlotDock::rangeLastChanged ( const QString &  text)
privateslot

Definition at line 606 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ rangeTypeChanged

void CartesianPlotDock::rangeTypeChanged ( )
privateslot

◆ removeXBreak

void CartesianPlotDock::removeXBreak ( )
privateslot

◆ removeYBreak

void CartesianPlotDock::removeYBreak ( )
privateslot

◆ retranslateUi

void CartesianPlotDock::retranslateUi ( )
privateslot

◆ rightPaddingChanged

void CartesianPlotDock::rightPaddingChanged ( double  value)
privateslot

◆ saveConfigAsTemplate

void CartesianPlotDock::saveConfigAsTemplate ( KConfig &  config)
privateslot

◆ saveTheme

void CartesianPlotDock::saveTheme ( KConfig &  config) const
privateslot

Definition at line 1882 of file CartesianPlotDock.cpp.

References m_plotList.

◆ selectFile

void CartesianPlotDock::selectFile ( )
privateslot

opens a file dialog and lets the user select the image file.

Definition at line 1177 of file CartesianPlotDock.cpp.

References i18n, m_plotList, and ui.

Referenced by CartesianPlotDock().

◆ setPlots()

void CartesianPlotDock::setPlots ( QList< CartesianPlot * >  list)

Definition at line 277 of file CartesianPlotDock.cpp.

References AbstractAspect::aspectDescriptionChanged(), PlotArea::backgroundBrushStyleChanged(), PlotArea::backgroundColorStyleChanged(), PlotArea::backgroundFileNameChanged(), PlotArea::backgroundFirstColorChanged(), PlotArea::backgroundImageStyleChanged(), PlotArea::backgroundOpacityChanged(), PlotArea::backgroundSecondColorChanged(), PlotArea::backgroundTypeChanged(), PlotArea::borderOpacityChanged(), PlotArea::borderPenChanged(), WorksheetElement::bottomPaddingChanged(), AbstractAspect::comment(), WorksheetElement::horizontalPaddingChanged(), labelWidget, Worksheet::layoutChanged(), layoutChanged(), load(), BaseDock::m_aspect, BaseDock::m_initializing, m_plot, m_plotList, m_themeHandler, AbstractAspect::name(), Worksheet::NoLayout, AbstractAspect::parentAspect(), AbstractPlot::plotArea(), plotBackgroundBrushStyleChanged(), plotBackgroundColorStyleChanged(), plotBackgroundFileNameChanged(), plotBackgroundFirstColorChanged(), plotBackgroundImageStyleChanged(), plotBackgroundOpacityChanged(), plotBackgroundSecondColorChanged(), plotBackgroundTypeChanged(), plotBorderOpacityChanged(), plotBorderPenChanged(), plotBottomPaddingChanged(), plotDescriptionChanged(), plotHorizontalPaddingChanged(), plotRangeFirstValuesChanged(), plotRangeLastValuesChanged(), plotRangeTypeChanged(), plotRectChanged(), plotRightPaddingChanged(), plotSymmetricPaddingChanged(), plotVerticalPaddingChanged(), plotVisibleChanged(), plotXAutoScaleChanged(), plotXMaxChanged(), plotXMinChanged(), plotXRangeBreakingEnabledChanged(), plotXRangeBreaksChanged(), plotXRangeFormatChanged(), plotXScaleChanged(), plotYAutoScaleChanged(), plotYMaxChanged(), plotYMinChanged(), plotYRangeBreakingEnabledChanged(), plotYRangeBreaksChanged(), plotYRangeFormatChanged(), plotYScaleChanged(), CartesianPlot::rangeFirstValuesChanged(), CartesianPlot::rangeLastValuesChanged(), CartesianPlot::rangeTypeChanged(), CartesianPlot::rectChanged(), WorksheetElement::rightPaddingChanged(), ThemeHandler::setCurrentTheme(), LabelWidget::setLabels(), symmetricPaddingChanged(), WorksheetElement::symmetricPaddingChanged(), CartesianPlot::theme(), ui, WorksheetElement::verticalPaddingChanged(), WorksheetElementContainer::visibleChanged(), CartesianPlot::xAutoScaleChanged(), CartesianPlot::xMaxChanged(), CartesianPlot::xMinChanged(), CartesianPlot::xRangeBreakingEnabledChanged(), CartesianPlot::xRangeBreaksChanged(), CartesianPlot::xRangeFormatChanged(), CartesianPlot::xScaleChanged(), CartesianPlot::yAutoScaleChanged(), CartesianPlot::yMaxChanged(), CartesianPlot::yMinChanged(), CartesianPlot::yRangeBreakingEnabledChanged(), CartesianPlot::yRangeBreaksChanged(), CartesianPlot::yRangeFormatChanged(), and CartesianPlot::yScaleChanged().

Referenced by GuiObserver::selectedAspectsChanged().

◆ symmetricPaddingChanged

void CartesianPlotDock::symmetricPaddingChanged ( bool  checked)
privateslot

◆ toggleXBreak

void CartesianPlotDock::toggleXBreak ( bool  b)
privateslot

Definition at line 806 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and ui.

Referenced by CartesianPlotDock(), and load().

◆ toggleYBreak

void CartesianPlotDock::toggleYBreak ( bool  b)
privateslot

Definition at line 928 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and ui.

Referenced by CartesianPlotDock(), and load().

◆ updateLocale()

void CartesianPlotDock::updateLocale ( )
overridevirtual

Reimplemented from BaseDock.

Definition at line 383 of file CartesianPlotDock.cpp.

References labelWidget, BaseDock::m_initializing, m_plot, SET_NUMBER_LOCALE, ui, and LabelWidget::updateLocale().

Referenced by CartesianPlotDock().

◆ updateUnits()

void CartesianPlotDock::updateUnits ( )
overridevirtual

◆ verticalPaddingChanged

void CartesianPlotDock::verticalPaddingChanged ( double  value)
privateslot

◆ visibilityChanged

void CartesianPlotDock::visibilityChanged ( bool  state)
privateslot

Definition at line 540 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ xBreakEndChanged

void CartesianPlotDock::xBreakEndChanged ( )
privateslot

◆ xBreakPositionChanged

void CartesianPlotDock::xBreakPositionChanged ( int  value)
privateslot

◆ xBreakStartChanged

void CartesianPlotDock::xBreakStartChanged ( )
privateslot

◆ xBreakStyleChanged

void CartesianPlotDock::xBreakStyleChanged ( int  styleIndex)
privateslot

◆ xMaxChanged

void CartesianPlotDock::xMaxChanged ( const QString &  value)
privateslot

Definition at line 644 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and SET_NUMBER_LOCALE.

Referenced by CartesianPlotDock().

◆ xMaxDateTimeChanged

void CartesianPlotDock::xMaxDateTimeChanged ( const QDateTime &  dateTime)
privateslot

Definition at line 667 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ xMinChanged

void CartesianPlotDock::xMinChanged ( const QString &  value)
privateslot

Definition at line 630 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and SET_NUMBER_LOCALE.

Referenced by CartesianPlotDock().

◆ xMinDateTimeChanged

void CartesianPlotDock::xMinDateTimeChanged ( const QDateTime &  dateTime)
privateslot

Definition at line 658 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ xRangeFormatChanged

void CartesianPlotDock::xRangeFormatChanged ( int  index)
privateslot

Definition at line 688 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and ui.

Referenced by CartesianPlotDock().

◆ xScaleChanged

void CartesianPlotDock::xScaleChanged ( int  index)
privateslot

called on scale changes (linear, log) for the x-axis

Definition at line 679 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ yBreakEndChanged

void CartesianPlotDock::yBreakEndChanged ( )
privateslot

◆ yBreakPositionChanged

void CartesianPlotDock::yBreakPositionChanged ( int  value)
privateslot

◆ yBreakStartChanged

void CartesianPlotDock::yBreakStartChanged ( )
privateslot

◆ yBreakStyleChanged

void CartesianPlotDock::yBreakStyleChanged ( int  styleIndex)
privateslot

◆ yMaxChanged

void CartesianPlotDock::yMaxChanged ( const QString &  value)
privateslot

Definition at line 738 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and SET_NUMBER_LOCALE.

Referenced by CartesianPlotDock().

◆ yMaxDateTimeChanged

void CartesianPlotDock::yMaxDateTimeChanged ( const QDateTime &  dateTime)
privateslot

Definition at line 761 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ yMinChanged

void CartesianPlotDock::yMinChanged ( const QString &  value)
privateslot

Definition at line 724 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and SET_NUMBER_LOCALE.

Referenced by CartesianPlotDock().

◆ yMinDateTimeChanged

void CartesianPlotDock::yMinDateTimeChanged ( const QDateTime &  dateTime)
privateslot

Definition at line 752 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

◆ yRangeFormatChanged

void CartesianPlotDock::yRangeFormatChanged ( int  index)
privateslot

Definition at line 782 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, m_plotList, and ui.

Referenced by CartesianPlotDock().

◆ yScaleChanged

void CartesianPlotDock::yScaleChanged ( int  index)
privateslot

called on scale changes (linear, log) for the y-axis

Definition at line 773 of file CartesianPlotDock.cpp.

References BaseDock::m_initializing, and m_plotList.

Referenced by CartesianPlotDock().

Member Data Documentation

◆ labelWidget

LabelWidget* CartesianPlotDock::labelWidget {nullptr}
private

◆ m_plot

◆ m_plotList

◆ m_themeHandler

ThemeHandler* CartesianPlotDock::m_themeHandler
private

Definition at line 60 of file CartesianPlotDock.h.

Referenced by CartesianPlotDock(), and setPlots().

◆ ui

Ui::CartesianPlotDock CartesianPlotDock::ui
private

Definition at line 56 of file CartesianPlotDock.h.

Referenced by activateTitleTab(), addXBreak(), addYBreak(), autoScaleXChanged(), autoScaleYChanged(), backgroundColorStyleChanged(), backgroundTypeChanged(), borderColorChanged(), CartesianPlotDock(), currentXBreakChanged(), currentYBreakChanged(), cursorLineColorChanged(), fileNameChanged(), geometryChanged(), init(), layoutChanged(), load(), loadConfig(), plotBackgroundBrushStyleChanged(), plotBackgroundColorStyleChanged(), plotBackgroundFileNameChanged(), plotBackgroundFirstColorChanged(), plotBackgroundImageStyleChanged(), plotBackgroundOpacityChanged(), plotBackgroundSecondColorChanged(), plotBackgroundTypeChanged(), plotBorderCornerRadiusChanged(), plotBorderOpacityChanged(), plotBorderPenChanged(), plotBottomPaddingChanged(), plotCursorPenChanged(), plotDescriptionChanged(), plotHorizontalPaddingChanged(), plotRangeFirstValuesChanged(), plotRangeLastValuesChanged(), plotRangeTypeChanged(), plotRectChanged(), plotRightPaddingChanged(), plotSymmetricPaddingChanged(), plotVerticalPaddingChanged(), plotVisibleChanged(), plotXAutoScaleChanged(), plotXMaxChanged(), plotXMinChanged(), plotXRangeBreakingEnabledChanged(), plotXRangeFormatChanged(), plotXScaleChanged(), plotYAutoScaleChanged(), plotYMaxChanged(), plotYMinChanged(), plotYRangeBreakingEnabledChanged(), plotYRangeFormatChanged(), plotYScaleChanged(), rangeTypeChanged(), removeXBreak(), removeYBreak(), retranslateUi(), saveConfigAsTemplate(), selectFile(), setPlots(), symmetricPaddingChanged(), toggleXBreak(), toggleYBreak(), updateLocale(), updateUnits(), xBreakEndChanged(), xBreakPositionChanged(), xBreakStartChanged(), xBreakStyleChanged(), xRangeFormatChanged(), yBreakEndChanged(), yBreakPositionChanged(), yBreakStartChanged(), yBreakStyleChanged(), and yRangeFormatChanged().


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