filters
exportsizedia.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef EXPORTSIZEDIA_H
00021 #define EXPORTSIZEDIA_H
00022
00023
00024 class QCheckBox;
00025 class QString;
00026 class KIntNumInput;
00027 class KDoubleNumInput;
00028
00029
00030 #include <kdialogbase.h>
00031
00032
00033 class ExportSizeDia : public KDialogBase
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 ExportSizeDia( int width, int height,
00039 QWidget *parent=0L, const char *name=0L );
00040 ~ExportSizeDia();
00041
00042 int width() const;
00043 int height() const;
00044
00045 #if 0
00046 public slots:
00047 void slotOk();
00048 #endif
00049
00050 protected slots:
00051
00052 void widthChanged( int );
00053 void heightChanged( int );
00054 void percentWidthChanged( double );
00055 void percentHeightChanged( double );
00056
00057 void proportionalClicked();
00058
00059 private:
00060
00061 void setupGUI();
00062 void connectAll();
00063 void disconnectAll();
00064
00065 int m_realWidth;
00066 int m_realHeight;
00067
00068 QCheckBox *m_proportional;
00069 KIntNumInput *m_widthEdit;
00070 KIntNumInput *m_heightEdit;
00071 KDoubleNumInput *m_percWidthEdit;
00072 KDoubleNumInput *m_percHeightEdit;
00073 };
00074
00075
00076 #endif // EXPORTSIZEDIA_H
00077
|