Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::InformationListIdEdit Class Referencefinal

Designer widget which allows selecting id for list entries in a list view. Showing the purpose of the to be linked id and when hovering showing a hint/tip. More...

#include <InformationListIdEdit.h>

Inheritance diagram for sf::InformationListIdEdit:
Collaboration diagram for sf::InformationListIdEdit:

Public Member Functions

 InformationListIdEdit (QWidget *parent)
 Qt default widget constructor.
 
void clear ()
 Clears the added entries.
 
void addEntry (InformationBase *info_base, const QString &purpose, const QString &tip={})
 Same as the sf::InformationListIdModel::addEntry() to no expose the model.
 
void addEntry (gii::TypeId type_id, gii::IdType *id, const QString &purpose, const QString &tip={})
 Same as the sf::InformationListIdModel::addEntry() to no expose the model.
 

Detailed Description

Designer widget which allows selecting id for list entries in a list view. Showing the purpose of the to be linked id and when hovering showing a hint/tip.

Constructor & Destructor Documentation

◆ InformationListIdEdit()

sf::InformationListIdEdit::InformationListIdEdit ( QWidget *  parent)
explicit

Qt default widget constructor.

Member Function Documentation

◆ addEntry() [1/2]

void sf::InformationListIdEdit::addEntry ( gii::TypeId  type_id,
gii::IdType id,
const QString &  purpose,
const QString &  tip = {} 
)

Same as the sf::InformationListIdModel::addEntry() to no expose the model.

◆ addEntry() [2/2]

void sf::InformationListIdEdit::addEntry ( InformationBase info_base,
const QString &  purpose,
const QString &  tip = {} 
)

Same as the sf::InformationListIdModel::addEntry() to no expose the model.

◆ clear()

void sf::InformationListIdEdit::clear ( )

Clears the added entries.


The documentation for this class was generated from the following file: