A dialog to create a new node. More...
#include <newnodedialog.h>
Public Member Functions | |
NewNodeDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
~NewNodeDialog () | |
QString | getCaption () const |
AbstractNodeContent * | getContent () const |
QStringList | getLabels () const |
A dialog to create a new node.
This dialog provides the user with a GUI to create a new node. The dialog does not create a node, it only provides the necessary elements to create one.
NewNodeDialog::NewNodeDialog | ( | QWidget * | parent = 0 , |
|
Qt::WindowFlags | f = 0 | |||
) |
The constructor.
Constructs the NewNodeDialog which is a child of parent.
parent | The parent of this NewNodeDialog. | |
f | The dialog flags f are passed on to the QDialog constructor. |
NewNodeDialog::~NewNodeDialog | ( | ) |
The destructor.
Destroys the object.
QString NewNodeDialog::getCaption | ( | ) | const |
Get the caption the user entered at the dialog for the new node.
AbstractNodeContent * NewNodeDialog::getContent | ( | ) | const |
Get the content the user selected at the dialog for the new node.
QStringList NewNodeDialog::getLabels | ( | ) | const |
Get the labels the user selected for the new node.