Rev 3627 | Rev 5226 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4430 | cbradney | 1 | /* |
2 | For general Scribus (>=1.3.2) copyright and licensing information please refer |
||
3 | to the COPYING file provided with the program. Following this notice may exist |
||
4 | a copyright and/or license notice that predates the release of Scribus 1.3.2 |
||
5 | for which a new license (GPL+exception) is in place. |
||
6 | */ |
||
3614 | cbradney | 7 | /*************************************************************************** |
8 | pageitem.h - description |
||
9 | ------------------- |
||
10 | copyright : Scribus Team |
||
11 | ***************************************************************************/ |
||
12 | |||
13 | /*************************************************************************** |
||
14 | * * |
||
15 | * This program is free software; you can redistribute it and/or modify * |
||
16 | * it under the terms of the GNU General Public License as published by * |
||
17 | * the Free Software Foundation; either version 2 of the License, or * |
||
18 | * (at your option) any later version. * |
||
19 | * * |
||
20 | ***************************************************************************/ |
||
21 | |||
22 | #ifndef PAGEITEM_IMAGEFRAME_H |
||
23 | #define PAGEITEM_IMAGEFRAME_H |
||
24 | |||
25 | #include <qobject.h> |
||
26 | #include <qwidget.h> |
||
27 | #include <qpointarray.h> |
||
28 | #include <qptrlist.h> |
||
29 | #include <qpixmap.h> |
||
30 | #include <qvaluestack.h> |
||
31 | #include <qvaluelist.h> |
||
32 | |||
33 | #include <qstring.h> |
||
34 | #include <qrect.h> |
||
35 | |||
36 | #include "scribusapi.h" |
||
37 | #include "undoobject.h" |
||
38 | #include "scimage.h" |
||
39 | #include "pagestructs.h" |
||
40 | #include "pageitem.h" |
||
41 | class ScPainter; |
||
42 | class ScribusDoc; |
||
43 | class UndoManager; |
||
44 | class UndoState; |
||
45 | class Foi; |
||
46 | struct CopyPasteBuffer; |
||
47 | |||
48 | class SCRIBUS_API PageItem_ImageFrame : public PageItem |
||
49 | { |
||
50 | Q_OBJECT |
||
51 | |||
52 | public: |
||
53 | PageItem_ImageFrame(ScribusDoc *pa, double x, double y, double w, double h, double w2, QString fill, QString outline); |
||
3625 | avox | 54 | PageItem_ImageFrame(const PageItem & p) : PageItem(p) {} |
3614 | cbradney | 55 | ~PageItem_ImageFrame() {}; |
3622 | avox | 56 | |
57 | virtual PageItem_ImageFrame * asImageFrame() { return this; } |
||
3614 | cbradney | 58 | |
3627 | cbradney | 59 | virtual void clearContents(); |
60 | |||
3614 | cbradney | 61 | protected: |
62 | virtual void DrawObj_Item(ScPainter *p, double sc); |
||
63 | |||
64 | }; |
||
65 | |||
66 | #endif |