Rev 3622 | Rev 3627 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3614 | cbradney | 1 | /*************************************************************************** |
2 | pageitem.h - description |
||
3 | ------------------- |
||
4 | copyright : Scribus Team |
||
5 | ***************************************************************************/ |
||
6 | |||
7 | /*************************************************************************** |
||
8 | * * |
||
9 | * This program is free software; you can redistribute it and/or modify * |
||
10 | * it under the terms of the GNU General Public License as published by * |
||
11 | * the Free Software Foundation; either version 2 of the License, or * |
||
12 | * (at your option) any later version. * |
||
13 | * * |
||
14 | ***************************************************************************/ |
||
15 | |||
16 | #ifndef PAGEITEMTEXTFRAME_H |
||
17 | #define PAGEITEMTEXTFRAME_H |
||
18 | |||
19 | #include <qobject.h> |
||
20 | #include <qwidget.h> |
||
21 | #include <qpointarray.h> |
||
22 | #include <qptrlist.h> |
||
23 | #include <qpixmap.h> |
||
24 | #include <qvaluestack.h> |
||
25 | #include <qvaluelist.h> |
||
26 | |||
27 | #include <qstring.h> |
||
28 | #include <qrect.h> |
||
29 | |||
30 | #include "scribusapi.h" |
||
31 | #include "undoobject.h" |
||
32 | #include "scimage.h" |
||
33 | #include "pagestructs.h" |
||
34 | #include "pageitem.h" |
||
35 | class ScPainter; |
||
36 | class ScribusDoc; |
||
37 | class UndoManager; |
||
38 | class UndoState; |
||
39 | class Foi; |
||
40 | struct CopyPasteBuffer; |
||
41 | |||
42 | class SCRIBUS_API PageItem_TextFrame : public PageItem |
||
43 | { |
||
44 | Q_OBJECT |
||
45 | |||
46 | public: |
||
47 | PageItem_TextFrame(ScribusDoc *pa, double x, double y, double w, double h, double w2, QString fill, QString outline); |
||
3625 | avox | 48 | PageItem_TextFrame(const PageItem & p) : PageItem(p) {} |
3614 | cbradney | 49 | ~PageItem_TextFrame() {}; |
3622 | avox | 50 | |
51 | virtual PageItem_TextFrame * asTextFrame() { return this; } |
||
52 | |||
3614 | cbradney | 53 | protected: |
54 | virtual void DrawObj_Item(ScPainter *p, QRect e, double sc); |
||
55 | |||
56 | }; |
||
57 | |||
58 | #endif |