LinkTypeDialog¶
-
class LinkTypeDialog : public QDialog¶
Public Functions
-
explicit LinkTypeDialog(QWidget *parent = nullptr)¶
-
~LinkTypeDialog()¶
-
void setDefaultType(const QString &type)¶
Sets the default type which will be displayed in the combo box.
- Parameters
type – Default type to be used as default type
-
bool setDefaultAddress(const QString &address)¶
Sets the value of the default address which will be displayed If the given address is linked to a type, then it also sets the default type to the currently linked type.
- Parameters
address – The address to be used as default address
- Returns
true iff the given address string was valid
-
explicit LinkTypeDialog(QWidget *parent = nullptr)¶