Mercurial > hg > svgui
diff widgets/KeyReference.h @ 282:4edaff85875d
* Add mouse actions to key and mouse reference dialog
* Use QDialogButtonBox in all dialogs, for proper button ordering across
platforms (requires Qt 4.2)
* Fix #1733610 program does not exit if preferences dialog visible on close
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2007 11:07:01 +0000 |
parents | ac58acbd7482 |
children | 5f3f5c1e23e8 |
line wrap: on
line diff
--- a/widgets/KeyReference.h Wed Jul 04 17:22:12 2007 +0000 +++ b/widgets/KeyReference.h Thu Jul 05 11:07:01 2007 +0000 @@ -23,6 +23,8 @@ class QAction; class QTextEdit; +class QDialog; +class QAbstractButton; class KeyReference : public QObject { @@ -42,6 +44,9 @@ void show(); +protected slots: + void dialogButtonClicked(QAbstractButton *); + protected: struct KeyDetails { QString actionName; @@ -59,6 +64,7 @@ CategoryList m_categoryOrder; QTextEdit *m_text; + QDialog *m_dialog; }; #endif