24#include <koffice_export.h>
33class KoTabChooserPrivate;
35class KOFFICEUI_EXPORT KoTabChooser : public TQFrame
45 TAB_ALL = TAB_LEFT | TAB_CENTER | TAB_RIGHT | TAB_DEC_PNT };
47 KoTabChooser( TQWidget *parent, int _flags );
50 int getCurrTabType() { return currType; }
56 void setReadWrite( bool _readWrite);
59 void mousePressEvent( TQMouseEvent *e );
60 void drawContents( TQPainter *painter );
71 KoTabChooserPrivate *d;
74 void rbLeft() { currType = TAB_LEFT; repaint( true ); }
75 void rbCenter() { currType = TAB_CENTER; repaint( true ); }
76 void rbRight() { currType = TAB_RIGHT; repaint( true ); }
77 void rbDecPoint() { currType = TAB_DEC_PNT; repaint( true ); }
|