3 #ifndef __list_selector_wid_hpp
4 #define __list_selector_wid_hpp
8 #include <hds_widgets/selector_wid.hpp>
31 virtual QString
current()
const;
41 virtual int count()
const;
44 virtual void add(
const QString &item);
47 virtual void add(
const QStringList &items);
50 virtual void remove(
int id);
62 const QListWidget&
listWid()
const {
return *mp_list_widget;}
65 QListWidget&
listWid() {
return *mp_list_widget;}
71 QListWidgetItem *previous);
83 QListWidget *mp_list_widget;
85 bool m_copy_item_text;
88 bool m_arbitrary_item_mode;
90 QString m_current_str;
virtual int count() const
virtual void currentItemChangedSlot(QListWidgetItem *current, QListWidgetItem *previous)
ListSelectorWid(QWidget *parent=0, Qt::WindowFlags f=0)
QListWidget & listWid()
Definition: list_selector_wid.hpp:65
virtual ~ListSelectorWid()
virtual void textEditedSlot(const QString &str)
virtual QString current() const
void itemDoubleClicked(QListWidgetItem *item)
virtual int currentId() const
Definition: list_selector_wid.hpp:14
virtual void setCurrent(int id)
Definition: selector_wid.hpp:14
void setArbitraryNameSelectionMode(bool arbitrary_item_mode)
const QListWidget & listWid() const
Definition: list_selector_wid.hpp:62
virtual void add(const QString &item)