mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
Replaced the deprecated Q_ENUMS() with the currently supported Q_ENUM()
This commit is contained in:
parent
0e77d6aab0
commit
a8cbf68347
@ -157,7 +157,7 @@ namespace Const{
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum VariableDataType {Undefined, String, Bool, Int, Real, Date, Time, DateTime};
|
enum VariableDataType {Undefined, String, Bool, Int, Real, Date, Time, DateTime};
|
||||||
Q_ENUMS(VariableDataType)
|
Q_ENUM(VariableDataType)
|
||||||
private:
|
private:
|
||||||
Enums(){}
|
Enums(){}
|
||||||
Q_GADGET
|
Q_GADGET
|
||||||
|
@ -8,11 +8,11 @@ namespace LimeReport{
|
|||||||
class AbstractLayout: public LayoutDesignIntf
|
class AbstractLayout: public LayoutDesignIntf
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_ENUMS(LayoutType)
|
|
||||||
Q_PROPERTY(bool hideEmptyItems READ hideEmptyItems WRITE setHideEmptyItems)
|
Q_PROPERTY(bool hideEmptyItems READ hideEmptyItems WRITE setHideEmptyItems)
|
||||||
Q_PROPERTY(int layoutSpacing READ layoutSpacing WRITE setLayoutSpacing)
|
Q_PROPERTY(int layoutSpacing READ layoutSpacing WRITE setLayoutSpacing)
|
||||||
public:
|
public:
|
||||||
enum LayoutType{Layout,Table};
|
enum LayoutType{Layout,Table};
|
||||||
|
Q_ENUM(LayoutType)
|
||||||
AbstractLayout(QString xmlTag, QObject *owner = 0, QGraphicsItem *parent = 0);
|
AbstractLayout(QString xmlTag, QObject *owner = 0, QGraphicsItem *parent = 0);
|
||||||
~AbstractLayout();
|
~AbstractLayout();
|
||||||
QList<BaseDesignIntf*>& layoutsChildren();
|
QList<BaseDesignIntf*>& layoutsChildren();
|
||||||
|
@ -35,9 +35,6 @@ namespace LimeReport{
|
|||||||
|
|
||||||
class BarcodeItem : public LimeReport::ContentItemDesignIntf {
|
class BarcodeItem : public LimeReport::ContentItemDesignIntf {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_ENUMS(BarcodeType)
|
|
||||||
Q_ENUMS(AngleType)
|
|
||||||
Q_ENUMS(InputMode)
|
|
||||||
Q_PROPERTY(QString content READ content WRITE setContent)
|
Q_PROPERTY(QString content READ content WRITE setContent)
|
||||||
Q_PROPERTY(BarcodeType barcodeType READ barcodeType WRITE setBarcodeType )
|
Q_PROPERTY(BarcodeType barcodeType READ barcodeType WRITE setBarcodeType )
|
||||||
Q_PROPERTY(QString datasource READ datasource WRITE setDatasource)
|
Q_PROPERTY(QString datasource READ datasource WRITE setDatasource)
|
||||||
@ -144,7 +141,9 @@ public:
|
|||||||
UPNQR =143
|
UPNQR =143
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Q_ENUM(BarcodeType)
|
||||||
enum AngleType{Angle0,Angle90,Angle180,Angle270};
|
enum AngleType{Angle0,Angle90,Angle180,Angle270};
|
||||||
|
Q_ENUM(AngleType)
|
||||||
enum InputMode{
|
enum InputMode{
|
||||||
DATA_INPUT_MODE = 0,
|
DATA_INPUT_MODE = 0,
|
||||||
UNICODE_INPUT_MODE = 1,
|
UNICODE_INPUT_MODE = 1,
|
||||||
@ -152,6 +151,7 @@ public:
|
|||||||
KANJI_INPUT_MODE = 3,
|
KANJI_INPUT_MODE = 3,
|
||||||
SJIS_INPUT_MODE = 4
|
SJIS_INPUT_MODE = 4
|
||||||
};
|
};
|
||||||
|
Q_ENUM(InputMode)
|
||||||
BarcodeItem(QObject *owner, QGraphicsItem *parent);
|
BarcodeItem(QObject *owner, QGraphicsItem *parent);
|
||||||
~BarcodeItem();
|
~BarcodeItem();
|
||||||
virtual BaseDesignIntf* createSameTypeItem(QObject *owner, QGraphicsItem *parent);
|
virtual BaseDesignIntf* createSameTypeItem(QObject *owner, QGraphicsItem *parent);
|
||||||
|
@ -30,9 +30,9 @@ class SeriesItem : public QObject{
|
|||||||
Q_PROPERTY(QString labelsColumn READ labelsColumn WRITE setLabelsColumn )
|
Q_PROPERTY(QString labelsColumn READ labelsColumn WRITE setLabelsColumn )
|
||||||
Q_PROPERTY(QColor color READ color WRITE setColor)
|
Q_PROPERTY(QColor color READ color WRITE setColor)
|
||||||
Q_PROPERTY(SeriesItemPreferredType preferredType READ preferredType WRITE setPreferredType)
|
Q_PROPERTY(SeriesItemPreferredType preferredType READ preferredType WRITE setPreferredType)
|
||||||
Q_ENUMS(SeriesItemPreferredType)
|
|
||||||
public:
|
public:
|
||||||
enum SeriesItemPreferredType {Bar, Line};
|
enum SeriesItemPreferredType {Bar, Line};
|
||||||
|
Q_ENUM(SeriesItemPreferredType)
|
||||||
SeriesItem(QObject* parent = 0) : QObject(parent), m_preferredType(Bar){}
|
SeriesItem(QObject* parent = 0) : QObject(parent), m_preferredType(Bar){}
|
||||||
QString name() const;
|
QString name() const;
|
||||||
void setName(const QString &name);
|
void setName(const QString &name);
|
||||||
@ -114,9 +114,6 @@ protected:
|
|||||||
class ChartItem : public LimeReport::ItemDesignIntf
|
class ChartItem : public LimeReport::ItemDesignIntf
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_ENUMS(LegendAlign)
|
|
||||||
Q_ENUMS(TitleAlign)
|
|
||||||
Q_ENUMS(ChartType)
|
|
||||||
Q_PROPERTY(ACollectionProperty series READ fakeCollectionReader WRITE setSeries)
|
Q_PROPERTY(ACollectionProperty series READ fakeCollectionReader WRITE setSeries)
|
||||||
Q_PROPERTY(QString datasource READ datasource WRITE setDatasource)
|
Q_PROPERTY(QString datasource READ datasource WRITE setDatasource)
|
||||||
Q_PROPERTY(QString chartTitle READ chartTitle WRITE setChartTitle)
|
Q_PROPERTY(QString chartTitle READ chartTitle WRITE setChartTitle)
|
||||||
@ -129,8 +126,11 @@ class ChartItem : public LimeReport::ItemDesignIntf
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
enum LegendAlign{LegendAlignTop,LegendAlignCenter,LegendAlignBottom};
|
enum LegendAlign{LegendAlignTop,LegendAlignCenter,LegendAlignBottom};
|
||||||
|
Q_ENUM(LegendAlign)
|
||||||
enum TitleAlign{TitleAlignLeft, TitleAlignCenter, TitleAlignRight};
|
enum TitleAlign{TitleAlignLeft, TitleAlignCenter, TitleAlignRight};
|
||||||
|
Q_ENUM(TitleAlign)
|
||||||
enum ChartType{Pie, VerticalBar, HorizontalBar, Lines};
|
enum ChartType{Pie, VerticalBar, HorizontalBar, Lines};
|
||||||
|
Q_ENUM(ChartType)
|
||||||
|
|
||||||
ChartItem(QObject* owner, QGraphicsItem* parent);
|
ChartItem(QObject* owner, QGraphicsItem* parent);
|
||||||
~ChartItem();
|
~ChartItem();
|
||||||
|
@ -36,7 +36,6 @@ namespace LimeReport{
|
|||||||
class ImageItem : public ItemDesignIntf, public IPainterProxy
|
class ImageItem : public ItemDesignIntf, public IPainterProxy
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_ENUMS(Format)
|
|
||||||
Q_PROPERTY(QImage image READ image WRITE setImage)
|
Q_PROPERTY(QImage image READ image WRITE setImage)
|
||||||
Q_PROPERTY(int opacity READ opacity WRITE setOpacity)
|
Q_PROPERTY(int opacity READ opacity WRITE setOpacity)
|
||||||
Q_PROPERTY(QString datasource READ datasource WRITE setDatasource)
|
Q_PROPERTY(QString datasource READ datasource WRITE setDatasource)
|
||||||
@ -57,6 +56,7 @@ public:
|
|||||||
Hex = 1,
|
Hex = 1,
|
||||||
Base64 = 2
|
Base64 = 2
|
||||||
};
|
};
|
||||||
|
Q_ENUM(Format)
|
||||||
|
|
||||||
ImageItem(QObject *owner, QGraphicsItem *parent);
|
ImageItem(QObject *owner, QGraphicsItem *parent);
|
||||||
virtual void paint(QPainter *ppainter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
virtual void paint(QPainter *ppainter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||||
|
@ -36,7 +36,6 @@ namespace LimeReport{
|
|||||||
class ShapeItem: public LimeReport::ItemDesignIntf
|
class ShapeItem: public LimeReport::ItemDesignIntf
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_ENUMS(ShapeType)
|
|
||||||
Q_PROPERTY(ShapeType shape READ shapeType WRITE setShapeType)
|
Q_PROPERTY(ShapeType shape READ shapeType WRITE setShapeType)
|
||||||
Q_PROPERTY(QColor shapeColor READ shapeColor WRITE setShapeColor)
|
Q_PROPERTY(QColor shapeColor READ shapeColor WRITE setShapeColor)
|
||||||
Q_PROPERTY(QColor shapeBrushColor READ shapeBrushColor WRITE setShapeBrushColor)
|
Q_PROPERTY(QColor shapeBrushColor READ shapeBrushColor WRITE setShapeBrushColor)
|
||||||
@ -47,6 +46,7 @@ class ShapeItem: public LimeReport::ItemDesignIntf
|
|||||||
Q_PROPERTY(int cornerRadius READ cornerRadius WRITE setCornerRadius)
|
Q_PROPERTY(int cornerRadius READ cornerRadius WRITE setCornerRadius)
|
||||||
public:
|
public:
|
||||||
enum ShapeType{HorizontalLine,VerticalLine,Ellipse,Rectangle};
|
enum ShapeType{HorizontalLine,VerticalLine,Ellipse,Rectangle};
|
||||||
|
Q_ENUM(ShapeType)
|
||||||
ShapeItem(QObject *owner, QGraphicsItem *parent);
|
ShapeItem(QObject *owner, QGraphicsItem *parent);
|
||||||
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||||
void setShapeColor(QColor value);
|
void setShapeColor(QColor value);
|
||||||
|
@ -43,9 +43,6 @@ namespace LimeReport {
|
|||||||
class Tag;
|
class Tag;
|
||||||
class TextItem : public ContentItemDesignIntf, IPageInit {
|
class TextItem : public ContentItemDesignIntf, IPageInit {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_ENUMS(AutoWidth)
|
|
||||||
Q_ENUMS(AngleType)
|
|
||||||
Q_ENUMS(ValueType)
|
|
||||||
Q_PROPERTY(QString content READ content WRITE setContent)
|
Q_PROPERTY(QString content READ content WRITE setContent)
|
||||||
Q_PROPERTY(int margin READ marginSize WRITE setMarginSize)
|
Q_PROPERTY(int margin READ marginSize WRITE setMarginSize)
|
||||||
Q_PROPERTY(Qt::Alignment alignment READ alignment() WRITE setAlignment)
|
Q_PROPERTY(Qt::Alignment alignment READ alignment() WRITE setAlignment)
|
||||||
@ -79,8 +76,11 @@ class TextItem : public ContentItemDesignIntf, IPageInit {
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
enum AutoWidth{NoneAutoWidth, MaxWordLength, MaxStringLength};
|
enum AutoWidth{NoneAutoWidth, MaxWordLength, MaxStringLength};
|
||||||
|
Q_ENUM(AutoWidth)
|
||||||
enum AngleType{Angle0, Angle90, Angle180, Angle270, Angle45, Angle315};
|
enum AngleType{Angle0, Angle90, Angle180, Angle270, Angle45, Angle315};
|
||||||
|
Q_ENUM(AngleType)
|
||||||
enum ValueType{Default, DateTime, Double};
|
enum ValueType{Default, DateTime, Double};
|
||||||
|
Q_ENUM(ValueType)
|
||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
TextItem(QObject* owner=0, QGraphicsItem* parent=0);
|
TextItem(QObject* owner=0, QGraphicsItem* parent=0);
|
||||||
|
@ -114,7 +114,6 @@ class BandDesignIntf : public ItemsContainerDesignInft
|
|||||||
Q_PROPERTY(BGMode backgroundMode READ backgroundMode WRITE setBackgroundModeProperty)
|
Q_PROPERTY(BGMode backgroundMode READ backgroundMode WRITE setBackgroundModeProperty)
|
||||||
Q_PROPERTY(int backgroundOpacity READ opacity WRITE setBackgroundOpacity)
|
Q_PROPERTY(int backgroundOpacity READ opacity WRITE setBackgroundOpacity)
|
||||||
Q_PROPERTY(int shiftItems READ shiftItems WRITE setShiftItems)
|
Q_PROPERTY(int shiftItems READ shiftItems WRITE setShiftItems)
|
||||||
Q_ENUMS(BandColumnsLayoutType)
|
|
||||||
friend class BandMarker;
|
friend class BandMarker;
|
||||||
friend class BandNameLabel;
|
friend class BandNameLabel;
|
||||||
friend class ReportRender;
|
friend class ReportRender;
|
||||||
@ -139,6 +138,7 @@ public:
|
|||||||
enum BandColumnsLayoutType{
|
enum BandColumnsLayoutType{
|
||||||
Horizontal, Vertical, VerticalUniform
|
Horizontal, Vertical, VerticalUniform
|
||||||
};
|
};
|
||||||
|
Q_ENUM(BandColumnsLayoutType)
|
||||||
|
|
||||||
BandDesignIntf(BandsType bandType, const QString& xmlTypeName, QObject* owner = 0, QGraphicsItem* parent=0);
|
BandDesignIntf(BandsType bandType, const QString& xmlTypeName, QObject* owner = 0, QGraphicsItem* parent=0);
|
||||||
~BandDesignIntf();
|
~BandDesignIntf();
|
||||||
|
@ -84,12 +84,7 @@ class BaseDesignIntf :
|
|||||||
public QObject, public QGraphicsItem, public ICollectionContainer, public ObjectLoadingStateIntf {
|
public QObject, public QGraphicsItem, public ICollectionContainer, public ObjectLoadingStateIntf {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_INTERFACES(QGraphicsItem)
|
Q_INTERFACES(QGraphicsItem)
|
||||||
Q_ENUMS(BGMode)
|
|
||||||
Q_ENUMS(Qt::BrushStyle)
|
|
||||||
Q_ENUMS(BrushStyle)
|
|
||||||
Q_ENUMS(ItemAlign)
|
|
||||||
Q_FLAGS(BorderLines)
|
Q_FLAGS(BorderLines)
|
||||||
Q_ENUMS(UnitType)
|
|
||||||
Q_PROPERTY(QRect geometry READ geometry WRITE setGeometryProperty NOTIFY geometryChanged)
|
Q_PROPERTY(QRect geometry READ geometry WRITE setGeometryProperty NOTIFY geometryChanged)
|
||||||
Q_PROPERTY(ACollectionProperty children READ fakeCollectionReader DESIGNABLE false)
|
Q_PROPERTY(ACollectionProperty children READ fakeCollectionReader DESIGNABLE false)
|
||||||
Q_PROPERTY(qreal zOrder READ zValue WRITE setZValueProperty DESIGNABLE false)
|
Q_PROPERTY(qreal zOrder READ zValue WRITE setZValueProperty DESIGNABLE false)
|
||||||
@ -103,6 +98,7 @@ class BaseDesignIntf :
|
|||||||
friend class ReportRender;
|
friend class ReportRender;
|
||||||
public:
|
public:
|
||||||
enum BGMode { TransparentMode, OpaqueMode};
|
enum BGMode { TransparentMode, OpaqueMode};
|
||||||
|
Q_ENUM(BGMode)
|
||||||
|
|
||||||
enum BrushStyle{ NoBrush,
|
enum BrushStyle{ NoBrush,
|
||||||
SolidPattern,
|
SolidPattern,
|
||||||
@ -118,6 +114,7 @@ public:
|
|||||||
CrossPattern,
|
CrossPattern,
|
||||||
BDiagPattern,
|
BDiagPattern,
|
||||||
FDiagPattern };
|
FDiagPattern };
|
||||||
|
Q_ENUM(BrushStyle)
|
||||||
|
|
||||||
enum ResizeFlags { Fixed = 0,
|
enum ResizeFlags { Fixed = 0,
|
||||||
ResizeLeft = 1,
|
ResizeLeft = 1,
|
||||||
@ -126,11 +123,13 @@ public:
|
|||||||
ResizeBottom = 8,
|
ResizeBottom = 8,
|
||||||
AllDirections = 15
|
AllDirections = 15
|
||||||
};
|
};
|
||||||
|
Q_ENUM(ResizeFlags)
|
||||||
enum MoveFlags { None = 0,
|
enum MoveFlags { None = 0,
|
||||||
LeftRight=1,
|
LeftRight=1,
|
||||||
TopBotom=2,
|
TopBotom=2,
|
||||||
All=3
|
All=3
|
||||||
};
|
};
|
||||||
|
Q_ENUM(MoveFlags)
|
||||||
enum BorderSide {
|
enum BorderSide {
|
||||||
NoLine = 0,
|
NoLine = 0,
|
||||||
TopLine = 1,
|
TopLine = 1,
|
||||||
@ -139,9 +138,13 @@ public:
|
|||||||
RightLine = 8,
|
RightLine = 8,
|
||||||
AllLines = 15
|
AllLines = 15
|
||||||
};
|
};
|
||||||
|
Q_ENUM(BorderSide)
|
||||||
enum ObjectState {ObjectLoading, ObjectLoaded, ObjectCreated};
|
enum ObjectState {ObjectLoading, ObjectLoaded, ObjectCreated};
|
||||||
|
Q_ENUM(ObjectState)
|
||||||
enum ItemAlign {LeftItemAlign,RightItemAlign,CenterItemAlign,ParentWidthItemAlign,DesignedItemAlign};
|
enum ItemAlign {LeftItemAlign,RightItemAlign,CenterItemAlign,ParentWidthItemAlign,DesignedItemAlign};
|
||||||
|
Q_ENUM(ItemAlign)
|
||||||
enum UnitType {Millimeters, Inches};
|
enum UnitType {Millimeters, Inches};
|
||||||
|
Q_ENUM(UnitType)
|
||||||
// enum ExpandType {EscapeSymbols, NoEscapeSymbols, ReplaceHTMLSymbols};
|
// enum ExpandType {EscapeSymbols, NoEscapeSymbols, ReplaceHTMLSymbols};
|
||||||
Q_DECLARE_FLAGS(BorderLines, BorderSide)
|
Q_DECLARE_FLAGS(BorderLines, BorderSide)
|
||||||
Q_DECLARE_FLAGS(ItemMode,ItemModes)
|
Q_DECLARE_FLAGS(ItemMode,ItemModes)
|
||||||
|
@ -157,7 +157,7 @@ namespace Const{
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum VariableDataType {Undefined, String, Bool, Int, Real, Date, Time, DateTime};
|
enum VariableDataType {Undefined, String, Bool, Int, Real, Date, Time, DateTime};
|
||||||
Q_ENUMS(VariableDataType)
|
Q_ENUM(VariableDataType)
|
||||||
private:
|
private:
|
||||||
Enums(){}
|
Enums(){}
|
||||||
Q_GADGET
|
Q_GADGET
|
||||||
|
@ -41,9 +41,9 @@ class ItemDesignIntf : public BaseDesignIntf
|
|||||||
Q_PROPERTY(LocationType itemLocation READ itemLocation WRITE setItemLocation)
|
Q_PROPERTY(LocationType itemLocation READ itemLocation WRITE setItemLocation)
|
||||||
Q_PROPERTY(bool stretchToMaxHeight READ stretchToMaxHeight WRITE setStretchToMaxHeight)
|
Q_PROPERTY(bool stretchToMaxHeight READ stretchToMaxHeight WRITE setStretchToMaxHeight)
|
||||||
Q_PROPERTY(ItemAlign itemAlign READ itemAlign WRITE setItemAlign)
|
Q_PROPERTY(ItemAlign itemAlign READ itemAlign WRITE setItemAlign)
|
||||||
Q_ENUMS(LocationType)
|
|
||||||
public:
|
public:
|
||||||
enum LocationType{Band,Page};
|
enum LocationType{Band,Page};
|
||||||
|
Q_ENUM(LocationType)
|
||||||
ItemDesignIntf(const QString& xmlTypeName, QObject* owner = 0,QGraphicsItem* parent = 0);
|
ItemDesignIntf(const QString& xmlTypeName, QObject* owner = 0,QGraphicsItem* parent = 0);
|
||||||
LocationType itemLocation(){return m_itemLocation;}
|
LocationType itemLocation(){return m_itemLocation;}
|
||||||
void setItemLocation(LocationType location);
|
void setItemLocation(LocationType location);
|
||||||
|
@ -42,9 +42,6 @@ class ReportRender;
|
|||||||
class PageItemDesignIntf : public ItemsContainerDesignInft
|
class PageItemDesignIntf : public ItemsContainerDesignInft
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_ENUMS(Orientation)
|
|
||||||
Q_ENUMS(PageSize)
|
|
||||||
Q_ENUMS(PrintBehavior)
|
|
||||||
Q_PROPERTY(int topMargin READ topMargin WRITE setTopMargin)
|
Q_PROPERTY(int topMargin READ topMargin WRITE setTopMargin)
|
||||||
Q_PROPERTY(int bottomMargin READ bottomMargin WRITE setBottomMargin)
|
Q_PROPERTY(int bottomMargin READ bottomMargin WRITE setBottomMargin)
|
||||||
Q_PROPERTY(int rightMargin READ rightMargin WRITE setRightMargin)
|
Q_PROPERTY(int rightMargin READ rightMargin WRITE setRightMargin)
|
||||||
@ -67,7 +64,9 @@ class PageItemDesignIntf : public ItemsContainerDesignInft
|
|||||||
friend class ReportRender;
|
friend class ReportRender;
|
||||||
public:
|
public:
|
||||||
enum Orientation { Portrait = QPrinter::Portrait, Landscape = QPrinter::Landscape };
|
enum Orientation { Portrait = QPrinter::Portrait, Landscape = QPrinter::Landscape };
|
||||||
|
Q_ENUM(Orientation)
|
||||||
enum PrintBehavior {Scale, Split};
|
enum PrintBehavior {Scale, Split};
|
||||||
|
Q_ENUM(PrintBehavior)
|
||||||
enum PageSize {
|
enum PageSize {
|
||||||
A4 = QPrinter::A4, B5 = QPrinter::B5, Letter = QPrinter::Letter,
|
A4 = QPrinter::A4, B5 = QPrinter::B5, Letter = QPrinter::Letter,
|
||||||
Legal = QPrinter::Legal, Executive = QPrinter::Executive,
|
Legal = QPrinter::Legal, Executive = QPrinter::Executive,
|
||||||
@ -80,6 +79,7 @@ public:
|
|||||||
Ledger = QPrinter::Ledger, Tabloid = QPrinter::Tabloid, Custom = QPrinter::Custom,
|
Ledger = QPrinter::Ledger, Tabloid = QPrinter::Tabloid, Custom = QPrinter::Custom,
|
||||||
NPageSize = Custom
|
NPageSize = Custom
|
||||||
};
|
};
|
||||||
|
Q_ENUM(PageSize)
|
||||||
typedef QList<BandDesignIntf*> BandsList;
|
typedef QList<BandDesignIntf*> BandsList;
|
||||||
typedef QList<BandDesignIntf*>::const_iterator BandsIterator;
|
typedef QList<BandDesignIntf*>::const_iterator BandsIterator;
|
||||||
typedef QSharedPointer<PageItemDesignIntf> Ptr;
|
typedef QSharedPointer<PageItemDesignIntf> Ptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user