20#ifndef KEXIREPORTWIDGETS_H
21#define KEXIREPORTWIDGETS_H
24#include <tqscrollview.h>
46 void setReportName( const TQString &name);
52 TQString m_reportName;
62 Label( const TQString &text, TQWidget *parent, const char *name);
73 PicLabel( const TQPixmap &pix, TQWidget *parent, const char *name);
76 virtual bool setProperty( const char *name, const TQVariant &value);
84 TQ_PROPERTY(ReportLineStyle lineStyle READ lineStyle WRITE setLineStyle)
85 TQ_PROPERTY( int lineWidth READ lineWidth WRITE setLineWidth)
86 TQ_PROPERTY(TQColor color READ color WRITE setColor)
87 TQ_PROPERTY(CapStyle capStyle READ capStyle WRITE setCapStyle)
90 enum ReportLineStyle { NoLine = TQt::NoPen, Solid = TQt::SolidLine, Dash = TQt::DashLine, Dot = TQt::DotLine,
91 DashDot = TQt::DashDotLine, DashDotDot = TQt::DashDotDotLine };
92 enum CapStyle { Flat = TQt::FlatCap, Square = TQt::SquareCap, Round = TQt::RoundCap };
94 ReportLine(TQWidget *parent, const char *name);
97 ReportLineStyle lineStyle() const;
98 void setLineStyle(ReportLineStyle style);
100 int lineWidth() const;
101 void setLineWidth( int width);
103 TQColor color() const;
104 void setColor( const TQColor &color);
106 CapStyle capStyle() const;
107 void setCapStyle(CapStyle capStyle);
110 virtual void paintEvent (TQPaintEvent *ev);
113 ReportLineStyle m_lineStyle;
A form embedded as a widget inside other form.
TQString reportName() const
A simple label inside a report.
A simple picture label inside a report.
|