41 #ifndef __KDTOOLS__KDHORIZONTALLINE_H__
42 #define __KDTOOLS__KDHORIZONTALLINE_H__
47 class KDHorizontalLine : public TQFrame {
50 TQ_PROPERTY( TQString title READ title WRITE setTitle )
52 KDHorizontalLine( TQWidget * parent=0, const char * name=0, WFlags f=0 );
53 KDHorizontalLine( const TQString & title, TQWidget * parent=0, const char * name=0, WFlags f=0 );
56 TQString title() const { return mTitle; }
59 void setFrameStyle( int style );
61 TQSize sizeHint() const;
62 TQSize minimumSizeHint() const;
63 TQSizePolicy sizePolicy() const;
65 static int indentHint();
68 virtual void setTitle( const TQString & title );
71 void paintEvent( TQPaintEvent * );
74 void calculateFrame();
78 TQt::AlignmentFlags mAlign;
|