ParameterPage Class Reference

#include <parameterpage.h>

List of all members.

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 > > &parameters)
QMap< int, QValueList< QString > > getParameterInformation ()
bool isDescriptionModified () const
bool isValueModified () const

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)


Detailed Description

Author:
Lynn Hazan


Constructor & Destructor Documentation

ParameterPage::ParameterPage ( bool  expertMode,
QWidget *  parent = 0,
const char *  name = 0 
)

Constructor.

Parameters:
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).


Member Function Documentation

void ParameterPage::setProgramName ( QString  name  )  [inline]

Sets the name of the program.

Parameters:
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:
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.

Returns:
map containing the list of parameters. Each entry contains the name of the parameter, its value and its status (optional, mandatory or dynamic).

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.

Parameters:
object target object for the event.
event event sent.


The documentation for this class was generated from the following files:
Generated on Sat Sep 15 16:04:45 2007 for ndmanager.kdevelop by  doxygen 1.5.1