3 #ifndef __tree_selector_wid_hpp
4 #define __tree_selector_wid_hpp
8 #include <hds_widgets/selector_wid.hpp>
36 virtual QStringList
current()
const;
40 virtual QString
current(
int id)
const;
46 virtual int count()
const;
50 virtual void add(
const QStringList &item);
53 virtual void remove(
int id);
89 const QTreeWidget&
treeWid()
const {
return *mp_tree_widget;}
92 QTreeWidget&
treeWid() {
return *mp_tree_widget;}
98 QTreeWidgetItem *previous);
110 QTreeWidget *mp_tree_widget;
112 bool m_copy_item_text;
114 QString m_current_str;
116 int m_col_for_find_id;
virtual int count() const
void itemDoubleClicked(QTreeWidgetItem *item, int column)
Definition: tree_selector_wid.hpp:14
virtual void add(const QStringList &item)
void setHeaderLabels(const QStringList &labels)
virtual void textEditedSlot(const QString &str)
virtual int currentId() const
virtual void setCurrent(int id)
virtual void currentItemChangedSlot(QTreeWidgetItem *current, QTreeWidgetItem *previous)
const QTreeWidget & treeWid() const
Definition: tree_selector_wid.hpp:89
TreeSelectorWid(QWidget *parent=0, Qt::WindowFlags f=0)
void setDefColumnForFind(int id)
Definition: selector_wid.hpp:14
virtual QStringList current() const
QTreeWidget & treeWid()
Definition: tree_selector_wid.hpp:92
virtual ~TreeSelectorWid()
int defColumnForFind() const