umbrello/umbrello
LayoutGrid Class Reference
#include <layoutgrid.h>
Public Member Functions | |
LayoutGrid (UMLScene *scene) | |
~LayoutGrid () | |
const QColor & | gridCrossColor () const |
const QColor & | gridDotColor () const |
QRect | gridRect () const |
int | gridSpacingX () const |
int | gridSpacingY () const |
bool | isTextVisible () const |
bool | isVisible () const |
void | paint (QPainter *painter, const QRectF &rect) |
void | setGridCrossColor (const QColor &color) |
void | setGridDotColor (const QColor &color) |
void | setGridRect (const QRect &rect) |
void | setGridSpacing (int sizeX, int sizeY) |
void | setTextColor (const QColor &color) |
void | setTextFont (const QFont &font) |
void | setTextVisible (bool visible) |
void | setVisible (bool visible) |
const QColor & | textColor () const |
QFont | textFont () const |
Detailed Description
Definition at line 35 of file layoutgrid.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 35 of file layoutgrid.cpp.
LayoutGrid::~LayoutGrid | ( | ) |
Destructor.
Definition at line 47 of file layoutgrid.cpp.
Member Function Documentation
const QColor& LayoutGrid::gridCrossColor | ( | ) | const |
const QColor & LayoutGrid::gridDotColor | ( | ) | const |
Definition at line 90 of file layoutgrid.cpp.
QRect LayoutGrid::gridRect | ( | ) | const |
int LayoutGrid::gridSpacingX | ( | ) | const |
Definition at line 73 of file layoutgrid.cpp.
int LayoutGrid::gridSpacingY | ( | ) | const |
Definition at line 78 of file layoutgrid.cpp.
bool LayoutGrid::isTextVisible | ( | ) | const |
bool LayoutGrid::isVisible | ( | ) | const |
Definition at line 101 of file layoutgrid.cpp.
Definition at line 51 of file layoutgrid.cpp.
void LayoutGrid::setGridCrossColor | ( | const QColor & | color | ) |
void LayoutGrid::setGridDotColor | ( | const QColor & | color | ) |
Definition at line 95 of file layoutgrid.cpp.
void LayoutGrid::setGridRect | ( | const QRect & | rect | ) |
void LayoutGrid::setGridSpacing | ( | int | sizeX, |
int | sizeY | ||
) |
Definition at line 83 of file layoutgrid.cpp.
void LayoutGrid::setTextColor | ( | const QColor & | color | ) |
void LayoutGrid::setTextFont | ( | const QFont & | font | ) |
void LayoutGrid::setTextVisible | ( | bool | visible | ) |
void LayoutGrid::setVisible | ( | bool | visible | ) |
Definition at line 106 of file layoutgrid.cpp.
const QColor& LayoutGrid::textColor | ( | ) | const |
QFont LayoutGrid::textFont | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.