19#ifndef GENERALPROPERTY_H
20#define GENERALPROPERTY_H
23#include "kspread_global.h"
28class KoGeneralPropertyUI;
33class GeneralProperty : public TQWidget
43 PropValue m_keepRatio;
48 enum GeneralConfigChange
59 GeneralProperty( TQWidget *parent, const char *name, GeneralValue &generalValue, KoUnit::Unit unit );
62 int getGeneralPropertyChange() const;
63 GeneralValue getGeneralValue() const;
68 KoRect getRect() const;
69 void setRect( KoRect &rect );
71 KoGeneralPropertyUI *m_ui;
74 GeneralValue m_generalValue;
79 void slotProtectToggled( bool state );
80 void slotKeepRatioToggled( bool state );
81 void slotWidthChanged( double value );
82 void slotHeightChanged( double value );
|