
A window to allow customization of plots initialized. More...
#include "us_plot.h"


Public Member Functions | |
| US_PlotConfig (QwtPlot *, QWidget *=0, Qt::WindowFlags=0) | |
| Constructor. More... | |
Public Member Functions inherited from US_WidgetsDialog | |
| US_WidgetsDialog (QWidget *, Qt::WindowFlags) | |
| QLabel * | us_label (const QString &, int=0, int=QFont::Bold) |
| QLabel * | us_textlabel (const QString &, int=-1, int=QFont::Bold) |
| QLabel * | us_banner (const QString &, int=0, int=QFont::Bold) |
| QPushButton * | us_pushbutton (const QString &, bool=true, int=0) |
| QTextEdit * | us_textedit (void) |
| QLineEdit * | us_lineedit (const QString &=0, int=0, bool=false) |
| void | us_setReadOnly (QLineEdit *, bool=true) |
| void | us_setReadOnly (QTextEdit *, bool=true) |
| QListWidget * | us_listwidget (int=0) |
| QGridLayout * | us_checkbox (const QString &, QCheckBox *&, bool=false) |
| QGridLayout * | us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false) |
| QProgressBar * | us_progressBar (int, int, int=0) |
| QComboBox * | us_comboBox (void) |
| QLCDNumber * | us_lcd (int, int=0) |
| QwtCounter * | us_counter (int, double, double, double=0.0) |
| QwtPlot * | us_plot (const QString &, const QString &=QString(), const QString &=QString()) |
| QwtPlotGrid * | us_grid (QwtPlot *) |
| QwtPlotCurve * | us_curve (QwtPlot *, const QString &) |
| QwtPlotPicker * | us_picker (QwtPlot *) |
| QTabWidget * | us_tabwidget (int=0, int=QFont::Bold) |
Private Slots | |
| void | updateTitleText (const QString &) |
| Change the plot's title. More... | |
| void | updateTitleFont (void) |
| Open Font dialog for changing the title font. More... | |
| void | selectFrameColor (void) |
| Change the frame color. More... | |
| void | selectCanvasColor (void) |
| Change the plot canvas color. More... | |
| void | selectMargin (int) |
| Change the plot margin. More... | |
| void | selectLegendPos (int) |
| Change the plot legend position. More... | |
| void | updateLegendFont (void) |
| Change the legend font. More... | |
| void | updateAxis (int) |
| void | updateCurve (void) |
| Open US_PlotConfig dialog for changing the selected curves elements. More... | |
| void | updateGrid (void) |
Private Member Functions | |
| void | setLegendFontString (void) |
Private Attributes | |
| QwtPlot * | plot |
| A signal to tell the parent that the window is closed. More... | |
| QLineEdit * | le_titleText |
| QLineEdit * | le_titleFont |
| QLineEdit * | le_legendFont |
| QLabel * | lb_showFrameColor |
| QLabel * | lb_showCanvasColor |
| QComboBox * | cmbb_legendPos |
| QListWidget * | lw_curves |
| US_PlotAxisConfig * | axisWidget |
| US_PlotGridConfig * | gridWidget |
| US_PlotCurveConfig * | curveWidget |
Additional Inherited Members | |
Public Attributes inherited from US_WidgetsDialog | |
| US_Global | g |
| Connect to global memory and make the values accessible. More... | |
| QPalette | vlgray |
| Very light gray palette for read-only line edits. More... | |
| US_PlotConfig::US_PlotConfig | ( | QwtPlot * | current_plot, |
| QWidget * | p = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
| current_plot | - The plot to be configured |
| current_plot | QwtPlot widget |
| p | Parent widget |
| f | Window Flags |
Definition at line 332 of file us_plot.cpp.
|
privateslot |
Change the plot canvas color.
Definition at line 587 of file us_plot.cpp.
|
privateslot |
Change the frame color.
Definition at line 604 of file us_plot.cpp.
|
privateslot |
Change the plot legend position.
| index | - The index of the plot position combobox |
Definition at line 630 of file us_plot.cpp.
|
privateslot |
Change the plot margin.
| index | - The combobox index |
Definition at line 622 of file us_plot.cpp.
|
private |
Definition at line 654 of file us_plot.cpp.
|
privateslot |
Definition at line 695 of file us_plot.cpp.
|
privateslot |
Open US_PlotConfig dialog for changing the selected curves elements.
Definition at line 718 of file us_plot.cpp.
|
privateslot |
Definition at line 756 of file us_plot.cpp.
|
privateslot |
Change the legend font.
Definition at line 674 of file us_plot.cpp.
|
privateslot |
Open Font dialog for changing the title font.
Definition at line 568 of file us_plot.cpp.
|
privateslot |
|
private |
|
private |
|
private |
|
private |
1.8.3.1-20130324