QElectroTech 0.100.0-dev
|
#include <templatecellsset.h>
Inherits QList< TitleBlockTemplateVisualCell * >.
Public Member Functions | |
TitleBlockTemplateCellsSet (const TitleBlockTemplateView *) | |
virtual | ~TitleBlockTemplateCellsSet () |
QPainterPath | painterPath () const |
bool | isRectangle () const |
bool | allCellsAreSelected () const |
bool | hasExternalSpan () const |
TitleBlockTemplateVisualCell * | topLeftCell () const |
TitleBlockTemplateVisualCell * | bottomRightCell () const |
QRectF | mergeAreaRect () const |
TitleBlockTemplateCellsSet | mergeArea (const QRectF &=QRectF()) const |
QSet< TitleBlockCell * > | cells (bool=true) const |
Public Attributes | |
const TitleBlockTemplateView * | parent_view_ |
the view displaying the cells | |
This class represents a set of cells (selected or not) when editing a title block template.
TitleBlockTemplateCellsSet::TitleBlockTemplateCellsSet | ( | const TitleBlockTemplateView * | parent_view | ) |
Constructor
parent_view | View this set of cells are rattached to |
|
virtual |
Destructor
bool TitleBlockTemplateCellsSet::allCellsAreSelected | ( | ) | const |
TitleBlockTemplateVisualCell * TitleBlockTemplateCellsSet::bottomRightCell | ( | ) | const |
QSet< TitleBlockCell * > TitleBlockTemplateCellsSet::cells | ( | bool | include_spanned = true | ) | const |
include_spanned | whether to include spanned cells or not |
bool TitleBlockTemplateCellsSet::hasExternalSpan | ( | ) | const |
bool TitleBlockTemplateCellsSet::isRectangle | ( | ) | const |
TitleBlockTemplateCellsSet TitleBlockTemplateCellsSet::mergeArea | ( | const QRectF & | rect = QRectF() | ) | const |
rect | (Optional) The merge area to be considered; if a null QRectF is provided, this method will use mergeAreaRect(). |
QRectF TitleBlockTemplateCellsSet::mergeAreaRect | ( | ) | const |
QPainterPath TitleBlockTemplateCellsSet::painterPath | ( | ) | const |
TitleBlockTemplateVisualCell * TitleBlockTemplateCellsSet::topLeftCell | ( | ) | const |
const TitleBlockTemplateView* TitleBlockTemplateCellsSet::parent_view_ |
the view displaying the cells