QElectroTech  0.8-dev
customelementgraphicpart.h
Go to the documentation of this file.
1 /*
2  Copyright 2006-2020 The QElectroTech Team
3  This file is part of QElectroTech.
4 
5  QElectroTech is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 2 of the License, or
8  (at your option) any later version.
9 
10  QElectroTech is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17 */
18 #ifndef CUSTOM_ELEMENT_GRAPHIC_PART_H
19 #define CUSTOM_ELEMENT_GRAPHIC_PART_H
20 
21 #include <QGraphicsObject>
22 #include "customelementpart.h"
23 
24 class QETElementEditor;
25 class QPainter;
26 
27 
35 class CustomElementGraphicPart : public QGraphicsObject, public CustomElementPart
36 {
37  #define SHADOWS_HEIGHT 4.0
38 
39  Q_OBJECT
40 
41  Q_PROPERTY(LineStyle line_style READ lineStyle WRITE setLineStyle)
42  Q_PROPERTY(LineWeight line_weight READ lineWeight WRITE setLineWeight)
43  Q_PROPERTY(Filling filling READ filling WRITE setFilling)
44  Q_PROPERTY(Color color READ color WRITE setColor)
45  Q_PROPERTY(bool antialias READ antialiased WRITE setAntialiased)
46 
47  public:
48  //Line style
53  Q_ENUM (LineStyle)
54 
55  //Line weight : invisible, 0px, 1px, 2px, 5px
61  Q_ENUM (LineWeight)
62 
63  //Filling color of the part : NoneFilling -> No filling (i.e. transparent)
181  Q_ENUM (Filling)
182 
183  //Line color
184  enum Color {
262  Q_ENUM (Color)
263 
264  // constructors, destructor
265  public:
266 
268  QGraphicsItem *parent = nullptr);
269  ~CustomElementGraphicPart() override;
270 
271  static void drawCross (const QPointF &center,
272  QPainter *painter);
273 
274  //Getter and setter
275  LineStyle lineStyle () const {return _linestyle;}
276  void setLineStyle (const LineStyle ls);
277 
278  LineWeight lineWeight () const {return _lineweight;}
279  void setLineWeight (const LineWeight lw);
280  qreal penWeight () const;
281 
282  Filling filling () const {return _filling;}
283  void setFilling(const Filling f);
284 
285  Color color () const {return _color;}
286  void setColor(const Color c);
287 
288  bool antialiased () const {return _antialiased;}
289  void setAntialiased(const bool b);
290  //End of getter and setter
291 
292 
293  //Rediriged to QObject Q_PROPERTY system
294  void setProperty (const char *name,
295  const QVariant &value) override {
296  QObject::setProperty(name, value);}
297  QVariant property (const char *name) const override {
298  return QObject::property(name);}
299 
300  virtual QPainterPath shadowShape ()const = 0;
301  virtual void setHandlerColor(QPointF /*pos*/,
302  const QColor &/*color*/) {}
303  virtual void resetAllHandlerColor() {}
304 
305  protected:
306  void stylesToXml (QDomElement &) const;
307  void stylesFromXml(const QDomElement &);
308  void resetStyles ();
309  void applyStylesToQPainter(QPainter &) const;
310  void drawShadowShape (QPainter *painter);
311 
312  QVariant itemChange(GraphicsItemChange change,
313  const QVariant &value) override;
314  void hoverEnterEvent(QGraphicsSceneHoverEvent *event) override;
315  void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) override;
316 
317  void mousePressEvent(QGraphicsSceneMouseEvent *event) override;
318  void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override;
319  void mouseReleaseEvent(
320  QGraphicsSceneMouseEvent *event) override;
321 
322  // attributes
323  bool m_hovered;
324  private:
330  QPointF m_origin_pos;
331 };
332 
334 #endif
CustomElementGraphicPart::HTMLPurpleMagentaColor
@ HTMLPurpleMagentaColor
Definition: customelementgraphicpart.h:241
CustomElementGraphicPart::BrunColor
@ BrunColor
Definition: customelementgraphicpart.h:186
QPropertyUndoCommand::enableAnimation
void enableAnimation(bool animate=true)
QPropertyUndoCommand::enableAnimation True to enable animation.
Definition: qpropertyundocommand.cpp:92
CustomElementGraphicPart::HTMLBlueMediumBlueColor
@ HTMLBlueMediumBlueColor
Definition: customelementgraphicpart.h:236
CustomElementGraphicPart::HTMLWhiteSnowFilling
@ HTMLWhiteSnowFilling
Definition: customelementgraphicpart.h:158
CustomElementGraphicPart::HTMLWhiteHoneydewColor
@ HTMLWhiteHoneydewColor
Definition: customelementgraphicpart.h:249
CustomElementGraphicPart::HTMLGreenMediumSpringGreenFilling
@ HTMLGreenMediumSpringGreenFilling
Definition: customelementgraphicpart.h:112
CustomElementGraphicPart::HTMLWhiteSeashellFilling
@ HTMLWhiteSeashellFilling
Definition: customelementgraphicpart.h:164
CustomElementGraphicPart::HTMLPurpleMediumPurpleColor
@ HTMLPurpleMediumPurpleColor
Definition: customelementgraphicpart.h:242
CustomElementGraphicPart::HTMLGraySlateGrayColor
@ HTMLGraySlateGrayColor
Definition: customelementgraphicpart.h:260
CustomElementGraphicPart::HTMLBlueBlueColor
@ HTMLBlueBlueColor
Definition: customelementgraphicpart.h:235
CustomElementGraphicPart::HTMLRedDarkSalmonFilling
@ HTMLRedDarkSalmonFilling
Definition: customelementgraphicpart.h:74
CustomElementGraphicPart::HTMLBlueSteelBlueColor
@ HTMLBlueSteelBlueColor
Definition: customelementgraphicpart.h:234
CustomElementGraphicPart::HTMLYellowLemonChiffonFilling
@ HTMLYellowLemonChiffonFilling
Definition: customelementgraphicpart.h:83
CustomElementGraphicPart::DashdottedStyle
@ DashdottedStyle
Definition: customelementgraphicpart.h:52
CustomElementGraphicPart::HTMLGreenSpringGreenFilling
@ HTMLGreenSpringGreenFilling
Definition: customelementgraphicpart.h:111
CustomElementGraphicPart::HTMLGreenLimeGreenColor
@ HTMLGreenLimeGreenColor
Definition: customelementgraphicpart.h:215
CustomElementGraphicPart::HTMLPinkPinkFilling
@ HTMLPinkPinkFilling
Definition: customelementgraphicpart.h:69
CustomElementGraphicPart::HTMLOrangeTomatoColor
@ HTMLOrangeTomatoColor
Definition: customelementgraphicpart.h:196
CustomElementGraphicPart::resetAllHandlerColor
virtual void resetAllHandlerColor()
Definition: customelementgraphicpart.h:303
CustomElementGraphicPart::HTMLYellowGoldFilling
@ HTMLYellowGoldFilling
Definition: customelementgraphicpart.h:91
CustomElementGraphicPart::HTMLYellowPeachPuffFilling
@ HTMLYellowPeachPuffFilling
Definition: customelementgraphicpart.h:87
CustomElementGraphicPart::HTMLBrownRosyBrownFilling
@ HTMLBrownRosyBrownFilling
Definition: customelementgraphicpart.h:96
ElementScene::undoStack
QUndoStack & undoStack()
ElementScene::undoStack.
Definition: elementscene.cpp:603
CustomElementGraphicPart::HTMLWhiteIvoryFilling
@ HTMLWhiteIvoryFilling
Definition: customelementgraphicpart.h:167
CustomElementGraphicPart::HTMLGreenYellowGreenColor
@ HTMLGreenYellowGreenColor
Definition: customelementgraphicpart.h:214
CustomElementGraphicPart::MagentaColor
@ MagentaColor
Definition: customelementgraphicpart.h:187
CustomElementGraphicPart::HTMLBrownGoldenrodColor
@ HTMLBrownGoldenrodColor
Definition: customelementgraphicpart.h:209
CustomElementGraphicPart::drawCross
static void drawCross(const QPointF &center, QPainter *painter)
CustomElementGraphicPart::drawCross Draw a cross at pos center.
Definition: customelementgraphicpart.cpp:60
CustomElementGraphicPart::PurpleFilling
@ PurpleFilling
Definition: customelementgraphicpart.h:68
CustomElementPart::name
virtual QString name() const =0
CustomElementGraphicPart::HTMLGreenSeaGreenColor
@ HTMLGreenSeaGreenColor
Definition: customelementgraphicpart.h:222
CustomElementGraphicPart::setLineStyle
void setLineStyle(const LineStyle ls)
CustomElementGraphicPart::setLineStyle Set line style to ls.
Definition: customelementgraphicpart.cpp:86
CustomElementGraphicPart::HTMLWhiteLavenderBlushFilling
@ HTMLWhiteLavenderBlushFilling
Definition: customelementgraphicpart.h:170
CustomElementGraphicPart::HTMLCyanCyanFilling
@ HTMLCyanCyanFilling
Definition: customelementgraphicpart.h:121
CustomElementGraphicPart::HTMLBlueLightSkyBlueFilling
@ HTMLBlueLightSkyBlueFilling
Definition: customelementgraphicpart.h:134
CustomElementGraphicPart::PurpleColor
@ PurpleColor
Definition: customelementgraphicpart.h:187
CustomElementGraphicPart::hoverEnterEvent
void hoverEnterEvent(QGraphicsSceneHoverEvent *event) override
CustomElementGraphicPart::hoverEnterEvent Reimplemented from QGraphicsObject. Set m_hovered to true.
Definition: customelementgraphicpart.cpp:1281
CustomElementGraphicPart::HTMLGreenDarkSeaGreenFilling
@ HTMLGreenDarkSeaGreenFilling
Definition: customelementgraphicpart.h:115
CustomElementGraphicPart
The CustomElementGraphicPart class This class is the base for all home-made primitive like line,...
Definition: customelementgraphicpart.h:36
CustomElementGraphicPart::HTMLPinkDeepPinkColor
@ HTMLPinkDeepPinkColor
Definition: customelementgraphicpart.h:189
CustomElementGraphicPart::RedFilling
@ RedFilling
Definition: customelementgraphicpart.h:65
CustomElementGraphicPart::HTMLGreenPaleGreenColor
@ HTMLGreenPaleGreenColor
Definition: customelementgraphicpart.h:219
CustomElementGraphicPart::CyanColor
@ CyanColor
Definition: customelementgraphicpart.h:186
CustomElementGraphicPart::HTMLWhiteLavenderBlushColor
@ HTMLWhiteLavenderBlushColor
Definition: customelementgraphicpart.h:255
CustomElementGraphicPart::GreenColor
@ GreenColor
Definition: customelementgraphicpart.h:185
CustomElementGraphicPart::HTMLYellowLemonChiffonColor
@ HTMLYellowLemonChiffonColor
Definition: customelementgraphicpart.h:199
CustomElementGraphicPart::HTMLBlueLightSteelBlueFilling
@ HTMLBlueLightSteelBlueFilling
Definition: customelementgraphicpart.h:131
CustomElementGraphicPart::HTMLRedDarkRedFilling
@ HTMLRedDarkRedFilling
Definition: customelementgraphicpart.h:77
CustomElementGraphicPart::HTMLYellowMoccasinColor
@ HTMLYellowMoccasinColor
Definition: customelementgraphicpart.h:201
CustomElementGraphicPart::HTMLOrangeCoralColor
@ HTMLOrangeCoralColor
Definition: customelementgraphicpart.h:197
CustomElementGraphicPart::HTMLOrangeOrangeRedColor
@ HTMLOrangeOrangeRedColor
Definition: customelementgraphicpart.h:196
CustomElementGraphicPart::HTMLWhiteLinenFilling
@ HTMLWhiteLinenFilling
Definition: customelementgraphicpart.h:169
CustomElementGraphicPart::HTMLGreenForestGreenColor
@ HTMLGreenForestGreenColor
Definition: customelementgraphicpart.h:223
CustomElementGraphicPart::HTMLCyanCyanColor
@ HTMLCyanCyanColor
Definition: customelementgraphicpart.h:225
CustomElementGraphicPart::ThinWeight
@ ThinWeight
Definition: customelementgraphicpart.h:57
CustomElementGraphicPart::HTMLGreenPaleGreenFilling
@ HTMLGreenPaleGreenFilling
Definition: customelementgraphicpart.h:114
CustomElementGraphicPart::HTMLBlueNavyFilling
@ HTMLBlueNavyFilling
Definition: customelementgraphicpart.h:141
CustomElementGraphicPart::HTMLYellowKhakiFilling
@ HTMLYellowKhakiFilling
Definition: customelementgraphicpart.h:89
CustomElementGraphicPart::HTMLBrownGoldenrodFilling
@ HTMLBrownGoldenrodFilling
Definition: customelementgraphicpart.h:98
CustomElementGraphicPart::HTMLGreenLimeGreenFilling
@ HTMLGreenLimeGreenFilling
Definition: customelementgraphicpart.h:107
CustomElementGraphicPart::HTMLBrownChocolateColor
@ HTMLBrownChocolateColor
Definition: customelementgraphicpart.h:210
CustomElementGraphicPart::HTMLBlueCornflowerBlueColor
@ HTMLBlueCornflowerBlueColor
Definition: customelementgraphicpart.h:234
CustomElementGraphicPart::~CustomElementGraphicPart
~CustomElementGraphicPart() override
CustomElementGraphicPart::~CustomElementGraphicPart Destructor.
Definition: customelementgraphicpart.cpp:51
CustomElementGraphicPart::HTMLPurpleMediumOrchidColor
@ HTMLPurpleMediumOrchidColor
Definition: customelementgraphicpart.h:241
CustomElementGraphicPart::HTMLGreenLimeFilling
@ HTMLGreenLimeFilling
Definition: customelementgraphicpart.h:107
CustomElementGraphicPart::stylesToXml
void stylesToXml(QDomElement &) const
CustomElementGraphicPart::stylesToXml Write the curent style to xml element. The style are stored lik...
Definition: customelementgraphicpart.cpp:162
CustomElementGraphicPart::HTMLBrownSaddleBrownFilling
@ HTMLBrownSaddleBrownFilling
Definition: customelementgraphicpart.h:101
CustomElementGraphicPart::HTMLGreenForestGreenFilling
@ HTMLGreenForestGreenFilling
Definition: customelementgraphicpart.h:119
CustomElementGraphicPart::HTMLGreenMediumSeaGreenColor
@ HTMLGreenMediumSeaGreenColor
Definition: customelementgraphicpart.h:222
CustomElementGraphicPart::HTMLPurpleDarkVioletFilling
@ HTMLPurpleDarkVioletFilling
Definition: customelementgraphicpart.h:151
CustomElementGraphicPart::HTMLPurpleOrchidFilling
@ HTMLPurpleOrchidFilling
Definition: customelementgraphicpart.h:145
CustomElementGraphicPart::HTMLBrownTanFilling
@ HTMLBrownTanFilling
Definition: customelementgraphicpart.h:96
CustomElementGraphicPart::HTMLBlueDeepSkyBlueFilling
@ HTMLBlueDeepSkyBlueFilling
Definition: customelementgraphicpart.h:135
CustomElementGraphicPart::HTMLWhiteBeigeColor
@ HTMLWhiteBeigeColor
Definition: customelementgraphicpart.h:252
CustomElementGraphicPart::shadowShape
virtual QPainterPath shadowShape() const =0
CustomElementGraphicPart::HTMLPurpleLavenderFilling
@ HTMLPurpleLavenderFilling
Definition: customelementgraphicpart.h:143
CustomElementGraphicPart::HTMLBrownMaroonFilling
@ HTMLBrownMaroonFilling
Definition: customelementgraphicpart.h:103
CustomElementGraphicPart::HTMLWhiteWhiteFilling
@ HTMLWhiteWhiteFilling
Definition: customelementgraphicpart.h:158
CustomElementGraphicPart::setFilling
void setFilling(const Filling f)
CustomElementGraphicPart::setFilling Set filling to f.
Definition: customelementgraphicpart.cpp:123
CustomElementGraphicPart::HTMLRedDarkSalmonColor
@ HTMLRedDarkSalmonColor
Definition: customelementgraphicpart.h:192
CustomElementGraphicPart::mouseReleaseEvent
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override
Definition: customelementgraphicpart.cpp:1318
CustomElementGraphicPart::HTMLWhiteAliceBlueFilling
@ HTMLWhiteAliceBlueFilling
Definition: customelementgraphicpart.h:161
CustomElementGraphicPart::NormalWeight
@ NormalWeight
Definition: customelementgraphicpart.h:58
CustomElementGraphicPart::HTMLWhiteBeigeFilling
@ HTMLWhiteBeigeFilling
Definition: customelementgraphicpart.h:164
CustomElementGraphicPart::HTMLRedSalmonColor
@ HTMLRedSalmonColor
Definition: customelementgraphicpart.h:192
CustomElementGraphicPart::HTMLCyanCadetBlueFilling
@ HTMLCyanCadetBlueFilling
Definition: customelementgraphicpart.h:129
CustomElementGraphicPart::HTMLCyanDarkCyanFilling
@ HTMLCyanDarkCyanFilling
Definition: customelementgraphicpart.h:130
CustomElementGraphicPart::HTMLBrownBurlywoodColor
@ HTMLBrownBurlywoodColor
Definition: customelementgraphicpart.h:207
CustomElementGraphicPart::HTMLGraySlateGrayFilling
@ HTMLGraySlateGrayFilling
Definition: customelementgraphicpart.h:177
CustomElementGraphicPart::lineStyle
LineStyle lineStyle() const
Definition: customelementgraphicpart.h:275
CustomElementGraphicPart::HTMLRedRedFilling
@ HTMLRedRedFilling
Definition: customelementgraphicpart.h:78
CustomElementGraphicPart::HTMLWhiteGhostWhiteFilling
@ HTMLWhiteGhostWhiteFilling
Definition: customelementgraphicpart.h:162
CustomElementGraphicPart::HTMLWhiteMintCreamFilling
@ HTMLWhiteMintCreamFilling
Definition: customelementgraphicpart.h:160
CustomElementGraphicPart::HTMLPurpleIndigoFilling
@ HTMLPurpleIndigoFilling
Definition: customelementgraphicpart.h:154
CustomElementGraphicPart::HTMLPurplePlumColor
@ HTMLPurplePlumColor
Definition: customelementgraphicpart.h:239
CustomElementGraphicPart::HTMLPurpleMediumSlateBlueColor
@ HTMLPurpleMediumSlateBlueColor
Definition: customelementgraphicpart.h:247
CustomElementGraphicPart::FdiagFilling
@ FdiagFilling
Definition: customelementgraphicpart.h:180
CustomElementGraphicPart::HTMLPurpleDarkMagentaColor
@ HTMLPurpleDarkMagentaColor
Definition: customelementgraphicpart.h:244
CustomElementGraphicPart::HTMLWhiteWhiteColor
@ HTMLWhiteWhiteColor
Definition: customelementgraphicpart.h:248
CustomElementGraphicPart::HTMLGrayDarkSlateGrayColor
@ HTMLGrayDarkSlateGrayColor
Definition: customelementgraphicpart.h:260
CustomElementGraphicPart::HTMLRedIndianRedColor
@ HTMLRedIndianRedColor
Definition: customelementgraphicpart.h:193
CustomElementGraphicPart::antialiased
bool antialiased() const
Definition: customelementgraphicpart.h:288
CustomElementGraphicPart::HTMLGreenLimeColor
@ HTMLGreenLimeColor
Definition: customelementgraphicpart.h:215
CustomElementGraphicPart::NoneColor
@ NoneColor
Definition: customelementgraphicpart.h:261
CustomElementGraphicPart::HTMLCyanDarkTurquoiseFilling
@ HTMLCyanDarkTurquoiseFilling
Definition: customelementgraphicpart.h:127
CustomElementGraphicPart::hoverLeaveEvent
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) override
CustomElementGraphicPart::hoverLeaveEvent Reimplemented from QGraphicsObject. Set m_hovered to false.
Definition: customelementgraphicpart.cpp:1293
CustomElementGraphicPart::HTMLYellowMoccasinFilling
@ HTMLYellowMoccasinFilling
Definition: customelementgraphicpart.h:86
CustomElementGraphicPart::HTMLBlueRoyalBlueColor
@ HTMLBlueRoyalBlueColor
Definition: customelementgraphicpart.h:235
CustomElementGraphicPart::HTMLGreenDarkGreenFilling
@ HTMLGreenDarkGreenFilling
Definition: customelementgraphicpart.h:120
CustomElementGraphicPart::CyanFilling
@ CyanFilling
Definition: customelementgraphicpart.h:67
CustomElementGraphicPart::HTMLRedCrimsonFilling
@ HTMLRedCrimsonFilling
Definition: customelementgraphicpart.h:76
CustomElementGraphicPart::HTMLPurpleFuchsiaColor
@ HTMLPurpleFuchsiaColor
Definition: customelementgraphicpart.h:240
CustomElementGraphicPart::HTMLCyanLightCyanColor
@ HTMLCyanLightCyanColor
Definition: customelementgraphicpart.h:225
CustomElementGraphicPart::filling
Filling filling
Definition: customelementgraphicpart.h:43
CustomElementGraphicPart::HTMLPinkHotPinkFilling
@ HTMLPinkHotPinkFilling
Definition: customelementgraphicpart.h:70
CustomElementGraphicPart::HTMLYellowDarkKhakiFilling
@ HTMLYellowDarkKhakiFilling
Definition: customelementgraphicpart.h:90
CustomElementGraphicPart::HTMLWhiteSnowColor
@ HTMLWhiteSnowColor
Definition: customelementgraphicpart.h:248
CustomElementGraphicPart::Filling
Filling
Definition: customelementgraphicpart.h:64
CustomElementGraphicPart::_linestyle
LineStyle _linestyle
Definition: customelementgraphicpart.h:325
CustomElementGraphicPart::HTMLGreenOliveFilling
@ HTMLGreenOliveFilling
Definition: customelementgraphicpart.h:105
CustomElementGraphicPart::YellowFilling
@ YellowFilling
Definition: customelementgraphicpart.h:66
CustomElementGraphicPart::HTMLBrownPeruColor
@ HTMLBrownPeruColor
Definition: customelementgraphicpart.h:210
CustomElementGraphicPart::HTMLBlueCornflowerBlueFilling
@ HTMLBlueCornflowerBlueFilling
Definition: customelementgraphicpart.h:137
CustomElementGraphicPart::HTMLGreenGreenYellowColor
@ HTMLGreenGreenYellowColor
Definition: customelementgraphicpart.h:217
CustomElementGraphicPart::HTMLGreenDarkSeaGreenColor
@ HTMLGreenDarkSeaGreenColor
Definition: customelementgraphicpart.h:220
CustomElementGraphicPart::HTMLCyanDarkTurquoiseColor
@ HTMLCyanDarkTurquoiseColor
Definition: customelementgraphicpart.h:228
CustomElementGraphicPart::HTMLBrownNavajoWhiteColor
@ HTMLBrownNavajoWhiteColor
Definition: customelementgraphicpart.h:206
CustomElementGraphicPart::HTMLBrownChocolateFilling
@ HTMLBrownChocolateFilling
Definition: customelementgraphicpart.h:100
CustomElementGraphicPart::HTMLPurpleIndigoColor
@ HTMLPurpleIndigoColor
Definition: customelementgraphicpart.h:245
CustomElementGraphicPart::_antialiased
bool _antialiased
Definition: customelementgraphicpart.h:329
CustomElementGraphicPart::RedColor
@ RedColor
Definition: customelementgraphicpart.h:185
CustomElementGraphicPart::GreenFilling
@ GreenFilling
Definition: customelementgraphicpart.h:65
CustomElementGraphicPart::HTMLGreenDarkOliveGreenColor
@ HTMLGreenDarkOliveGreenColor
Definition: customelementgraphicpart.h:213
CustomElementGraphicPart::HTMLPinkPaleVioletRedFilling
@ HTMLPinkPaleVioletRedFilling
Definition: customelementgraphicpart.h:71
CustomElementGraphicPart::BlackFilling
@ BlackFilling
Definition: customelementgraphicpart.h:64
CustomElementGraphicPart::HTMLBrownNavajoWhiteFilling
@ HTMLBrownNavajoWhiteFilling
Definition: customelementgraphicpart.h:94
CustomElementGraphicPart::LineStyle
LineStyle
Definition: customelementgraphicpart.h:49
CustomElementGraphicPart::HTMLGrayLightSlateGrayColor
@ HTMLGrayLightSlateGrayColor
Definition: customelementgraphicpart.h:259
CustomElementGraphicPart::HTMLPinkLightPinkFilling
@ HTMLPinkLightPinkFilling
Definition: customelementgraphicpart.h:69
CustomElementGraphicPart::HTMLPurpleMediumSlateBlueFilling
@ HTMLPurpleMediumSlateBlueFilling
Definition: customelementgraphicpart.h:157
CustomElementGraphicPart::HTMLYellowGoldColor
@ HTMLYellowGoldColor
Definition: customelementgraphicpart.h:204
CustomElementGraphicPart::HTMLGreenSeaGreenFilling
@ HTMLGreenSeaGreenFilling
Definition: customelementgraphicpart.h:118
CustomElementGraphicPart::stylesFromXml
void stylesFromXml(const QDomElement &)
CustomElementGraphicPart::stylesFromXml Read the style used by this, from a xml element.
Definition: customelementgraphicpart.cpp:508
CustomElementGraphicPart::HTMLGreenLightGreenFilling
@ HTMLGreenLightGreenFilling
Definition: customelementgraphicpart.h:113
CustomElementGraphicPart::HTMLBrownWheatFilling
@ HTMLBrownWheatFilling
Definition: customelementgraphicpart.h:95
CustomElementGraphicPart::HTMLGrayDarkGrayFilling
@ HTMLGrayDarkGrayFilling
Definition: customelementgraphicpart.h:174
CustomElementGraphicPart::_color
Color _color
Definition: customelementgraphicpart.h:328
CustomElementGraphicPart::HTMLWhiteAntiqueWhiteColor
@ HTMLWhiteAntiqueWhiteColor
Definition: customelementgraphicpart.h:254
CustomElementGraphicPart::HTMLOrangeTomatoFilling
@ HTMLOrangeTomatoFilling
Definition: customelementgraphicpart.h:79
CustomElementGraphicPart::HTMLRedCrimsonColor
@ HTMLRedCrimsonColor
Definition: customelementgraphicpart.h:194
CustomElementGraphicPart::HTMLBlueSkyBlueFilling
@ HTMLBlueSkyBlueFilling
Definition: customelementgraphicpart.h:133
CustomElementGraphicPart::HTMLGreenGreenColor
@ HTMLGreenGreenColor
Definition: customelementgraphicpart.h:223
CustomElementGraphicPart::filling
Filling filling() const
Definition: customelementgraphicpart.h:282
CustomElementGraphicPart::HTMLYellowYellowFilling
@ HTMLYellowYellowFilling
Definition: customelementgraphicpart.h:81
CustomElementGraphicPart::HTMLCyanCadetBlueColor
@ HTMLCyanCadetBlueColor
Definition: customelementgraphicpart.h:229
CustomElementGraphicPart::LineWeight
LineWeight
Definition: customelementgraphicpart.h:56
CustomElementGraphicPart::HTMLGreenSpringGreenColor
@ HTMLGreenSpringGreenColor
Definition: customelementgraphicpart.h:217
CustomElementGraphicPart::HTMLPinkMediumVioletRedFilling
@ HTMLPinkMediumVioletRedFilling
Definition: customelementgraphicpart.h:72
CustomElementGraphicPart::HTMLGreenDarkOliveGreenFilling
@ HTMLGreenDarkOliveGreenFilling
Definition: customelementgraphicpart.h:104
CustomElementGraphicPart::_filling
Filling _filling
Definition: customelementgraphicpart.h:327
CustomElementGraphicPart::HTMLGreenLawnGreenFilling
@ HTMLGreenLawnGreenFilling
Definition: customelementgraphicpart.h:108
CustomElementGraphicPart::BrunFilling
@ BrunFilling
Definition: customelementgraphicpart.h:66
CustomElementGraphicPart::color
Color color() const
Definition: customelementgraphicpart.h:285
CustomElementGraphicPart::line_weight
LineWeight line_weight
Definition: customelementgraphicpart.h:42
CustomElementGraphicPart::VerFilling
@ VerFilling
Definition: customelementgraphicpart.h:179
CustomElementGraphicPart::HTMLRedLightSalmonColor
@ HTMLRedLightSalmonColor
Definition: customelementgraphicpart.h:191
CustomElementGraphicPart::HTMLBlueSkyBlueColor
@ HTMLBlueSkyBlueColor
Definition: customelementgraphicpart.h:232
CustomElementGraphicPart::HTMLRedSalmonFilling
@ HTMLRedSalmonFilling
Definition: customelementgraphicpart.h:73
CustomElementPart::updateCurrentPartEditor
virtual void updateCurrentPartEditor() const
Definition: customelementpart.cpp:30
CustomElementGraphicPart::HTMLCyanMediumTurquoiseColor
@ HTMLCyanMediumTurquoiseColor
Definition: customelementgraphicpart.h:227
CustomElementGraphicPart::HTMLBlueBlueFilling
@ HTMLBlueBlueFilling
Definition: customelementgraphicpart.h:139
CustomElementGraphicPart::HTMLBlueLightSkyBlueColor
@ HTMLBlueLightSkyBlueColor
Definition: customelementgraphicpart.h:232
CustomElementGraphicPart::HTMLPinkPaleVioletRedColor
@ HTMLPinkPaleVioletRedColor
Definition: customelementgraphicpart.h:190
CustomElementGraphicPart::HTMLBrownBrownColor
@ HTMLBrownBrownColor
Definition: customelementgraphicpart.h:212
CustomElementGraphicPart::HTMLGrayGainsboroFilling
@ HTMLGrayGainsboroFilling
Definition: customelementgraphicpart.h:172
CustomElementGraphicPart::HTMLBlueDodgerBlueFilling
@ HTMLBlueDodgerBlueFilling
Definition: customelementgraphicpart.h:136
CustomElementGraphicPart::HTMLWhiteWhiteSmokeColor
@ HTMLWhiteWhiteSmokeColor
Definition: customelementgraphicpart.h:251
CustomElementGraphicPart::HTMLRedLightSalmonFilling
@ HTMLRedLightSalmonFilling
Definition: customelementgraphicpart.h:73
CustomElementGraphicPart::HTMLWhiteIvoryColor
@ HTMLWhiteIvoryColor
Definition: customelementgraphicpart.h:254
CustomElementGraphicPart::HTMLBrownSaddleBrownColor
@ HTMLBrownSaddleBrownColor
Definition: customelementgraphicpart.h:211
CustomElementGraphicPart::_lineweight
LineWeight _lineweight
Definition: customelementgraphicpart.h:326
CustomElementGraphicPart::HTMLRedRedColor
@ HTMLRedRedColor
Definition: customelementgraphicpart.h:195
CustomElementGraphicPart::HTMLGreenYellowGreenFilling
@ HTMLGreenYellowGreenFilling
Definition: customelementgraphicpart.h:106
CustomElementGraphicPart::HTMLGrayBlackColor
@ HTMLGrayBlackColor
Definition: customelementgraphicpart.h:261
CustomElementGraphicPart::resetStyles
void resetStyles()
CustomElementGraphicPart::resetStyles Reset the curent style to default, same style of default constr...
Definition: customelementgraphicpart.cpp:871
CustomElementGraphicPart::HTMLWhiteGhostWhiteColor
@ HTMLWhiteGhostWhiteColor
Definition: customelementgraphicpart.h:251
CustomElementGraphicPart::HTMLBlueRoyalBlueFilling
@ HTMLBlueRoyalBlueFilling
Definition: customelementgraphicpart.h:139
CustomElementGraphicPart::HTMLGreenMediumAquamarineFilling
@ HTMLGreenMediumAquamarineFilling
Definition: customelementgraphicpart.h:116
CustomElementGraphicPart::HTMLYellowPapayaWhipFilling
@ HTMLYellowPapayaWhipFilling
Definition: customelementgraphicpart.h:85
CustomElementGraphicPart::HTMLPurplePurpleFilling
@ HTMLPurplePurpleFilling
Definition: customelementgraphicpart.h:154
CustomElementGraphicPart::HTMLCyanAquamarineColor
@ HTMLCyanAquamarineColor
Definition: customelementgraphicpart.h:226
CustomElementGraphicPart::HorFilling
@ HorFilling
Definition: customelementgraphicpart.h:179
CustomElementGraphicPart::DottedStyle
@ DottedStyle
Definition: customelementgraphicpart.h:51
CustomElementGraphicPart::setHandlerColor
virtual void setHandlerColor(QPointF, const QColor &)
Definition: customelementgraphicpart.h:301
CustomElementGraphicPart::HTMLPurpleOrchidColor
@ HTMLPurpleOrchidColor
Definition: customelementgraphicpart.h:240
CustomElementGraphicPart::HTMLCyanAquaColor
@ HTMLCyanAquaColor
Definition: customelementgraphicpart.h:224
elementscene.h
CustomElementGraphicPart::HTMLCyanLightCyanFilling
@ HTMLCyanLightCyanFilling
Definition: customelementgraphicpart.h:122
CustomElementGraphicPart::HTMLOrangeDarkOrangeColor
@ HTMLOrangeDarkOrangeColor
Definition: customelementgraphicpart.h:197
CustomElementGraphicPart::NormalStyle
@ NormalStyle
Definition: customelementgraphicpart.h:49
CustomElementGraphicPart::HTMLYellowPeachPuffColor
@ HTMLYellowPeachPuffColor
Definition: customelementgraphicpart.h:202
CustomElementGraphicPart::mousePressEvent
void mousePressEvent(QGraphicsSceneMouseEvent *event) override
Definition: customelementgraphicpart.cpp:1299
CustomElementGraphicPart::HTMLOrangeOrangeRedFilling
@ HTMLOrangeOrangeRedFilling
Definition: customelementgraphicpart.h:78
CustomElementGraphicPart::LightgrayColor
@ LightgrayColor
Definition: customelementgraphicpart.h:187
CustomElementGraphicPart::HTMLBrownWheatColor
@ HTMLBrownWheatColor
Definition: customelementgraphicpart.h:206
CustomElementGraphicPart::UltraWeight
@ UltraWeight
Definition: customelementgraphicpart.h:59
CustomElementGraphicPart::HTMLBrownBlanchedAlmondFilling
@ HTMLBrownBlanchedAlmondFilling
Definition: customelementgraphicpart.h:92
CustomElementGraphicPart::HTMLBlueMidnightBlueColor
@ HTMLBlueMidnightBlueColor
Definition: customelementgraphicpart.h:237
CustomElementGraphicPart::HTMLGreenLightGreenColor
@ HTMLGreenLightGreenColor
Definition: customelementgraphicpart.h:219
CustomElementGraphicPart::HTMLGrayGrayFilling
@ HTMLGrayGrayFilling
Definition: customelementgraphicpart.h:174
CustomElementGraphicPart::HTMLBrownSiennaColor
@ HTMLBrownSiennaColor
Definition: customelementgraphicpart.h:211
CustomElementGraphicPart::HTMLBrownPeruFilling
@ HTMLBrownPeruFilling
Definition: customelementgraphicpart.h:100
qpropertyundocommand.h
CustomElementGraphicPart::HTMLCyanTealFilling
@ HTMLCyanTealFilling
Definition: customelementgraphicpart.h:130
CustomElementGraphicPart::HTMLPurpleDarkSlateBlueFilling
@ HTMLPurpleDarkSlateBlueFilling
Definition: customelementgraphicpart.h:155
CustomElementGraphicPart::HTMLWhiteMistyRoseFilling
@ HTMLWhiteMistyRoseFilling
Definition: customelementgraphicpart.h:171
CustomElementGraphicPart::HTMLGrayLightGrayColor
@ HTMLGrayLightGrayColor
Definition: customelementgraphicpart.h:257
CustomElementGraphicPart::HTMLGreenOliveColor
@ HTMLGreenOliveColor
Definition: customelementgraphicpart.h:213
CustomElementGraphicPart::HTMLPurplePurpleColor
@ HTMLPurplePurpleColor
Definition: customelementgraphicpart.h:244
CustomElementGraphicPart::HTMLBlueSteelBlueFilling
@ HTMLBlueSteelBlueFilling
Definition: customelementgraphicpart.h:138
CustomElementGraphicPart::HTMLGreenMediumSpringGreenColor
@ HTMLGreenMediumSpringGreenColor
Definition: customelementgraphicpart.h:218
CustomElementGraphicPart::HTMLCyanPaleTurquoiseColor
@ HTMLCyanPaleTurquoiseColor
Definition: customelementgraphicpart.h:226
CustomElementGraphicPart::HTMLPurpleSlateBlueFilling
@ HTMLPurpleSlateBlueFilling
Definition: customelementgraphicpart.h:156
CustomElementGraphicPart::HTMLPurpleMagentaFilling
@ HTMLPurpleMagentaFilling
Definition: customelementgraphicpart.h:147
CustomElementGraphicPart::HTMLPurpleBlueVioletFilling
@ HTMLPurpleBlueVioletFilling
Definition: customelementgraphicpart.h:150
CustomElementGraphicPart::m_origin_pos
QPointF m_origin_pos
Definition: customelementgraphicpart.h:330
CustomElementGraphicPart::HTMLYellowPapayaWhipColor
@ HTMLYellowPapayaWhipColor
Definition: customelementgraphicpart.h:201
CustomElementGraphicPart::HTMLGrayBlackFilling
@ HTMLGrayBlackFilling
Definition: customelementgraphicpart.h:179
CustomElementGraphicPart::setAntialiased
void setAntialiased(const bool b)
CustomElementGraphicPart::setAntialiased Set antialias to b.
Definition: customelementgraphicpart.cpp:147
CustomElementGraphicPart::HTMLYellowLightGoldenrodYellowColor
@ HTMLYellowLightGoldenrodYellowColor
Definition: customelementgraphicpart.h:200
CustomElementGraphicPart::HTMLWhiteMintCreamColor
@ HTMLWhiteMintCreamColor
Definition: customelementgraphicpart.h:249
CustomElementGraphicPart::HTMLYellowYellowColor
@ HTMLYellowYellowColor
Definition: customelementgraphicpart.h:198
CustomElementGraphicPart::HTMLPurpleSlateBlueColor
@ HTMLPurpleSlateBlueColor
Definition: customelementgraphicpart.h:246
CustomElementGraphicPart::HTMLOrangeOrangeFilling
@ HTMLOrangeOrangeFilling
Definition: customelementgraphicpart.h:81
CustomElementGraphicPart::HTMLPurpleMediumPurpleFilling
@ HTMLPurpleMediumPurpleFilling
Definition: customelementgraphicpart.h:149
CustomElementGraphicPart::HTMLGreenGreenYellowFilling
@ HTMLGreenGreenYellowFilling
Definition: customelementgraphicpart.h:110
CustomElementGraphicPart::HTMLRedLightCoralFilling
@ HTMLRedLightCoralFilling
Definition: customelementgraphicpart.h:75
CustomElementGraphicPart::HTMLCyanLightSeaGreenFilling
@ HTMLCyanLightSeaGreenFilling
Definition: customelementgraphicpart.h:128
CustomElementGraphicPart::HTMLWhiteWhiteSmokeFilling
@ HTMLWhiteWhiteSmokeFilling
Definition: customelementgraphicpart.h:163
CustomElementGraphicPart::HTMLYellowPaleGoldenrodFilling
@ HTMLYellowPaleGoldenrodFilling
Definition: customelementgraphicpart.h:88
CustomElementGraphicPart::HTMLGreenLawnGreenColor
@ HTMLGreenLawnGreenColor
Definition: customelementgraphicpart.h:216
CustomElementGraphicPart::m_hovered
bool m_hovered
Definition: customelementgraphicpart.h:323
CustomElementGraphicPart::HTMLWhiteFloralWhiteFilling
@ HTMLWhiteFloralWhiteFilling
Definition: customelementgraphicpart.h:166
CustomElementGraphicPart::HTMLCyanDarkCyanColor
@ HTMLCyanDarkCyanColor
Definition: customelementgraphicpart.h:229
CustomElementGraphicPart::HTMLOrangeDarkOrangeFilling
@ HTMLOrangeDarkOrangeFilling
Definition: customelementgraphicpart.h:80
CustomElementGraphicPart::HTMLGrayGrayColor
@ HTMLGrayGrayColor
Definition: customelementgraphicpart.h:258
CustomElementGraphicPart::HTMLGrayDarkSlateGrayFilling
@ HTMLGrayDarkSlateGrayFilling
Definition: customelementgraphicpart.h:178
CustomElementGraphicPart::HTMLPinkPinkColor
@ HTMLPinkPinkColor
Definition: customelementgraphicpart.h:188
CustomElementGraphicPart::HTMLWhiteFloralWhiteColor
@ HTMLWhiteFloralWhiteColor
Definition: customelementgraphicpart.h:253
CustomElementGraphicPart::HTMLWhiteOldLaceColor
@ HTMLWhiteOldLaceColor
Definition: customelementgraphicpart.h:253
CustomElementGraphicPart::HTMLCyanTealColor
@ HTMLCyanTealColor
Definition: customelementgraphicpart.h:230
CustomElementGraphicPart::HTMLPurpleVioletFilling
@ HTMLPurpleVioletFilling
Definition: customelementgraphicpart.h:145
CustomElementGraphicPart::BlueFilling
@ BlueFilling
Definition: customelementgraphicpart.h:65
CustomElementGraphicPart::HTMLYellowLightGoldenrodYellowFilling
@ HTMLYellowLightGoldenrodYellowFilling
Definition: customelementgraphicpart.h:84
CustomElementGraphicPart::OrangeFilling
@ OrangeFilling
Definition: customelementgraphicpart.h:68
CustomElementGraphicPart::HTMLRedFirebrickFilling
@ HTMLRedFirebrickFilling
Definition: customelementgraphicpart.h:77
CustomElementGraphicPart::HTMLGrayDimGrayColor
@ HTMLGrayDimGrayColor
Definition: customelementgraphicpart.h:259
CustomElementGraphicPart::HTMLPinkDeepPinkFilling
@ HTMLPinkDeepPinkFilling
Definition: customelementgraphicpart.h:70
CustomElementGraphicPart::HTMLWhiteLinenColor
@ HTMLWhiteLinenColor
Definition: customelementgraphicpart.h:255
CustomElementGraphicPart::mouseMoveEvent
void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
Definition: customelementgraphicpart.cpp:1307
CustomElementGraphicPart::HTMLGrayDarkGrayColor
@ HTMLGrayDarkGrayColor
Definition: customelementgraphicpart.h:258
CustomElementGraphicPart::HTMLPurpleDarkOrchidColor
@ HTMLPurpleDarkOrchidColor
Definition: customelementgraphicpart.h:243
CustomElementGraphicPart::HTMLPurpleVioletColor
@ HTMLPurpleVioletColor
Definition: customelementgraphicpart.h:239
CustomElementGraphicPart::HTMLWhiteHoneydewFilling
@ HTMLWhiteHoneydewFilling
Definition: customelementgraphicpart.h:159
CustomElementGraphicPart::HTMLPinkMediumVioletRedColor
@ HTMLPinkMediumVioletRedColor
Definition: customelementgraphicpart.h:191
customelementgraphicpart.h
CustomElementGraphicPart::HTMLWhiteAntiqueWhiteFilling
@ HTMLWhiteAntiqueWhiteFilling
Definition: customelementgraphicpart.h:168
CustomElementGraphicPart::HTMLRedIndianRedFilling
@ HTMLRedIndianRedFilling
Definition: customelementgraphicpart.h:76
CustomElementGraphicPart::HTMLPurpleDarkMagentaFilling
@ HTMLPurpleDarkMagentaFilling
Definition: customelementgraphicpart.h:153
CustomElementGraphicPart::HTMLBrownBisqueFilling
@ HTMLBrownBisqueFilling
Definition: customelementgraphicpart.h:93
SHADOWS_HEIGHT
#define SHADOWS_HEIGHT
Definition: customelementgraphicpart.h:37
CustomElementGraphicPart::HTMLGrayLightGrayFilling
@ HTMLGrayLightGrayFilling
Definition: customelementgraphicpart.h:173
CustomElementGraphicPart::HTMLCyanAquamarineFilling
@ HTMLCyanAquamarineFilling
Definition: customelementgraphicpart.h:124
CustomElementGraphicPart::HTMLCyanTurquoiseFilling
@ HTMLCyanTurquoiseFilling
Definition: customelementgraphicpart.h:125
CustomElementGraphicPart::HTMLCyanTurquoiseColor
@ HTMLCyanTurquoiseColor
Definition: customelementgraphicpart.h:227
CustomElementGraphicPart::BlackColor
@ BlackColor
Definition: customelementgraphicpart.h:185
CustomElementGraphicPart::HTMLOrangeOrangeColor
@ HTMLOrangeOrangeColor
Definition: customelementgraphicpart.h:198
CustomElementGraphicPart::HTMLBlueDeepSkyBlueColor
@ HTMLBlueDeepSkyBlueColor
Definition: customelementgraphicpart.h:233
CustomElementGraphicPart::WhiteColor
@ WhiteColor
Definition: customelementgraphicpart.h:185
CustomElementGraphicPart::HTMLRedDarkRedColor
@ HTMLRedDarkRedColor
Definition: customelementgraphicpart.h:195
CustomElementGraphicPart::HTMLGreenChartreuseFilling
@ HTMLGreenChartreuseFilling
Definition: customelementgraphicpart.h:109
CustomElementGraphicPart::HTMLGreenDarkGreenColor
@ HTMLGreenDarkGreenColor
Definition: customelementgraphicpart.h:224
CustomElementGraphicPart::color
Color color
Definition: customelementgraphicpart.h:44
CustomElementGraphicPart::HTMLYellowKhakiColor
@ HTMLYellowKhakiColor
Definition: customelementgraphicpart.h:203
CustomElementGraphicPart::HTMLPurpleFuchsiaFilling
@ HTMLPurpleFuchsiaFilling
Definition: customelementgraphicpart.h:146
CustomElementGraphicPart::HTMLCyanPaleTurquoiseFilling
@ HTMLCyanPaleTurquoiseFilling
Definition: customelementgraphicpart.h:123
CustomElementGraphicPart::line_style
LineStyle line_style
Definition: customelementgraphicpart.h:41
CustomElementGraphicPart::HTMLWhiteSeashellColor
@ HTMLWhiteSeashellColor
Definition: customelementgraphicpart.h:252
CustomElementGraphicPart::WhiteFilling
@ WhiteFilling
Definition: customelementgraphicpart.h:64
CustomElementGraphicPart::HTMLGreenOliveDrabColor
@ HTMLGreenOliveDrabColor
Definition: customelementgraphicpart.h:214
CustomElementGraphicPart::HTMLBlueDodgerBlueColor
@ HTMLBlueDodgerBlueColor
Definition: customelementgraphicpart.h:233
CustomElementGraphicPart::HTMLBrownRosyBrownColor
@ HTMLBrownRosyBrownColor
Definition: customelementgraphicpart.h:208
CustomElementGraphicPart::HTMLBlueMediumBlueFilling
@ HTMLBlueMediumBlueFilling
Definition: customelementgraphicpart.h:140
CustomElementGraphicPart::HTMLPinkHotPinkColor
@ HTMLPinkHotPinkColor
Definition: customelementgraphicpart.h:189
CustomElementGraphicPart::HTMLYellowPaleGoldenrodColor
@ HTMLYellowPaleGoldenrodColor
Definition: customelementgraphicpart.h:202
CEGP
CustomElementGraphicPart CEGP
Definition: customelementgraphicpart.h:333
CustomElementGraphicPart::HTMLBlueDarkBlueColor
@ HTMLBlueDarkBlueColor
Definition: customelementgraphicpart.h:236
CustomElementGraphicPart::HTMLBrownSandyBrownColor
@ HTMLBrownSandyBrownColor
Definition: customelementgraphicpart.h:208
CustomElementGraphicPart::HTMLOrangeCoralFilling
@ HTMLOrangeCoralFilling
Definition: customelementgraphicpart.h:79
CustomElementPart
The CustomElementPart class This abstract class represents a primitive of the visual representation o...
Definition: customelementpart.h:40
CustomElementPart::elementScene
virtual ElementScene * elementScene() const
Definition: customelementpart.cpp:37
CustomElementGraphicPart::HTMLYellowLightYellowFilling
@ HTMLYellowLightYellowFilling
Definition: customelementgraphicpart.h:82
CustomElementGraphicPart::HTMLWhiteAzureColor
@ HTMLWhiteAzureColor
Definition: customelementgraphicpart.h:250
CustomElementGraphicPart::HTMLCyanLightSeaGreenColor
@ HTMLCyanLightSeaGreenColor
Definition: customelementgraphicpart.h:228
CustomElementGraphicPart::HTMLBrownBisqueColor
@ HTMLBrownBisqueColor
Definition: customelementgraphicpart.h:205
CustomElementGraphicPart::HTMLGrayLightSlateGrayFilling
@ HTMLGrayLightSlateGrayFilling
Definition: customelementgraphicpart.h:176
CustomElementGraphicPart::HTMLPurpleDarkSlateBlueColor
@ HTMLPurpleDarkSlateBlueColor
Definition: customelementgraphicpart.h:245
CustomElementGraphicPart::setLineWeight
void setLineWeight(const LineWeight lw)
CustomElementGraphicPart::setLineWeight Set line weight to lw.
Definition: customelementgraphicpart.cpp:98
CustomElementGraphicPart::HTMLWhiteAzureFilling
@ HTMLWhiteAzureFilling
Definition: customelementgraphicpart.h:160
CustomElementGraphicPart::setColor
void setColor(const Color c)
CustomElementGraphicPart::setColor Set color to c.
Definition: customelementgraphicpart.cpp:135
CustomElementGraphicPart::HTMLBrownBurlywoodFilling
@ HTMLBrownBurlywoodFilling
Definition: customelementgraphicpart.h:95
CustomElementGraphicPart::HTMLWhiteAliceBlueColor
@ HTMLWhiteAliceBlueColor
Definition: customelementgraphicpart.h:250
CustomElementGraphicPart::HTMLCyanAquaFilling
@ HTMLCyanAquaFilling
Definition: customelementgraphicpart.h:121
CustomElementGraphicPart::HTMLBrownCornsilkFilling
@ HTMLBrownCornsilkFilling
Definition: customelementgraphicpart.h:91
CustomElementGraphicPart::HTMLGreenMediumAquamarineColor
@ HTMLGreenMediumAquamarineColor
Definition: customelementgraphicpart.h:221
CustomElementGraphicPart::HTMLBrownDarkGoldenrodColor
@ HTMLBrownDarkGoldenrodColor
Definition: customelementgraphicpart.h:209
CustomElementGraphicPart::HTMLBrownMaroonColor
@ HTMLBrownMaroonColor
Definition: customelementgraphicpart.h:212
CustomElementGraphicPart::MagentaFilling
@ MagentaFilling
Definition: customelementgraphicpart.h:67
CustomElementGraphicPart::NoneFilling
@ NoneFilling
Definition: customelementgraphicpart.h:64
CustomElementGraphicPart::NoneWeight
@ NoneWeight
Definition: customelementgraphicpart.h:56
CustomElementGraphicPart::HTMLRedFirebrickColor
@ HTMLRedFirebrickColor
Definition: customelementgraphicpart.h:194
CustomElementGraphicPart::applyStylesToQPainter
void applyStylesToQPainter(QPainter &) const
CustomElementGraphicPart::applyStylesToQPainter Apply the current style to the QPainter.
Definition: customelementgraphicpart.cpp:885
CustomElementGraphicPart::HTMLBlueLightSteelBlueColor
@ HTMLBlueLightSteelBlueColor
Definition: customelementgraphicpart.h:230
CustomElementGraphicPart::setProperty
void setProperty(const char *name, const QVariant &value) override
Definition: customelementgraphicpart.h:294
CustomElementGraphicPart::HTMLGraySilverColor
@ HTMLGraySilverColor
Definition: customelementgraphicpart.h:257
CustomElementGraphicPart::penWeight
qreal penWeight() const
CustomElementGraphicPart::penWeight.
Definition: customelementgraphicpart.cpp:109
CustomElementGraphicPart::HTMLBlueLightBlueFilling
@ HTMLBlueLightBlueFilling
Definition: customelementgraphicpart.h:133
CustomElementGraphicPart::HTMLBrownBlanchedAlmondColor
@ HTMLBrownBlanchedAlmondColor
Definition: customelementgraphicpart.h:205
CustomElementGraphicPart::HTMLBlueMidnightBlueFilling
@ HTMLBlueMidnightBlueFilling
Definition: customelementgraphicpart.h:142
CustomElementGraphicPart::antialias
bool antialias
Definition: customelementgraphicpart.h:45
CustomElementGraphicPart::BigWeight
@ BigWeight
Definition: customelementgraphicpart.h:60
CustomElementGraphicPart::HTMLRedLightCoralColor
@ HTMLRedLightCoralColor
Definition: customelementgraphicpart.h:193
CustomElementGraphicPart::HTMLGrayDimGrayFilling
@ HTMLGrayDimGrayFilling
Definition: customelementgraphicpart.h:175
CustomElementGraphicPart::HTMLBrownBrownFilling
@ HTMLBrownBrownFilling
Definition: customelementgraphicpart.h:102
CustomElementGraphicPart::HTMLPinkLightPinkColor
@ HTMLPinkLightPinkColor
Definition: customelementgraphicpart.h:188
CustomElementGraphicPart::itemChange
QVariant itemChange(GraphicsItemChange change, const QVariant &value) override
CustomElementGraphicPart::itemChange Reimplemented from QGraphicsObject. If the item position change ...
Definition: customelementgraphicpart.cpp:1266
CustomElementGraphicPart::YellowColor
@ YellowColor
Definition: customelementgraphicpart.h:186
CustomElementGraphicPart::HTMLPurpleThistleFilling
@ HTMLPurpleThistleFilling
Definition: customelementgraphicpart.h:144
CustomElementGraphicPart::HTMLBrownCornsilkColor
@ HTMLBrownCornsilkColor
Definition: customelementgraphicpart.h:204
CustomElementGraphicPart::HTMLGreenMediumSeaGreenFilling
@ HTMLGreenMediumSeaGreenFilling
Definition: customelementgraphicpart.h:117
CustomElementGraphicPart::HTMLBrownSandyBrownFilling
@ HTMLBrownSandyBrownFilling
Definition: customelementgraphicpart.h:97
CustomElementGraphicPart::HTMLBluePowderBlueFilling
@ HTMLBluePowderBlueFilling
Definition: customelementgraphicpart.h:132
CustomElementGraphicPart::HTMLGreenChartreuseColor
@ HTMLGreenChartreuseColor
Definition: customelementgraphicpart.h:216
QPropertyUndoCommand
The QPropertyUndoCommand class This undo command manage QProperty of a QObject. This undo command can...
Definition: qpropertyundocommand.h:34
CustomElementGraphicPart::HTMLGraySilverFilling
@ HTMLGraySilverFilling
Definition: customelementgraphicpart.h:173
CustomElementGraphicPart::HTMLBlueLightBlueColor
@ HTMLBlueLightBlueColor
Definition: customelementgraphicpart.h:231
CustomElementGraphicPart::HTMLPurpleMediumOrchidFilling
@ HTMLPurpleMediumOrchidFilling
Definition: customelementgraphicpart.h:148
CustomElementGraphicPart::HTMLBluePowderBlueColor
@ HTMLBluePowderBlueColor
Definition: customelementgraphicpart.h:231
CustomElementGraphicPart::GrayColor
@ GrayColor
Definition: customelementgraphicpart.h:186
CustomElementGraphicPart::BlueColor
@ BlueColor
Definition: customelementgraphicpart.h:185
CustomElementGraphicPart::HTMLYellowDarkKhakiColor
@ HTMLYellowDarkKhakiColor
Definition: customelementgraphicpart.h:203
CustomElementGraphicPart::HTMLGreenOliveDrabFilling
@ HTMLGreenOliveDrabFilling
Definition: customelementgraphicpart.h:105
CustomElementGraphicPart::HTMLPurplePlumFilling
@ HTMLPurplePlumFilling
Definition: customelementgraphicpart.h:144
CustomElementGraphicPart::HTMLPurpleThistleColor
@ HTMLPurpleThistleColor
Definition: customelementgraphicpart.h:238
CustomElementGraphicPart::HTMLPurpleBlueVioletColor
@ HTMLPurpleBlueVioletColor
Definition: customelementgraphicpart.h:242
CustomElementGraphicPart::Color
Color
Definition: customelementgraphicpart.h:184
CustomElementGraphicPart::HTMLBrownTanColor
@ HTMLBrownTanColor
Definition: customelementgraphicpart.h:207
CustomElementGraphicPart::HTMLBrownDarkGoldenrodFilling
@ HTMLBrownDarkGoldenrodFilling
Definition: customelementgraphicpart.h:99
CustomElementGraphicPart::HTMLBlueNavyColor
@ HTMLBlueNavyColor
Definition: customelementgraphicpart.h:237
CustomElementGraphicPart::HTMLWhiteOldLaceFilling
@ HTMLWhiteOldLaceFilling
Definition: customelementgraphicpart.h:165
QET::Icons::tr
QIcon tr
Definition: qeticons.cpp:206
CustomElementGraphicPart::OrangeColor
@ OrangeColor
Definition: customelementgraphicpart.h:187
customelementpart.h
CustomElementGraphicPart::GrayFilling
@ GrayFilling
Definition: customelementgraphicpart.h:66
CustomElementGraphicPart::HTMLPurpleLavenderColor
@ HTMLPurpleLavenderColor
Definition: customelementgraphicpart.h:238
CustomElementGraphicPart::HTMLPurpleDarkOrchidFilling
@ HTMLPurpleDarkOrchidFilling
Definition: customelementgraphicpart.h:152
CustomElementGraphicPart::HTMLGreenGreenFilling
@ HTMLGreenGreenFilling
Definition: customelementgraphicpart.h:120
CustomElementGraphicPart::DashedStyle
@ DashedStyle
Definition: customelementgraphicpart.h:50
CustomElementGraphicPart::HTMLYellowLightYellowColor
@ HTMLYellowLightYellowColor
Definition: customelementgraphicpart.h:199
QETElementEditor
Definition: qetelementeditor.h:33
CustomElementGraphicPart::LightgrayFilling
@ LightgrayFilling
Definition: customelementgraphicpart.h:67
CustomElementGraphicPart::HTMLBrownSiennaFilling
@ HTMLBrownSiennaFilling
Definition: customelementgraphicpart.h:102
CustomElementGraphicPart::HTMLCyanMediumTurquoiseFilling
@ HTMLCyanMediumTurquoiseFilling
Definition: customelementgraphicpart.h:126
CustomElementGraphicPart::HTMLWhiteMistyRoseColor
@ HTMLWhiteMistyRoseColor
Definition: customelementgraphicpart.h:256
CustomElementGraphicPart::drawShadowShape
void drawShadowShape(QPainter *painter)
CustomElementGraphicPart::drawShadowShape Draw a transparent blue shadow arround the shape of this it...
Definition: customelementgraphicpart.cpp:1240
CustomElementGraphicPart::HTMLBlueDarkBlueFilling
@ HTMLBlueDarkBlueFilling
Definition: customelementgraphicpart.h:141
CustomElementGraphicPart::property
QVariant property(const char *name) const override
Definition: customelementgraphicpart.h:297
CustomElementGraphicPart::CustomElementGraphicPart
CustomElementGraphicPart(QETElementEditor *editor, QGraphicsItem *parent=nullptr)
CustomElementGraphicPart::CustomElementGraphicPart Default constructor. By default,...
Definition: customelementgraphicpart.cpp:30
CustomElementGraphicPart::BdiagFilling
@ BdiagFilling
Definition: customelementgraphicpart.h:180
CustomElementGraphicPart::lineWeight
LineWeight lineWeight() const
Definition: customelementgraphicpart.h:278
CustomElementGraphicPart::HTMLPurpleDarkVioletColor
@ HTMLPurpleDarkVioletColor
Definition: customelementgraphicpart.h:243
CustomElementGraphicPart::HTMLGrayGainsboroColor
@ HTMLGrayGainsboroColor
Definition: customelementgraphicpart.h:256