Added dynamic property used to inhibit table selection change notification.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2232 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
77abc29abe
commit
12dcc32fd8
|
@ -1689,7 +1689,10 @@ void QtWindow::doInit()
|
|||
// Connect signals
|
||||
YQT_CONNECT(t.table(),cellDoubleClicked(int,int),this,doubleClick(),"cellDoubleClicked(int,int)");
|
||||
YQT_CONNECT(t.table(),itemDoubleClicked(QTableWidgetItem*),this,doubleClick(),"itemDoubleClicked(QTableWidgetItem*)");
|
||||
YQT_CONNECT(t.table(),itemSelectionChanged(),this,selectionChanged(),"itemSelectionChanged()");
|
||||
String noSel;
|
||||
getProperty(t.name(),"dynamicNoItemSelChanged",noSel);
|
||||
if (!noSel.toBoolean())
|
||||
YQT_CONNECT(t.table(),itemSelectionChanged(),this,selectionChanged(),"itemSelectionChanged()");
|
||||
// Optionally connect cell clicked
|
||||
// This is done when we want to generate a select() or action() from cell clicked
|
||||
String cellClicked;
|
||||
|
|
Loading…
Reference in New Issue