Subversion Repositories Scribus

Rev

Rev 3625 | Rev 4430 | 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 PAGEITEM_IMAGEFRAME_H
17
#define PAGEITEM_IMAGEFRAME_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_ImageFrame : public PageItem
43
{
44
        Q_OBJECT
45
 
46
public:
47
        PageItem_ImageFrame(ScribusDoc *pa, double x, double y, double w, double h, double w2, QString fill, QString outline);
3625 avox 48
        PageItem_ImageFrame(const PageItem & p) : PageItem(p) {}
3614 cbradney 49
        ~PageItem_ImageFrame() {};
3622 avox 50
 
51
        virtual PageItem_ImageFrame * asImageFrame() { return this; }
3614 cbradney 52
 
3627 cbradney 53
        virtual void clearContents();
54
 
3614 cbradney 55
protected:
56
        virtual void DrawObj_Item(ScPainter *p, double sc);
57
 
58
};
59
 
60
#endif