Mantid
|
A dialog to enter a category and function name for a new function for saving. More...
#include <UserFunctionDialog.h>
Public Member Functions | |
void | getFunctionName (QString &category, QString &name, QString &comment) |
Return the entered category and function name and comment. More... | |
InputFunctionNameDialog (QWidget *parent, const QString &category) | |
Constructor. More... | |
Private Attributes | |
QComboBox * | m_category |
QTextEdit * | m_comment |
QLineEdit * | m_name |
A dialog to enter a category and function name for a new function for saving.
Definition at line 69 of file UserFunctionDialog.h.
InputFunctionNameDialog::InputFunctionNameDialog | ( | QWidget * | parent, |
const QString & | category | ||
) |
Constructor.
parent | :: The parent for this dialog |
category | :: The initial suggestion for the category |
Definition at line 492 of file UserFunctionDialog.cpp.
References index, m_category, m_comment, and m_name.
void InputFunctionNameDialog::getFunctionName | ( | QString & | category, |
QString & | name, | ||
QString & | comment | ||
) |
Return the entered category and function name and comment.
category | :: A string to recieve the category |
name | :: A string to recieve the function name |
comment | :: |
Definition at line 530 of file UserFunctionDialog.cpp.
References m_category, m_comment, and m_name.
|
private |
Definition at line 76 of file UserFunctionDialog.h.
Referenced by getFunctionName(), and InputFunctionNameDialog().
|
private |
Definition at line 78 of file UserFunctionDialog.h.
Referenced by getFunctionName(), and InputFunctionNameDialog().
|
private |
Definition at line 77 of file UserFunctionDialog.h.
Referenced by getFunctionName(), and InputFunctionNameDialog().