comparison view/Pane.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 8acd30ed735c
children 3101c68a00c1
comparison
equal deleted inserted replaced
281:ac58acbd7482 282:4edaff85875d
28 class QPaintEvent; 28 class QPaintEvent;
29 class Layer; 29 class Layer;
30 class Thumbwheel; 30 class Thumbwheel;
31 class Panner; 31 class Panner;
32 class NotifyingPushButton; 32 class NotifyingPushButton;
33 class KeyReference;
33 34
34 class Pane : public View 35 class Pane : public View
35 { 36 {
36 Q_OBJECT 37 Q_OBJECT
37 38
57 virtual QSize getImageSize(size_t f0, size_t f1); 58 virtual QSize getImageSize(size_t f0, size_t f1);
58 virtual QSize getImageSize() { return View::getImageSize(); } 59 virtual QSize getImageSize() { return View::getImageSize(); }
59 60
60 virtual QString toXmlString(QString indent = "", 61 virtual QString toXmlString(QString indent = "",
61 QString extraAttributes = "") const; 62 QString extraAttributes = "") const;
63
64 static void registerShortcuts(KeyReference &kr);
62 65
63 signals: 66 signals:
64 void paneInteractedWith(); 67 void paneInteractedWith();
65 void rightButtonMenuRequested(QPoint position); 68 void rightButtonMenuRequested(QPoint position);
66 69