Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MantidQt::MantidWidgets::InputFunctionNameDialog Class Reference

A dialog to enter a category and function name for a new function for saving. More...

#include <UserFunctionDialog.h>

Inheritance diagram for MantidQt::MantidWidgets::InputFunctionNameDialog:

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
 

Detailed Description

A dialog to enter a category and function name for a new function for saving.

Definition at line 69 of file UserFunctionDialog.h.

Constructor & Destructor Documentation

◆ InputFunctionNameDialog()

InputFunctionNameDialog::InputFunctionNameDialog ( QWidget *  parent,
const QString &  category 
)

Constructor.

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

Member Function Documentation

◆ getFunctionName()

void InputFunctionNameDialog::getFunctionName ( QString &  category,
QString &  name,
QString &  comment 
)

Return the entered category and function name and comment.

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

Member Data Documentation

◆ m_category

QComboBox* MantidQt::MantidWidgets::InputFunctionNameDialog::m_category
private

Definition at line 76 of file UserFunctionDialog.h.

Referenced by getFunctionName(), and InputFunctionNameDialog().

◆ m_comment

QTextEdit* MantidQt::MantidWidgets::InputFunctionNameDialog::m_comment
private

Definition at line 78 of file UserFunctionDialog.h.

Referenced by getFunctionName(), and InputFunctionNameDialog().

◆ m_name

QLineEdit* MantidQt::MantidWidgets::InputFunctionNameDialog::m_name
private

Definition at line 77 of file UserFunctionDialog.h.

Referenced by getFunctionName(), and InputFunctionNameDialog().


The documentation for this class was generated from the following files: