The ElementTextItemGroup class This class represent a group of element text Texts in the group can be aligned left / center /right.
More...
#include <elementtextitemgroup.h>
Inherits QObject, and QGraphicsItemGroup.
The ElementTextItemGroup class This class represent a group of element text Texts in the group can be aligned left / center /right.
◆ ElementTextItemGroup()
ElementTextItemGroup::ElementTextItemGroup |
( |
const QString & |
name, |
|
|
Element * |
parent |
|
) |
| |
◆ ~ElementTextItemGroup()
ElementTextItemGroup::~ElementTextItemGroup |
( |
| ) |
|
|
override |
◆ addToGroup()
void ElementTextItemGroup::addToGroup |
( |
QGraphicsItem * |
item | ) |
|
◆ adjustSlaveXrefPos()
void ElementTextItemGroup::adjustSlaveXrefPos |
( |
| ) |
|
|
private |
◆ alignment()
Qt::Alignment ElementTextItemGroup::alignment |
( |
| ) |
const |
◆ alignmentChanged
void ElementTextItemGroup::alignmentChanged |
( |
Qt::Alignment |
| ) |
|
|
signal |
◆ autoPos()
void ElementTextItemGroup::autoPos |
( |
| ) |
|
|
private |
◆ blockAlignmentUpdate()
void ElementTextItemGroup::blockAlignmentUpdate |
( |
bool |
block | ) |
|
◆ boundingRect()
QRectF ElementTextItemGroup::boundingRect |
( |
| ) |
const |
|
override |
◆ diagram()
Diagram * ElementTextItemGroup::diagram |
( |
| ) |
const |
◆ frame()
bool ElementTextItemGroup::frame |
( |
| ) |
const |
◆ frameChanged
void ElementTextItemGroup::frameChanged |
( |
bool |
frame | ) |
|
|
signal |
◆ fromXml()
void ElementTextItemGroup::fromXml |
( |
QDomElement & |
dom_element | ) |
|
◆ holdToBottomPage()
bool ElementTextItemGroup::holdToBottomPage |
( |
| ) |
const |
|
inline |
◆ holdToBottomPageChanged
void ElementTextItemGroup::holdToBottomPageChanged |
( |
bool |
| ) |
|
|
signal |
◆ hoverEnterEvent()
void ElementTextItemGroup::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ hoverLeaveEvent()
void ElementTextItemGroup::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ keyPressEvent()
void ElementTextItemGroup::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseDoubleClickEvent()
void ElementTextItemGroup::mouseDoubleClickEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseMoveEvent()
void ElementTextItemGroup::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void ElementTextItemGroup::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void ElementTextItemGroup::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ name()
QString ElementTextItemGroup::name |
( |
| ) |
const |
|
inline |
◆ nameChanged
void ElementTextItemGroup::nameChanged |
( |
QString |
| ) |
|
|
signal |
◆ paint()
void ElementTextItemGroup::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget |
|
) |
| |
|
override |
◆ parentElement()
Element * ElementTextItemGroup::parentElement |
( |
| ) |
const |
◆ removeFromGroup()
void ElementTextItemGroup::removeFromGroup |
( |
QGraphicsItem * |
item | ) |
|
◆ rotationChanged
void ElementTextItemGroup::rotationChanged |
( |
qreal |
| ) |
|
|
signal |
◆ setAlignment()
void ElementTextItemGroup::setAlignment |
( |
Qt::Alignment |
alignement | ) |
|
ElementTextItemGroup::setAlignement Set the alignement of this group.
- Parameters
-
◆ setFrame()
void ElementTextItemGroup::setFrame |
( |
const bool |
frame | ) |
|
◆ setHoldToBottomPage()
void ElementTextItemGroup::setHoldToBottomPage |
( |
bool |
hold | ) |
|
◆ setName()
void ElementTextItemGroup::setName |
( |
QString |
name | ) |
|
◆ setPos() [1/2]
void ElementTextItemGroup::setPos |
( |
const QPointF & |
pos | ) |
|
◆ setPos() [2/2]
void ElementTextItemGroup::setPos |
( |
qreal |
x, |
|
|
qreal |
y |
|
) |
| |
◆ setRotation()
void ElementTextItemGroup::setRotation |
( |
qreal |
angle | ) |
|
◆ setVerticalAdjustment()
void ElementTextItemGroup::setVerticalAdjustment |
( |
int |
v | ) |
|
◆ texts()
◆ toXml()
QDomElement ElementTextItemGroup::toXml |
( |
QDomDocument & |
dom_document | ) |
const |
◆ updateAlignment()
void ElementTextItemGroup::updateAlignment |
( |
| ) |
|
◆ updateXref()
void ElementTextItemGroup::updateXref |
( |
| ) |
|
|
private |
◆ verticalAdjustment()
int ElementTextItemGroup::verticalAdjustment |
( |
| ) |
const |
|
inline |
◆ verticalAdjustmentChanged
void ElementTextItemGroup::verticalAdjustmentChanged |
( |
int |
| ) |
|
|
signal |
◆ xChanged
void ElementTextItemGroup::xChanged |
( |
| ) |
|
|
signal |
◆ xmlTaggName()
static QString ElementTextItemGroup::xmlTaggName |
( |
| ) |
|
|
inlinestatic |
◆ yChanged
void ElementTextItemGroup::yChanged |
( |
| ) |
|
|
signal |
◆ m_alignment
Qt::Alignment ElementTextItemGroup::m_alignment = Qt::AlignJustify |
|
private |
◆ m_block_alignment_update
bool ElementTextItemGroup::m_block_alignment_update = false |
|
private |
◆ m_first_move
bool ElementTextItemGroup::m_first_move = true |
|
private |
◆ m_frame
bool ElementTextItemGroup::m_frame = false |
|
private |
◆ m_hold_to_bottom_of_page
bool ElementTextItemGroup::m_hold_to_bottom_of_page = false |
|
private |
◆ m_initial_position
QPointF ElementTextItemGroup::m_initial_position |
|
private |
◆ m_linked_changed_timer
QMetaObject::Connection ElementTextItemGroup::m_linked_changed_timer |
|
private |
◆ m_name
QString ElementTextItemGroup::m_name |
|
private |
◆ m_parent_element
Element* ElementTextItemGroup::m_parent_element = nullptr |
|
private |
◆ m_slave_Xref_item
QGraphicsTextItem* ElementTextItemGroup::m_slave_Xref_item = nullptr |
|
private |
◆ m_update_slave_Xref_connection
QList<QMetaObject::Connection> ElementTextItemGroup::m_update_slave_Xref_connection |
|
private |
◆ m_vertical_adjustment
int ElementTextItemGroup::m_vertical_adjustment = 0 |
|
private |
◆ m_Xref_item
◆ m_XrefChanged_timer
QMetaObject::Connection ElementTextItemGroup::m_XrefChanged_timer |
|
private |
◆ alignment
Qt::Alignment ElementTextItemGroup::alignment |
|
readwrite |
◆ frame
bool ElementTextItemGroup::frame |
|
readwrite |
◆ holdToBottomPage
bool ElementTextItemGroup::holdToBottomPage |
|
readwrite |
◆ name
QString ElementTextItemGroup::name |
|
readwrite |
◆ pos
QPointF ElementTextItemGroup::pos |
|
readwrite |
◆ rotation
qreal ElementTextItemGroup::rotation |
|
readwrite |
◆ verticalAdjustment
int ElementTextItemGroup::verticalAdjustment |
|
readwrite |
The documentation for this class was generated from the following files: