summaryrefslogtreecommitdiffstats
path: root/kghostview/viewcontrol.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /kghostview/viewcontrol.h
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kghostview/viewcontrol.h')
-rw-r--r--kghostview/viewcontrol.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/kghostview/viewcontrol.h b/kghostview/viewcontrol.h
new file mode 100644
index 00000000..3e8bcd70
--- /dev/null
+++ b/kghostview/viewcontrol.h
@@ -0,0 +1,44 @@
+#ifndef VIEWCONTROL_H
+#define VIEWCONTROL_H
+
+#include <qdialog.h>
+class QComboBox;
+class QPushButton;
+
+
+class ViewControl : public QDialog
+{
+ Q_OBJECT
+public:
+ ViewControl( QWidget *parent, const char *name );
+ QComboBox* magComboBox;
+ QComboBox* mediaComboBox;
+ QComboBox* orientComboBox;
+ QPushButton *apply;
+
+ /**
+ * Update the mag combo box.
+ **/
+ void updateMag (int mag);
+
+ /**
+ * Enable/disable the apply button.
+ **/
+ void applyEnable (bool enable);
+
+protected:
+ int prevmag, prevmedia, prevorient;
+
+public slots:
+ void slotApplyClicked();
+ void slotMagSelection (int i);
+ void slotMediaSelection (int i);
+ void slotOrientSelection (int i);
+
+signals:
+ void applyChanges();
+};
+
+#endif
+
+// vim:sw=4:sts=4:ts=8:noet