|
| void | buildDimensionInputs (const bool bForceForget=false) |
| | Build dimension inputs.
|
| |
| void | commonSliceMDSetup (const bool) |
| | Common slice md setup.
|
| |
| virtual void | parseInput () |
| | Parse out the values entered into the dialog boxes.
|
| |
| virtual void | saveInput () |
| | Save the input history of an accepted dialog.
|
| |
| const QString & | getOptionalMessage () const |
| | Get the message string.
|
| |
| void | addOptionalMessage (QVBoxLayout *mainLay) |
| | Add the optional message to the given layout.
|
| |
| bool | isForScript () const |
| | Get the usage boolean value.
|
| |
| bool | isMessageAvailable () const |
| | Is there a message string available.
|
| |
| bool | isWidgetEnabled (const QString &propName) const |
| | Check is a given property should have its control enabled or not.
|
| |
| Mantid::API::IAlgorithm_sptr | getAlgorithm () const |
| | Get the algorithm pointer.
|
| |
| Mantid::Kernel::Property * | getAlgorithmProperty (const QString &propName) const |
| | Get a pointer to the named property.
|
| |
| bool | requiresUserInput (const QString &propName) const |
| | Return a true if the given property requires user input.
|
| |
| QString | getInputValue (const QString &propName) const |
| | Get an input value from the form, dealing with blank inputs etc.
|
| |
| QLabel * | getValidatorMarker (const QString &propname) |
| | Get a property validator label.
|
| |
| void | storePropertyValue (const QString &name, const QString &value) |
| | Adds a property (name,value) pair to the stored map.
|
| |
| void | removePropertyValue (const QString &name) |
| | Removes a property (name, value) pair from the stored map.
|
| |
| bool | setPropertyValues (const QStringList &skipList=QStringList()) |
| | Set properties on this algorithm by pulling values from the tied widgets.
|
| |
| bool | setPropertyValue (const QString &pName, bool validateOthers) |
| | Sets the value of a single property, using the value previously stored using storePropertyValue()
|
| |
| void | showValidators () |
| | Show the validators for all the properties.
|
| |
| QWidget * | tie (QWidget *widget, const QString &property, QLayout *parent_layout=nullptr, bool readHistory=true) |
| | Tie a widget to a property.
|
| |
| void | untie (const QString &property) |
| | Untie a widget to a property.
|
| |
| QString | openFileDialog (const QString &propName) |
| | Open a file dialog to select a file.
|
| |
| QStringList | openMultipleFileDialog (const QString &propName) |
| | Open a file dialog to select many file.
|
| |
| void | fillAndSetComboBox (const QString &propName, QComboBox *optionsBox) const |
| | Fill a combo box for the named algorithm's allowed values.
|
| |
| void | fillLineEdit (const QString &propName, QLineEdit *field) |
| | Fill in the necessary input for a text field.
|
| |
| QLayout * | createDefaultButtonLayout (const QString &helpText=QString("?"), const QString &loadText=QString("Run"), const QString &cancelText=QString("Close"), const QString &keepOpenText=QString("Keep Open")) |
| | Create a row layout of buttons with specified text.
|
| |
| QPushButton * | createHelpButton (const QString &helpText=QString("?")) const |
| | Create a help button for this algorithm.
|
| |
| void | flagInputWS (QWidget *inputWidget) |
| | Flag an input workspace combobox with its property name.
|
| |
| QString | getValue (QWidget *widget) |
| | Retrieve a text value for a property from a widget.
|
| |
| void | parse () |
| | Parse out the input from the dialog.
|
| |
| bool | requestedToKeepEnabled (const QString &propName) const |
| | Test if the given name's widget has been explicity asked to be enabled.
|
| |
| QString | getPreviousValue (const QString &propName) const |
| | Get the property value from either the previous input store or from Python argument.
|
| |
| void | setPreviousValue (QWidget *widget, const QString &property) |
| | Set a value based on any old input that we have.
|
| |
| void | finishHandle (const Mantid::API::IAlgorithm *alg) override |
| | Handle completion of algorithm started while staying open.
|
| |
| void | errorHandle (const Mantid::API::IAlgorithm *alg, const std::string &what) override |
| | Handle completion of algorithm started while staying open.
|
| |
| void | closeEvent (QCloseEvent *evt) override |
| | Only allow close when close is enabled.
|
| |
|
| Ui::SlicingAlgorithmDialog | ui |
| | view
|
| |
| Mantid::API::IAlgorithm_sptr | m_algorithm |
| | The algorithm associated with this dialog.
|
| |
| QString | m_algName |
| | The name of the algorithm.
|
| |
| QStringList | m_algProperties |
| | The properties associated with this dialog.
|
| |
| QHash< QString, QString > | m_propertyValueMap |
| | A map of property <name, value> pairs that have been taken from the dialog.
|
| |
| QHash< QString, QWidget * > | m_tied_properties |
| | A list pointers to the widget for each property.
|
| |
| bool | m_forScript |
| | A boolean indicating whether this is for a script or not.
|
| |
| QStringList | m_python_arguments |
| | A list of property names that have been passed from Python.
|
| |
| QStringList | m_enabled |
| | A list of property names that should have their widgets enabled.
|
| |
| QStringList | m_disabled |
| | A list of property names that the user has requested to be disabled (overrides those in enabled)
|
| |
| QString | m_strMessage |
| | The message string to be displayed at the top of the widget; if it exists.
|
| |
| bool | m_keepOpen |
| | Whether to keep the dialog box open after alg execution.
|
| |
| bool | m_msgAvailable |
| | Is the message string empty or not.
|
| |
| bool | m_isInitialized |
| | Whether the layout has been initialized.
|
| |
| bool | m_autoParseOnInit |
| | Flag if the input should be parsed automatically on initialization.
|
| |
| QHash< QString, QLabel * > | m_validators |
| | A list of labels to use as validation markers.
|
| |
| QHash< QString, QString > | m_errors |
| | A map where key = property name; value = the error for this property (i.e.
|
| |
| QStringList | m_noValidation |
| | A list of property names whose widgets handle their own validation.
|
| |
| QVector< QWidget * > | m_inputws_opts |
| | Store a list of the names of input workspace boxes.
|
| |
| QVector< QLineEdit * > | m_outputws_fields |
| | Store a list of output workspace text edits.
|
| |
| QHash< QPushButton *, int > | m_wsbtn_tracker |
| | A map to keep track of replace workspace button presses.
|
| |
| QCheckBox * | m_keepOpenCheckBox |
| |
| QPushButton * | m_okButton |
| |
| QPushButton * | m_exitButton |
| |
| std::vector< Mantid::API::AlgorithmObserver * > | m_observers |
| | A list of AlgorithmObservers to add to the algorithm prior to execution.
|
| |
| QTimer | m_btnTimer |
| | Enable the close button when the timer fires.
|
| |
| bool | m_statusTracked |
| | A flag to track whether the status of the algorithm is being tracked.
|
| |
Definition at line 36 of file SlicingAlgorithmDialog.h.