Qucs-GUI
0.0.19
|
#include <componentdialog.h>
Public Member Functions | |
ComponentDialog (Component *, Schematic *) | |
~ComponentDialog () | |
Protected Slots | |
void | reject () |
Private Slots | |
void | slotButtOK () |
void | slotButtCancel () |
void | slotSelectProperty (QTableWidgetItem *item) |
void | slotApplyInput () |
void | slotApplyState (int State) |
void | slotBrowseFile () |
void | slotEditFile () |
void | slotApplyChange (const QString &Text) |
void | slotApplyProperty () |
Is called if the "RETURN" key is pressed in the "edit" Widget. | |
void | slotApplyPropName () |
void | slotButtAdd () |
Add description if missing. | |
void | slotButtRem () |
Is called if the remove button is pressed. | |
void | slotButtUp () |
ComponentDialog::slotButtUp Move a table item up. | |
void | slotButtDown () |
ComponentDialog::slotButtDown Move a table item down. | |
void | slotSimTypeChange (int) |
void | slotNumberChanged (const QString &) |
void | slotStepChanged (const QString &) |
void | slotParamEntered () |
void | slotSimEntered (int) |
void | slotValuesEntered () |
void | slotStartEntered () |
void | slotStopEntered () |
void | slotStepEntered () |
void | slotNumberEntered () |
void | slotHHeaderClicked (int headerIdx) |
Private Member Functions | |
void | updateCompPropsList (void) |
Private Attributes | |
QVBoxLayout * | all |
QValidator * | Validator |
QValidator * | ValRestrict |
QValidator * | Validator2 |
QRegExp | Expr |
QIntValidator * | ValInteger |
QTableWidget * | prop |
QLineEdit * | edit |
QLineEdit * | NameEdit |
QLineEdit * | CompNameEdit |
QComboBox * | ComboEdit |
QLabel * | Name |
QLabel * | Description |
QPushButton * | BrowseButt |
QPushButton * | EditButt |
QPushButton * | ButtAdd |
QPushButton * | ButtRem |
QPushButton * | ButtUp |
QPushButton * | ButtDown |
QCheckBox * | disp |
Component * | Comp |
Schematic * | Doc |
bool | changed |
int | tx_Dist |
int | ty_Dist |
bool | setAllVisible |
QLabel * | textType |
QLabel * | textSim |
QLabel * | textParam |
QLabel * | textValues |
QLabel * | textStart |
QLabel * | textStop |
QLabel * | textStep |
QLabel * | textNumber |
QLineEdit * | editParam |
QLineEdit * | editValues |
QLineEdit * | editStart |
QLineEdit * | editStop |
QLineEdit * | editStep |
QLineEdit * | editNumber |
QCheckBox * | checkSim |
QCheckBox * | checkParam |
QCheckBox * | checkValues |
QCheckBox * | checkStart |
QCheckBox * | checkStop |
QCheckBox * | checkNumber |
QCheckBox * | checkType |
QCheckBox * | showName |
QComboBox * | comboSim |
QComboBox * | comboType |
Definition at line 41 of file componentdialog.h.
ComponentDialog::ComponentDialog | ( | Component * | c, |
Schematic * | d | ||
) |
Insert all Comp properties into the dialog prop list
Definition at line 39 of file componentdialog.cpp.
Definition at line 476 of file componentdialog.cpp.
void ComponentDialog::reject | ( | ) | [protected, slot] |
void ComponentDialog::slotApplyChange | ( | const QString & | Text | ) | [private, slot] |
Definition at line 664 of file componentdialog.cpp.
void ComponentDialog::slotApplyInput | ( | ) | [private, slot] |
Walk the original Comp->Props and compare with the data in the dialog. The pointers to the combo, edits,... are set to 0. Only check if the widgets were created (pointers checks are 'true')
Walk the dialog list of 'prop'
Definition at line 802 of file componentdialog.cpp.
void ComponentDialog::slotApplyProperty | ( | ) | [private, slot] |
Is called if the "RETURN" key is pressed in the "edit" Widget.
The parameter is edited on the right pane. Return key commits the change, and steps to the next parameter in the list.
Definition at line 692 of file componentdialog.cpp.
void ComponentDialog::slotApplyPropName | ( | ) | [private, slot] |
void ComponentDialog::slotApplyState | ( | int | State | ) | [private, slot] |
void ComponentDialog::slotBrowseFile | ( | ) | [private, slot] |
Definition at line 1048 of file componentdialog.cpp.
void ComponentDialog::slotButtAdd | ( | ) | [private, slot] |
Add description if missing.
Is called if the add button is pressed. This is only possible for some properties. If desc is empy, ButtAdd is enabled, this slot handles if it is clicked. Used with: Equation, ?
Original behavior for an Equation block
Behavior: If Name already exists, set it to focus If new name, insert item after selected, set it to focus
Definition at line 1135 of file componentdialog.cpp.
void ComponentDialog::slotButtCancel | ( | ) | [private, slot] |
void ComponentDialog::slotButtDown | ( | ) | [private, slot] |
ComponentDialog::slotButtDown Move a table item down.
Enabled for Equation component.
Definition at line 1235 of file componentdialog.cpp.
void ComponentDialog::slotButtOK | ( | ) | [private, slot] |
Definition at line 779 of file componentdialog.cpp.
void ComponentDialog::slotButtRem | ( | ) | [private, slot] |
Is called if the remove button is pressed.
This is only possible for some properties. If desc is empy, ButtRem is enabled, this slot handles if it is clicked. Used with: Equations, ?
Definition at line 1185 of file componentdialog.cpp.
void ComponentDialog::slotButtUp | ( | ) | [private, slot] |
ComponentDialog::slotButtUp Move a table item up.
Enabled for Equation component.
Definition at line 1208 of file componentdialog.cpp.
void ComponentDialog::slotEditFile | ( | ) | [private, slot] |
Definition at line 1109 of file componentdialog.cpp.
void ComponentDialog::slotHHeaderClicked | ( | int | headerIdx | ) | [private, slot] |
void ComponentDialog::slotNumberChanged | ( | const QString & | ) | [private, slot] |
Definition at line 1319 of file componentdialog.cpp.
void ComponentDialog::slotNumberEntered | ( | ) | [private, slot] |
Definition at line 1437 of file componentdialog.cpp.
void ComponentDialog::slotParamEntered | ( | ) | [private, slot] |
void ComponentDialog::slotSelectProperty | ( | QTableWidgetItem * | item | ) | [private, slot] |
Definition at line 555 of file componentdialog.cpp.
void ComponentDialog::slotSimEntered | ( | int | ) | [private, slot] |
void ComponentDialog::slotSimTypeChange | ( | int | Type | ) | [private, slot] |
Definition at line 1259 of file componentdialog.cpp.
void ComponentDialog::slotStartEntered | ( | ) | [private, slot] |
void ComponentDialog::slotStepChanged | ( | const QString & | Step | ) | [private, slot] |
Definition at line 1356 of file componentdialog.cpp.
void ComponentDialog::slotStepEntered | ( | ) | [private, slot] |
void ComponentDialog::slotStopEntered | ( | ) | [private, slot] |
void ComponentDialog::slotValuesEntered | ( | ) | [private, slot] |
Definition at line 1409 of file componentdialog.cpp.
void ComponentDialog::updateCompPropsList | ( | void | ) | [private] |
Definition at line 486 of file componentdialog.cpp.
QVBoxLayout* ComponentDialog::all [private] |
Definition at line 82 of file componentdialog.h.
QPushButton* ComponentDialog::BrowseButt [private] |
Definition at line 90 of file componentdialog.h.
QPushButton * ComponentDialog::ButtAdd [private] |
Definition at line 90 of file componentdialog.h.
QPushButton * ComponentDialog::ButtDown [private] |
Definition at line 91 of file componentdialog.h.
QPushButton * ComponentDialog::ButtRem [private] |
Definition at line 90 of file componentdialog.h.
QPushButton* ComponentDialog::ButtUp [private] |
Definition at line 91 of file componentdialog.h.
bool ComponentDialog::changed [private] |
Definition at line 95 of file componentdialog.h.
QCheckBox * ComponentDialog::checkNumber [private] |
Definition at line 104 of file componentdialog.h.
QCheckBox * ComponentDialog::checkParam [private] |
Definition at line 104 of file componentdialog.h.
QCheckBox* ComponentDialog::checkSim [private] |
Definition at line 104 of file componentdialog.h.
QCheckBox * ComponentDialog::checkStart [private] |
Definition at line 104 of file componentdialog.h.
QCheckBox * ComponentDialog::checkStop [private] |
Definition at line 104 of file componentdialog.h.
QCheckBox * ComponentDialog::checkType [private] |
Definition at line 104 of file componentdialog.h.
QCheckBox * ComponentDialog::checkValues [private] |
Definition at line 104 of file componentdialog.h.
QComboBox* ComponentDialog::ComboEdit [private] |
Definition at line 88 of file componentdialog.h.
QComboBox* ComponentDialog::comboSim [private] |
Definition at line 106 of file componentdialog.h.
QComboBox * ComponentDialog::comboType [private] |
Definition at line 106 of file componentdialog.h.
Component* ComponentDialog::Comp [private] |
Definition at line 93 of file componentdialog.h.
QLineEdit * ComponentDialog::CompNameEdit [private] |
Definition at line 87 of file componentdialog.h.
QLabel * ComponentDialog::Description [private] |
Definition at line 89 of file componentdialog.h.
QCheckBox* ComponentDialog::disp [private] |
Definition at line 92 of file componentdialog.h.
Schematic* ComponentDialog::Doc [private] |
Definition at line 94 of file componentdialog.h.
QLineEdit* ComponentDialog::edit [private] |
Definition at line 87 of file componentdialog.h.
QPushButton * ComponentDialog::EditButt [private] |
Definition at line 90 of file componentdialog.h.
QLineEdit * ComponentDialog::editNumber [private] |
Definition at line 102 of file componentdialog.h.
QLineEdit* ComponentDialog::editParam [private] |
Definition at line 102 of file componentdialog.h.
QLineEdit * ComponentDialog::editStart [private] |
Definition at line 102 of file componentdialog.h.
QLineEdit * ComponentDialog::editStep [private] |
Definition at line 102 of file componentdialog.h.
QLineEdit * ComponentDialog::editStop [private] |
Definition at line 102 of file componentdialog.h.
QLineEdit * ComponentDialog::editValues [private] |
Definition at line 102 of file componentdialog.h.
QRegExp ComponentDialog::Expr [private] |
Definition at line 84 of file componentdialog.h.
QLabel* ComponentDialog::Name [private] |
Definition at line 89 of file componentdialog.h.
QLineEdit * ComponentDialog::NameEdit [private] |
Definition at line 87 of file componentdialog.h.
QTableWidget* ComponentDialog::prop [private] |
Definition at line 86 of file componentdialog.h.
bool ComponentDialog::setAllVisible [private] |
Definition at line 97 of file componentdialog.h.
QCheckBox * ComponentDialog::showName [private] |
Definition at line 104 of file componentdialog.h.
QLabel * ComponentDialog::textNumber [private] |
Definition at line 100 of file componentdialog.h.
QLabel * ComponentDialog::textParam [private] |
Definition at line 100 of file componentdialog.h.
QLabel* ComponentDialog::textSim [private] |
Definition at line 100 of file componentdialog.h.
QLabel * ComponentDialog::textStart [private] |
Definition at line 100 of file componentdialog.h.
QLabel * ComponentDialog::textStep [private] |
Definition at line 100 of file componentdialog.h.
QLabel * ComponentDialog::textStop [private] |
Definition at line 100 of file componentdialog.h.
QLabel* ComponentDialog::textType [private] |
Definition at line 99 of file componentdialog.h.
QLabel * ComponentDialog::textValues [private] |
Definition at line 100 of file componentdialog.h.
int ComponentDialog::tx_Dist [private] |
Definition at line 96 of file componentdialog.h.
int ComponentDialog::ty_Dist [private] |
Definition at line 96 of file componentdialog.h.
QValidator* ComponentDialog::Validator [private] |
Definition at line 83 of file componentdialog.h.
QValidator * ComponentDialog::Validator2 [private] |
Definition at line 83 of file componentdialog.h.
QIntValidator* ComponentDialog::ValInteger [private] |
Definition at line 85 of file componentdialog.h.
QValidator * ComponentDialog::ValRestrict [private] |
Definition at line 83 of file componentdialog.h.