Back to index

scribus-ng  1.3.4.dfsg+svn20071115
linestyle.attrdefs.cxx
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 *                                                                         *
00009 *   This program is free software; you can redistribute it and/or modify  *
00010 *   it under the terms of the GNU General Public License as published by  *
00011 *   the Free Software Foundation; either version 2 of the License, or     *
00012 *   (at your option) any later version.                                   *
00013 *                                                                         *
00014 ***************************************************************************/
00015 
00016 
00017 //Syntax: ATTRDEF( datatype, gettername, name, defaultvalue)
00018 
00019 ATTRDEF(double, width, Width, 0)
00020 ATTRDEF(QString, color, Color, "Black")
00021 ATTRDEF(double, shade, Shade, 100)
00022 ATTRDEF(int, transparency, Transparency, 0)
00023 ATTRDEF(int, blendMode, BlendMode, 0)
00024 ATTRDEF(Qt::PenStyle, style, Style, Qt::SolidLine)
00025 ATTRDEF(Qt::PenCapStyle, cap, Cap, Qt::FlatCap)
00026 ATTRDEF(Qt::PenJoinStyle, join, Join, Qt::MiterJoin)
00027 ATTRDEF(QValueList<double>, dashes, Dashes, QValueList<double>())
00028 ATTRDEF(double, dashOffset, DashOffset, 0)
00029 ATTRDEF(int, startArrow, StartArrow, 0)
00030 ATTRDEF(int, endArrow, EndArrow, 0)
00031 ATTRDEF(QValueList<LineStyle>, sublines, Sublines, QValueList<LineStyle>())