A dialog to create a link. More...
#include <newlinkdialog.h>
Public Member Functions | |
NewLinkDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
~NewLinkDialog () | |
void | setLinkText (QString text) |
QString | getLinkText () |
QUrl | getUrl () |
A dialog to create a link.
A dialog to create links to other nodes, websites or files.
NewLinkDialog::NewLinkDialog | ( | QWidget * | parent = 0 , |
|
Qt::WindowFlags | f = 0 | |||
) |
The constructor.
Constructs the NewLinkDialog which is a child of parent and has the provided window flags.
parent | The parent of this NewLinkDialog. | |
f | The window flags of this NewLinkDialog. |
NewLinkDialog::~NewLinkDialog | ( | ) |
The destructor.
Destroys the object.
QString NewLinkDialog::getLinkText | ( | ) |
Get the link text form the NewLinkDialog.
QUrl NewLinkDialog::getUrl | ( | ) |
Get the url of the link.
void NewLinkDialog::setLinkText | ( | QString | text | ) |
Provide the NewLinkDialog with a link text.
text | The link text. |