#include <parameterpage.h>
Public Slots | |
| void | changeCaption () |
| void | addParameter () |
| void | removeParameter () |
| void | propertyModified (int row, int column) |
| void | resetModificationStatus () |
Signals | |
| void | nameChanged (const QString &extension) |
Public Member Functions | |
| ParameterPage (bool expertMode, QWidget *parent=0, const char *name=0) | |
| void | setProgramName (QString name) |
| QString | getProgramName () const |
| void | programNameChanged () |
| void | setParameterInformation (QMap< int, QValueList< QString > > ¶meters) |
| QMap< int, QValueList< QString > > | getParameterInformation () |
| bool | isDescriptionModified () const |
| bool | isValueModified () const |
Protected Member Functions | |
| bool | eventFilter (QObject *object, QEvent *event) |
| ParameterPage::ParameterPage | ( | bool | expertMode, | |
| QWidget * | parent = 0, |
|||
| const char * | name = 0 | |||
| ) |
Constructor.
| expertMode | true if the file is opened in expert mode, false otherwise. | |
| parent | the parent QWidget. | |
| name | name of the widget (can be used for introspection). |
| void ParameterPage::setProgramName | ( | QString | name | ) | [inline] |
Sets the name of the program.
| name | name of the program. |
| QString ParameterPage::getProgramName | ( | ) | const [inline] |
Gets the name of the program.
| void ParameterPage::programNameChanged | ( | ) | [inline] |
Updates an internal status to reflect the change in program name.
| void ParameterPage::setParameterInformation | ( | QMap< int, QValueList< QString > > & | parameters | ) |
Initializes the parameter table.
| parameters | map containing the list of parameters. Each entry contains the name of the parameter, its value and its status (optional, mandatory or dynamic). |
| QMap< int, QValueList< QString > > ParameterPage::getParameterInformation | ( | ) |
Returns the information for each parameter.
| bool ParameterPage::isDescriptionModified | ( | ) | const [inline] |
True if at least one of the description property has been modified, false otherwise.
| bool ParameterPage::isValueModified | ( | ) | const [inline] |
True if the value of at least one of parameters has been modified, false otherwise.
| void ParameterPage::changeCaption | ( | ) | [inline, slot] |
Handles the change of the program's name.
| void ParameterPage::addParameter | ( | ) | [slot] |
Adds a new line in the parameter table.
| void ParameterPage::removeParameter | ( | ) | [slot] |
Removes the selected lines from the parameter table.
| void ParameterPage::propertyModified | ( | int | row, | |
| int | column | |||
| ) | [slot] |
Will be called when any properties is modified.
| void ParameterPage::resetModificationStatus | ( | ) | [inline, slot] |
Resets the internal modification status to false.
| bool ParameterPage::eventFilter | ( | QObject * | object, | |
| QEvent * | event | |||
| ) | [protected] |
Event filter to validate the entries in the group table.
| object | target object for the event. | |
| event | event sent. |
1.5.1