UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
hds::SelectorWid Class Referenceabstract

#include <selector_wid.hpp>

Inheritance diagram for hds::SelectorWid:
hds::ListSelectorWid hds::TreeSelectorWid

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::SelectorWidui ()
 
const Ui::SelectorWidui () const
 

Detailed Description

Interface for abstract selector with find string.

Constructor & Destructor Documentation

hds::SelectorWid::SelectorWid ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
Default constructor of the widget. 

Find string turned on by default.

virtual hds::SelectorWid::~SelectorWid ( )
virtual

Destructor.

Member Function Documentation

virtual void hds::SelectorWid::clear ( )
pure virtual

Clear all items.

Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.

virtual int hds::SelectorWid::count ( ) const
pure virtual

Number of items.

Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.

virtual int hds::SelectorWid::currentId ( ) const
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.

QLineEdit& hds::SelectorWid::getFindLineEdit ( )
inline

Access to selection line edit.

virtual void hds::SelectorWid::remove ( int  id)
pure virtual

Remove item, nothing happens if no such item.

Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.

virtual void hds::SelectorWid::setCurrent ( int  id)
pure virtual

Set current item.

Implemented in hds::TreeSelectorWid, and hds::ListSelectorWid.

Ui::SelectorWid& hds::SelectorWid::ui ( )
inlineprotected

Access to user interface.

const Ui::SelectorWid& hds::SelectorWid::ui ( ) const
inlineprotected

Access to user interface.


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