18 #include <QTreeWidget> 42 connect( &sndr, SIGNAL(
itemChanged(QTreeWidgetItem*,
int)),
50 connect( &sndr, SIGNAL(
itemClicked(QTreeWidgetItem*,
int)),
53 connect( &sndr, SIGNAL(
itemPressed(QTreeWidgetItem*,
int)),
68 connect( &sndr, SIGNAL(
itemEntered(QTreeWidgetItem*,
int)),
84 #define mTriggerBody( notifier, triggerstatement1, triggerstatement2 ) \ 86 BufferString msg = #notifier; \ 87 const int refnr = receiver_.beginCmdRecEvent( msg ); \ 90 receiver_.endCmdRecEvent( refnr, msg ); \ 93 #define mNoTrigger( notifier ) \ 94 mTriggerBody( notifier, , ) 96 #define mTrigger( notifier ) \ 97 mTriggerBody( notifier, receiver_.notifier.trigger(receiver_), ) 99 #define mTriggerExtra( notifier, extranotifier ) \ 100 mTriggerBody( notifier, receiver_.notifier.trigger(receiver_), \ 101 receiver_.extranotifier.trigger(receiver_) ) 107 QList<QTreeWidgetItem*> items = sender_.selectedItems();
void setNotifiedItem(QTreeWidgetItem *item)
Definition: i_qtreeview.h:74
uiTreeView & receiver_
Definition: i_qtreeview.h:80
void itemDoubleClicked(QTreeWidgetItem *item, int col)
Definition: i_qtreeview.h:168
void currentItemChanged(QTreeWidgetItem *item, QTreeWidgetItem *)
Definition: i_qtreeview.h:119
void setNotifiedItem(mQtclass(QTreeWidgetItem *))
QTreeWidget & sender_
Definition: i_qtreeview.h:81
#define mNoTrigger(notifier)
Definition: i_qtreeview.h:93
void itemSelectionChanged()
Definition: i_qtreeview.h:105
i_treeVwMessenger(QTreeWidget &sndr, uiTreeView &receiver)
Definition: i_qtreeview.h:35
void itemEntered(QTreeWidgetItem *item, int col)
Definition: i_qtreeview.h:178
OD::ButtonState buttonstate_
Definition: uitreeview.h:161
friend class uiTreeViewBody
Definition: i_qtreeview.h:31
#define mTrigger(notifier)
Definition: i_qtreeview.h:96
void itemChanged(QTreeWidgetItem *item, int column)
Definition: i_qtreeview.h:112
void setNotifiedColumn(int col)
Definition: i_qtreeview.h:77
Definition: uitreeview.h:33
void itemCollapsed(QTreeWidgetItem *item)
Definition: i_qtreeview.h:162
void customContextMenuRequested(const QPoint &qpoint)
Definition: i_qtreeview.h:149
#define mTriggerExtra(notifier, extranotifier)
Definition: i_qtreeview.h:99
brief Helper class for uiTreeView to relay Qt's messages.
Definition: i_qtreeview.h:28
bool allowDoubleClick() const
void setNotifiedColumn(int col)
Definition: uitreeview.h:136
void itemPressed(QTreeWidgetItem *item, int col)
Definition: i_qtreeview.h:137
void itemExpanded(QTreeWidgetItem *item)
Definition: i_qtreeview.h:156
void itemClicked(QTreeWidgetItem *item, int col)
Definition: i_qtreeview.h:125