Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

pageitem_line.h

Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008                           pageitem.h  -  description
00009                              -------------------
00010     copyright            : Scribus Team
00011  ***************************************************************************/
00012 
00013 /***************************************************************************
00014  *                                                                         *
00015  *   This program is free software; you can redistribute it and/or modify  *
00016  *   it under the terms of the GNU General Public License as published by  *
00017  *   the Free Software Foundation; either version 2 of the License, or     *
00018  *   (at your option) any later version.                                   *
00019  *                                                                         *
00020  ***************************************************************************/
00021 
00022 #ifndef PAGEITEMLINE_H
00023 #define PAGEITEMLINE_H
00024 
00025 #include <QString>
00026 #include <QRectF>
00027 
00028 #include "scribusapi.h"
00029 #include "pageitem.h"
00030 class ScPainter;
00031 class ScribusDoc;
00032 
00033 class SCRIBUS_API PageItem_Line : public PageItem
00034 {
00035     Q_OBJECT
00036 
00037 public:
00038     PageItem_Line(ScribusDoc *pa, double x, double y, double w, double h, double w2, QString fill, QString outline);
00039     PageItem_Line(const PageItem & p) : PageItem(p) {}
00040     ~PageItem_Line() {};
00041     
00042     virtual PageItem_Line * asLine() { return this; }
00043     
00044     virtual void applicableActions(QStringList& actionList);
00045     virtual QString infoDescription();
00046     
00047 protected:
00048     virtual void DrawObj_Item(ScPainter *p, QRectF e, double sc);
00049 
00050 };
00051 
00052 #endif
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.