Dialog for adding a new auto tag or renaming an existing one.
More...
#include <addautotagdialog.h>
|
| AddAutoTagDialog (const QStringList &existing_tags, QWidget *parent=nullptr) |
| Initializes the ui for adding a new auto tag.
|
|
| AddAutoTagDialog (QStringList existing_tags, const QString &tag_name, QWidget *parent=nullptr) |
| Initializes the ui for renaming an existing auto tag.
|
|
| ~AddAutoTagDialog () |
| Deletes the ui.
|
|
QString | getName () const |
| Resturns the name entered in the ui.
|
|
|
void | onTagNameEdited () |
| Updates the OK button to only be enabled when a unique name has been entered.
|
|
|
Ui::AddAutoTagDialog * | ui |
| Auto generated ui elements.
|
|
Dialog for adding a new auto tag or renaming an existing one.
◆ AddAutoTagDialog() [1/2]
AddAutoTagDialog::AddAutoTagDialog |
( |
const QStringList & | existing_tags, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
Initializes the ui for adding a new auto tag.
- Parameters
-
existing_tags | Contains names of all currently existing auto tags. |
parent | Parent of this widget. |
◆ AddAutoTagDialog() [2/2]
AddAutoTagDialog::AddAutoTagDialog |
( |
QStringList | existing_tags, |
|
|
const QString & | tag_name, |
|
|
QWidget * | parent = nullptr ) |
Initializes the ui for renaming an existing auto tag.
- Parameters
-
existing_tags | Contains names of all currently existing auto tags. |
tag_name | Name of the tag to be renamed. |
parent | Parent of this widget. |
◆ getName()
QString AddAutoTagDialog::getName |
( |
| ) |
const |
Resturns the name entered in the ui.
- Returns
- The name.
The documentation for this class was generated from the following files: