kpresenter
KPrRectProperty.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef RECTPROPERTY_H
00022 #define RECTPROPERTY_H
00023
00024 #include <qwidget.h>
00025
00026 #include "KPrCommand.h"
00027
00028 class RectPropertyUI;
00029
00030 class KPrRectProperty : public QWidget
00031 {
00032 Q_OBJECT
00033 public:
00034 KPrRectProperty( QWidget *parent, const char *name, KPrRectValueCmd::RectValues &rectValue );
00035 ~KPrRectProperty();
00036
00037 int getRectPropertyChange() const;
00038 KPrRectValueCmd::RectValues getRectValues() const;
00039
00040 void setRectValues( const KPrRectValueCmd::RectValues &rectValues );
00041 void apply();
00042
00043 protected:
00044 int getXRnd() const;
00045 int getYRnd() const;
00046
00047 RectPropertyUI *m_ui;
00048
00049 KPrRectValueCmd::RectValues m_rectValue;
00050
00051 protected slots:
00052 void slotReset();
00053 void slotRndChanged();
00054 void combineToggled( bool on);
00055
00056 private:
00057 int formerVerticalValue;
00058 };
00059
00060 #endif
|