summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeCacheView.h
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-13 05:17:10 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-13 05:17:10 (GMT)
commit073b10950802755d0c53748f693deab64ab152f4 (patch)
tree0c7ff68ef32ddcd90f2708ced4fb9f09ecc0dbf4 /Source/QtDialog/QCMakeCacheView.h
parent05f4f0e3e61c5e5bfd8bdbe83285f6eaab12dd80 (diff)
downloadCMake-073b10950802755d0c53748f693deab64ab152f4.zip
CMake-073b10950802755d0c53748f693deab64ab152f4.tar.gz
CMake-073b10950802755d0c53748f693deab64ab152f4.tar.bz2
ENH: Allow clicking anywhere in field to toggle check boxes.
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.h')
-rw-r--r--Source/QtDialog/QCMakeCacheView.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.h b/Source/QtDialog/QCMakeCacheView.h
index b427af5..fcf73cf 100644
--- a/Source/QtDialog/QCMakeCacheView.h
+++ b/Source/QtDialog/QCMakeCacheView.h
@@ -105,6 +105,8 @@ public:
/// create our own editors for cache properties
QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option,
const QModelIndex& index ) const;
+ bool editorEvent (QEvent* event, QAbstractItemModel* model,
+ const QStyleOptionViewItem& option, const QModelIndex& index);
};
/// Editor widget for editing paths or file paths