17 #include <QListWidget> 68 #define mTrigger( notifier, itm ) \ 70 BufferString msg = #notifier; \ 73 QListWidgetItem* qlwi = itm; \ 74 msg += " "; msg += qlwi->listWidget()->row( qlwi ); \ 76 const int refnr = receiver_->box()->beginCmdRecEvent( msg ); \ 77 receiver_->notifier.trigger( *receiver_ ); \ 78 receiver_->box()->endCmdRecEvent( refnr, msg ); \ 103 const int refnr = receiver_->
box()->beginCmdRecEvent(
"itemEntered" );
104 receiver_->
box()->endCmdRecEvent( refnr,
"itemEntered" );
void itemSelectionChanged()
Definition: i_qlistbox.h:95
i_listMessenger(QListWidget *sndr, uiListBox *receiver)
Definition: i_qlistbox.h:33
void itemChanged(QListWidgetItem *itm)
Definition: i_qlistbox.h:108
friend class uiListBoxBody
Definition: i_qlistbox.h:30
void itemEntered(QListWidgetItem *itm)
Definition: i_qlistbox.h:101
QListWidget * sender_
Definition: i_qlistbox.h:65
List Box.
Definition: uilistbox.h:75
uiListBoxObj * box()
Definition: uilistbox.h:110
uiListBox * receiver_
Definition: i_qlistbox.h:64
OD::ButtonState buttonstate_
Definition: uilistbox.h:226
void itemClicked(QListWidgetItem *itm)
Definition: i_qlistbox.h:87
void itemDoubleClicked(QListWidgetItem *itm)
Definition: i_qlistbox.h:83
#define mTrigger(notifier, itm)
Definition: i_qlistbox.h:68
void handleCheckChange(mQtclass(QListWidgetItem *))
virtual ~i_listMessenger()
Definition: i_qlistbox.h:60
Helper class for uiListBox to relay Qt's messages.
Definition: i_qlistbox.h:27