![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <selector_wid.hpp>
Public Member Functions | |
| SelectorWid (QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~SelectorWid () |
| virtual int | currentId () const =0 |
| virtual void | setCurrent (int id)=0 |
| virtual int | count () const =0 |
| virtual void | remove (int id)=0 |
| virtual void | clear ()=0 |
| bool | findString () const |
| void | findString (bool on) |
| QLineEdit & | getFindLineEdit () |
Protected Member Functions | |
| Ui::SelectorWid & | ui () |
| const Ui::SelectorWid & | ui () const |
Interface for abstract selector with find string.
| hds::SelectorWid::SelectorWid | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Default constructor of the widget.
Find string turned on by default.
|
virtual |
Destructor.
|
pure virtual |
Clear all items.
Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.
|
pure virtual |
Number of items.
Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.
|
pure virtual |
Id of current item (-1 if not selected).
Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.
| bool hds::SelectorWid::findString | ( | ) | const |
Does find string on.
| void hds::SelectorWid::findString | ( | bool | on | ) |
Show/hide find string.
|
inline |
Access to selection line edit.
|
pure virtual |
Remove item, nothing happens if no such item.
Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.
|
pure virtual |
Set current item.
Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.
|
inlineprotected |
Access to user interface.
|
inlineprotected |
Access to user interface.
1.8.5