19#ifndef GENERALPROPERTY_H
20#define GENERALPROPERTY_H
28class KoGeneralPropertyUI;
30class KPrGeneralProperty : public TQWidget
40 PropValue m_keepRatio;
45 enum GeneralConfigChange
56 KPrGeneralProperty( TQWidget *parent, const char *name, GeneralValue &generalValue, KoUnit::Unit unit );
57 ~KPrGeneralProperty();
59 int getGeneralPropertyChange() const;
60 GeneralValue getGeneralValue() const;
65 KoRect getRect() const;
66 void setRect( KoRect &rect );
68 KoGeneralPropertyUI *m_ui;
71 GeneralValue m_generalValue;
76 void slotProtectToggled( bool state );
77 void slotKeepRatioToggled( bool state );
78 void slotWidthChanged( double value );
79 void slotHeightChanged( double value );
|