LinkTypeDialog

class LinkTypeDialog

Inherits from QDialog

Public Functions

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.

Return
true iff the given address string was valid
Parameters
  • address: The address to be used as default address