#include <omgalgorithmmanager.h>
Inheritance diagram for OmgAlgorithmManager:
Definition at line 38 of file omgalgorithmmanager.h.
Public Slots | |
void | cellClicked (int theRow, int theColumn) |
void | selectAlgorithm (QString theProfileName) |
void | on_pbnClone_clicked () |
void | on_pbnDelete_clicked () |
void | on_pbnApply_clicked () |
void | on_pbnDefaults_clicked () |
void | refreshAlgorithmTable (QString theGuid="") |
Public Member Functions | |
OmgAlgorithmManager (QWidget *parent=0, Qt::WFlags fl=0) | |
~OmgAlgorithmManager () | |
Protected Slots | |
void | resizeEvent (QResizeEvent *theEvent) |
Private Types | |
typedef QMap< QString, QWidget * > | ParametersMap |
A container type for a widget that represents an entry box for a parameter. | |
typedef QMap< QString, QString > | DefaultParametersMap |
for storing default settings for alg widgets - key is widget name, val is default | |
typedef QMap< QString, QWidget * > | ParameterLabels |
a container for storing the label widget that is associated with each parameter | |
typedef QMap< QString, QWidget * > | DescriptionLabels |
a container for storing the description labels, one for each parameter | |
Private Member Functions | |
bool | saveAlgorithm (OmgAlgorithm &theAlgorithm) |
void | setParametersGui (OmgAlgorithm &theAlgorithm) |
Private Attributes | |
QVBoxLayout * | mpLayout2 |
a layout for the parameters frame on the form | |
QScrollArea * | mpScrollArea3 |
a scrollarea to go inside the layout | |
QFrame * | mpQFrame4 |
a frame to go into the scroll area | |
QGridLayout * | mpLayout5 |
a grid layout to apply to the frame - alg parameters will be added to this | |
ParametersMap | mParametersMap |
An instance of the above container type. | |
DefaultParametersMap | mDefaultParametersMap |
ParameterLabels | mLabelsMap |
DescriptionLabels | mDescriptionLabelsMap |
OmgAlgorithmSet | mAlgorithmSet |
A container for all the algorithm profiles we are working with. |
|
for storing default settings for alg widgets - key is widget name, val is default
Definition at line 90 of file omgalgorithmmanager.h. |
|
a container for storing the description labels, one for each parameter
Definition at line 96 of file omgalgorithmmanager.h. |
|
a container for storing the label widget that is associated with each parameter
Definition at line 93 of file omgalgorithmmanager.h. |
|
A container type for a widget that represents an entry box for a parameter.
Definition at line 86 of file omgalgorithmmanager.h. |
|
Definition at line 44 of file omgalgorithmmanager.cpp. References cellClicked(), mpLayout2, mpLayout5, mpQFrame4, mpScrollArea3, and refreshAlgorithmTable(). |
|
Definition at line 67 of file omgalgorithmmanager.cpp. |
|
Definition at line 142 of file omgalgorithmmanager.cpp. References selectAlgorithm(). Referenced by OmgAlgorithmManager(). |
|
|
Definition at line 196 of file omgalgorithmmanager.cpp. References OmgAlgorithmSet::addAlgorithm(), OmgAlgorithmSet::contains(), OmgAlgorithmSet::getAlgorithm(), mAlgorithmSet, OmgAlgorithm::name(), refreshAlgorithmTable(), saveAlgorithm(), OmgGuid::setGuid(), OmgAlgorithm::setName(), and OmgAlgorithm::setOrigin(). |
|
Definition at line 476 of file omgalgorithmmanager.cpp. References mDefaultParametersMap, and mParametersMap. |
|
Definition at line 226 of file omgalgorithmmanager.cpp. References refreshAlgorithmTable(). |
|
Refresh the list of algorithms in the alg table
Definition at line 78 of file omgalgorithmmanager.cpp. References OmgAlgorithmSet::clear(), OmgAlgorithmSet::count(), OmgAlgorithmSet::getFromActivePlugin(), OmgGuid::guid(), OmgAlgorithmSet::loadAlgorithms(), mAlgorithmSet, OmgAlgorithm::name(), OmgAlgorithm::origin(), and selectAlgorithm(). Referenced by OmgAlgorithmManager(), on_pbnApply_clicked(), on_pbnClone_clicked(), and on_pbnDelete_clicked(). |
|
Definition at line 73 of file omgalgorithmmanager.cpp. |
|
Save the alg (passed by ref) to disk into the users alg profiles area Definition at line 502 of file omgalgorithmmanager.cpp. Referenced by on_pbnApply_clicked(), and on_pbnClone_clicked(). |
|
Definition at line 148 of file omgalgorithmmanager.cpp. References OmgAlgorithm::author(), OmgAlgorithm::bibliography(), OmgAlgorithm::codeAuthor(), OmgAlgorithm::description(), OmgAlgorithmSet::getAlgorithm(), OmgAlgorithm::id(), mAlgorithmSet, OmgAlgorithm::name(), OmgAlgorithm::origin(), OmgAlgorithm::overview(), OmgAlgorithm::parameterCount(), setParametersGui(), and OmgAlgorithm::version(). Referenced by cellClicked(), and refreshAlgorithmTable(). |
|
Here is the call graph for this function:
|
A container for all the algorithm profiles we are working with.
Definition at line 100 of file omgalgorithmmanager.h. Referenced by on_pbnApply_clicked(), on_pbnClone_clicked(), refreshAlgorithmTable(), and selectAlgorithm(). |
|
Definition at line 91 of file omgalgorithmmanager.h. Referenced by on_pbnDefaults_clicked(), and setParametersGui(). |
|
Definition at line 97 of file omgalgorithmmanager.h. Referenced by setParametersGui(). |
|
Definition at line 94 of file omgalgorithmmanager.h. Referenced by setParametersGui(). |
|
An instance of the above container type.
Definition at line 88 of file omgalgorithmmanager.h. Referenced by on_pbnApply_clicked(), on_pbnDefaults_clicked(), and setParametersGui(). |
|
a layout for the parameters frame on the form
Definition at line 77 of file omgalgorithmmanager.h. Referenced by OmgAlgorithmManager(). |
|
a grid layout to apply to the frame - alg parameters will be added to this
Definition at line 83 of file omgalgorithmmanager.h. Referenced by OmgAlgorithmManager(), and setParametersGui(). |
|
a frame to go into the scroll area
Definition at line 81 of file omgalgorithmmanager.h. Referenced by OmgAlgorithmManager(), and setParametersGui(). |
|
a scrollarea to go inside the layout
Definition at line 79 of file omgalgorithmmanager.h. Referenced by OmgAlgorithmManager(). |