Qucs-GUI
0.0.19
|
The DiagramDialog is used to setup and edit diagrams. More...
#include <diagramdialog.h>
Public Member Functions | |
DiagramDialog (Diagram *d, QWidget *parent=0, Graph *currentGraph=0) | |
~DiagramDialog () | |
bool | loadVarData (const QString &) |
void | copyDiagramGraphs () |
Makes a copy of all graphs in the diagram. | |
Protected Slots | |
void | reject () |
Private Slots | |
void | slotReadVars (int) |
void | slotTakeVar (QTableWidgetItem *item) |
void | slotSelectGraph (QListWidgetItem *) |
Is called if a graph text is clicked in the ListBox. | |
void | slotNewGraph () |
void | slotDeleteGraph () |
Is called when the 'delelte graph' button is pressed. | |
void | slotOK () |
Is called if "Ok" button is pressed. | |
void | slotApply () |
Is called if "Apply" button is pressed. | |
void | slotCancel () |
void | slotSetColor () |
void | slotSetGridColor () |
void | slotResetToTake (const QString &) |
Is set if the graph input line changes. | |
void | slotSetProp2 (const QString &) |
Is called if the user changes the graph thickness or the precision. | |
void | slotSetNumMode (int) |
Is called if the user changes the number mode. | |
void | slotSetGridBox (int) |
Is called when the "show grid" checkbox is changed. | |
void | slotSetGraphStyle (int) |
Is called if the user changes the graph style (combobox). | |
void | slotSetYAxis (int) |
Is called if the combobox changes that defines which y axis uses the graph. | |
void | slotManualX (int) |
void | slotManualY (int) |
void | slotManualZ (int) |
void | slotChangeTab (QWidget *) |
Is called if the current tab of the QTabWidget changes. | |
void | slotNewRotX (int) |
Is called when the slider for rotation angle is changed. | |
void | slotNewRotY (int) |
Is called when the slider for rotation angle is changed. | |
void | slotNewRotZ (int) |
Is called when the slider for rotation angle is changed. | |
void | slotEditRotX (const QString &) |
Is called when the number (text) for rotation angle is changed. | |
void | slotEditRotY (const QString &) |
Is called when the number (text) for rotation angle is changed. | |
void | slotEditRotZ (const QString &) |
Is called when the number (text) for rotation angle is changed. | |
Private Member Functions | |
void | SelectGraph (Graph *) |
Puts the text of the selected graph into the line edit. | |
Private Attributes | |
Diagram * | Diag |
QString | defaultDataSet |
QRegExp | Expr |
QDoubleValidator * | ValDouble |
QIntValidator * | ValInteger |
QRegExpValidator * | Validator |
QComboBox * | ChooseData |
QTableWidget * | ChooseVars |
QListWidget * | GraphList |
QVBoxLayout * | all |
QLineEdit * | GraphInput |
QLineEdit * | Property2 |
QLineEdit * | xLabel |
QLineEdit * | ylLabel |
QLineEdit * | yrLabel |
QCheckBox * | GridOn |
QCheckBox * | GridLogX |
QCheckBox * | GridLogY |
QCheckBox * | GridLogZ |
QCheckBox * | manualX |
QCheckBox * | manualY |
QCheckBox * | manualZ |
QCheckBox * | hideInvisible |
QLineEdit * | startX |
QLineEdit * | stepX |
QLineEdit * | stopX |
QLineEdit * | startY |
QLineEdit * | stepY |
QLineEdit * | stopY |
QLineEdit * | startZ |
QLineEdit * | stepZ |
QLineEdit * | stopZ |
QLineEdit * | rotationX |
QLineEdit * | rotationY |
QLineEdit * | rotationZ |
QLabel * | GridLabel1 |
QLabel * | GridLabel2 |
QLabel * | Label1 |
QLabel * | Label2 |
QLabel * | Label3 |
QLabel * | Label4 |
QComboBox * | PropertyBox |
QComboBox * | GridStyleBox |
QComboBox * | yAxisBox |
QPushButton * | ColorButt |
QPushButton * | GridColorButt |
QSlider * | SliderRotX |
QSlider * | SliderRotY |
QSlider * | SliderRotZ |
Cross3D * | DiagCross |
bool | changed |
bool | transfer |
bool | toTake |
Q3PtrList< Graph > | Graphs |
The DiagramDialog is used to setup and edit diagrams.
Definition at line 47 of file diagramdialog.h.
DiagramDialog::DiagramDialog | ( | Diagram * | d, |
QWidget * | parent = 0 , |
||
Graph * | currentGraph = 0 |
||
) |
Definition at line 724 of file diagramdialog.cpp.
void DiagramDialog::copyDiagramGraphs | ( | ) |
Makes a copy of all graphs in the diagram.
Definition at line 1307 of file diagramdialog.cpp.
bool DiagramDialog::loadVarData | ( | const QString & | ) |
void DiagramDialog::reject | ( | ) | [protected, slot] |
void DiagramDialog::SelectGraph | ( | Graph * | g | ) | [private] |
Puts the text of the selected graph into the line edit.
Definition at line 889 of file diagramdialog.cpp.
void DiagramDialog::slotApply | ( | ) | [private, slot] |
Is called if "Apply" button is pressed.
Definition at line 1021 of file diagramdialog.cpp.
void DiagramDialog::slotCancel | ( | ) | [private, slot] |
void DiagramDialog::slotChangeTab | ( | QWidget * | ) | [private, slot] |
Is called if the current tab of the QTabWidget changes.
Definition at line 1381 of file diagramdialog.cpp.
void DiagramDialog::slotDeleteGraph | ( | ) | [private, slot] |
Is called when the 'delelte graph' button is pressed.
Definition at line 929 of file diagramdialog.cpp.
void DiagramDialog::slotEditRotX | ( | const QString & | Text | ) | [private, slot] |
Is called when the number (text) for rotation angle is changed.
Definition at line 1432 of file diagramdialog.cpp.
void DiagramDialog::slotEditRotY | ( | const QString & | Text | ) | [private, slot] |
Is called when the number (text) for rotation angle is changed.
Definition at line 1442 of file diagramdialog.cpp.
void DiagramDialog::slotEditRotZ | ( | const QString & | Text | ) | [private, slot] |
Is called when the number (text) for rotation angle is changed.
Definition at line 1452 of file diagramdialog.cpp.
void DiagramDialog::slotManualX | ( | int | state | ) | [private, slot] |
void DiagramDialog::slotManualY | ( | int | state | ) | [private, slot] |
void DiagramDialog::slotManualZ | ( | int | state | ) | [private, slot] |
void DiagramDialog::slotNewGraph | ( | ) | [private, slot] |
Definition at line 981 of file diagramdialog.cpp.
void DiagramDialog::slotNewRotX | ( | int | Value | ) | [private, slot] |
Is called when the slider for rotation angle is changed.
Definition at line 1402 of file diagramdialog.cpp.
void DiagramDialog::slotNewRotY | ( | int | Value | ) | [private, slot] |
Is called when the slider for rotation angle is changed.
Definition at line 1412 of file diagramdialog.cpp.
void DiagramDialog::slotNewRotZ | ( | int | Value | ) | [private, slot] |
Is called when the slider for rotation angle is changed.
Definition at line 1422 of file diagramdialog.cpp.
void DiagramDialog::slotOK | ( | ) | [private, slot] |
Is called if "Ok" button is pressed.
Definition at line 1012 of file diagramdialog.cpp.
void DiagramDialog::slotReadVars | ( | int | ) | [private, slot] |
void DiagramDialog::slotResetToTake | ( | const QString & | s | ) | [private, slot] |
Is set if the graph input line changes.
Definition at line 1229 of file diagramdialog.cpp.
void DiagramDialog::slotSelectGraph | ( | QListWidgetItem * | item | ) | [private, slot] |
Is called if a graph text is clicked in the ListBox.
Definition at line 876 of file diagramdialog.cpp.
void DiagramDialog::slotSetColor | ( | ) | [private, slot] |
void DiagramDialog::slotSetGraphStyle | ( | int | style | ) | [private, slot] |
Is called if the user changes the graph style (combobox).
Definition at line 1292 of file diagramdialog.cpp.
void DiagramDialog::slotSetGridBox | ( | int | state | ) | [private, slot] |
Is called when the "show grid" checkbox is changed.
Definition at line 1273 of file diagramdialog.cpp.
void DiagramDialog::slotSetGridColor | ( | ) | [private, slot] |
void DiagramDialog::slotSetNumMode | ( | int | Mode | ) | [private, slot] |
Is called if the user changes the number mode.
Definition at line 1259 of file diagramdialog.cpp.
void DiagramDialog::slotSetProp2 | ( | const QString & | s | ) | [private, slot] |
Is called if the user changes the graph thickness or the precision.
Definition at line 1244 of file diagramdialog.cpp.
void DiagramDialog::slotSetYAxis | ( | int | axis | ) | [private, slot] |
Is called if the combobox changes that defines which y axis uses the graph.
Definition at line 1316 of file diagramdialog.cpp.
void DiagramDialog::slotTakeVar | ( | QTableWidgetItem * | item | ) | [private, slot] |
Definition at line 808 of file diagramdialog.cpp.
QVBoxLayout* DiagramDialog::all [private] |
Definition at line 105 of file diagramdialog.h.
bool DiagramDialog::changed [private] |
Definition at line 118 of file diagramdialog.h.
QComboBox* DiagramDialog::ChooseData [private] |
Definition at line 101 of file diagramdialog.h.
QTableWidget* DiagramDialog::ChooseVars [private] |
Definition at line 102 of file diagramdialog.h.
QPushButton* DiagramDialog::ColorButt [private] |
Definition at line 115 of file diagramdialog.h.
QString DiagramDialog::defaultDataSet [private] |
Definition at line 94 of file diagramdialog.h.
Diagram* DiagramDialog::Diag [private] |
Definition at line 93 of file diagramdialog.h.
Cross3D* DiagramDialog::DiagCross [private] |
Definition at line 117 of file diagramdialog.h.
QRegExp DiagramDialog::Expr [private] |
Definition at line 96 of file diagramdialog.h.
QLineEdit* DiagramDialog::GraphInput [private] |
Definition at line 106 of file diagramdialog.h.
QListWidget* DiagramDialog::GraphList [private] |
Definition at line 103 of file diagramdialog.h.
Q3PtrList<Graph> DiagramDialog::Graphs [private] |
Definition at line 119 of file diagramdialog.h.
QPushButton * DiagramDialog::GridColorButt [private] |
Definition at line 115 of file diagramdialog.h.
QLabel* DiagramDialog::GridLabel1 [private] |
Definition at line 113 of file diagramdialog.h.
QLabel * DiagramDialog::GridLabel2 [private] |
Definition at line 113 of file diagramdialog.h.
QCheckBox * DiagramDialog::GridLogX [private] |
Definition at line 107 of file diagramdialog.h.
QCheckBox * DiagramDialog::GridLogY [private] |
Definition at line 107 of file diagramdialog.h.
QCheckBox * DiagramDialog::GridLogZ [private] |
Definition at line 107 of file diagramdialog.h.
QCheckBox* DiagramDialog::GridOn [private] |
Definition at line 107 of file diagramdialog.h.
QComboBox * DiagramDialog::GridStyleBox [private] |
Definition at line 114 of file diagramdialog.h.
QCheckBox * DiagramDialog::hideInvisible [private] |
Definition at line 108 of file diagramdialog.h.
QLabel * DiagramDialog::Label1 [private] |
Definition at line 113 of file diagramdialog.h.
QLabel * DiagramDialog::Label2 [private] |
Definition at line 113 of file diagramdialog.h.
QLabel * DiagramDialog::Label3 [private] |
Definition at line 113 of file diagramdialog.h.
QLabel * DiagramDialog::Label4 [private] |
Definition at line 113 of file diagramdialog.h.
QCheckBox* DiagramDialog::manualX [private] |
Definition at line 108 of file diagramdialog.h.
QCheckBox * DiagramDialog::manualY [private] |
Definition at line 108 of file diagramdialog.h.
QCheckBox * DiagramDialog::manualZ [private] |
Definition at line 108 of file diagramdialog.h.
QLineEdit * DiagramDialog::Property2 [private] |
Definition at line 106 of file diagramdialog.h.
QComboBox* DiagramDialog::PropertyBox [private] |
Definition at line 114 of file diagramdialog.h.
QLineEdit* DiagramDialog::rotationX [private] |
Definition at line 112 of file diagramdialog.h.
QLineEdit * DiagramDialog::rotationY [private] |
Definition at line 112 of file diagramdialog.h.
QLineEdit * DiagramDialog::rotationZ [private] |
Definition at line 112 of file diagramdialog.h.
QSlider* DiagramDialog::SliderRotX [private] |
Definition at line 116 of file diagramdialog.h.
QSlider * DiagramDialog::SliderRotY [private] |
Definition at line 116 of file diagramdialog.h.
QSlider * DiagramDialog::SliderRotZ [private] |
Definition at line 116 of file diagramdialog.h.
QLineEdit* DiagramDialog::startX [private] |
Definition at line 109 of file diagramdialog.h.
QLineEdit* DiagramDialog::startY [private] |
Definition at line 110 of file diagramdialog.h.
QLineEdit* DiagramDialog::startZ [private] |
Definition at line 111 of file diagramdialog.h.
QLineEdit * DiagramDialog::stepX [private] |
Definition at line 109 of file diagramdialog.h.
QLineEdit * DiagramDialog::stepY [private] |
Definition at line 110 of file diagramdialog.h.
QLineEdit * DiagramDialog::stepZ [private] |
Definition at line 111 of file diagramdialog.h.
QLineEdit * DiagramDialog::stopX [private] |
Definition at line 109 of file diagramdialog.h.
QLineEdit * DiagramDialog::stopY [private] |
Definition at line 110 of file diagramdialog.h.
QLineEdit * DiagramDialog::stopZ [private] |
Definition at line 111 of file diagramdialog.h.
bool DiagramDialog::toTake [private] |
Definition at line 118 of file diagramdialog.h.
bool DiagramDialog::transfer [private] |
Definition at line 118 of file diagramdialog.h.
QDoubleValidator* DiagramDialog::ValDouble [private] |
Definition at line 97 of file diagramdialog.h.
QRegExpValidator* DiagramDialog::Validator [private] |
Definition at line 99 of file diagramdialog.h.
QIntValidator* DiagramDialog::ValInteger [private] |
Definition at line 98 of file diagramdialog.h.
QLineEdit * DiagramDialog::xLabel [private] |
Definition at line 106 of file diagramdialog.h.
QComboBox * DiagramDialog::yAxisBox [private] |
Definition at line 114 of file diagramdialog.h.
QLineEdit * DiagramDialog::ylLabel [private] |
Definition at line 106 of file diagramdialog.h.
QLineEdit * DiagramDialog::yrLabel [private] |
Definition at line 106 of file diagramdialog.h.