A widget used to build a mark element represented by a glyph.
More...
#include <GlyphMarkWidget.h>
A widget used to build a mark element represented by a glyph.
Definition at line 64 of file GlyphMarkWidget.h.
◆ GlyphMarkWidget()
te::qt::widgets::GlyphMarkWidget::GlyphMarkWidget |
( |
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructs a glyph mark widget which is a child of parent, with widget flags set to f.
◆ ~GlyphMarkWidget()
te::qt::widgets::GlyphMarkWidget::~GlyphMarkWidget |
( |
| ) |
|
◆ getMark()
te::se::Mark * te::qt::widgets::GlyphMarkWidget::getMark |
( |
| ) |
const |
Gets the configured mark element.
- Returns
- The configured mark element.
- Note
- The caller will take the ownership of the returned mark.
◆ markChanged
void te::qt::widgets::GlyphMarkWidget::markChanged |
( |
| ) |
|
|
signal |
This signal is emitted when the internal mark element is changed.
◆ onCharSelected
void te::qt::widgets::GlyphMarkWidget::onCharSelected |
( |
const unsigned int & |
charCode | ) |
|
|
protectedslot |
◆ onCurrentFontChanged
void te::qt::widgets::GlyphMarkWidget::onCurrentFontChanged |
( |
const QFont & |
font | ) |
|
|
protectedslot |
◆ onFillChanged
void te::qt::widgets::GlyphMarkWidget::onFillChanged |
( |
| ) |
|
|
protectedslot |
◆ setMark()
void te::qt::widgets::GlyphMarkWidget::setMark |
( |
const te::se::Mark * |
mark | ) |
|
Sets a mark element to this widget.
- Parameters
-
mark | A valid mark element. |
- Note
- The widget will NOT take the ownership of the given mark.
-
The widget form will be update based on given mark parameters.
◆ updateMarkName()
void te::qt::widgets::GlyphMarkWidget::updateMarkName |
( |
| ) |
|
|
protected |
Updates the mark well-known name enconding selected font and selected character.
◆ updateUi()
void te::qt::widgets::GlyphMarkWidget::updateUi |
( |
| ) |
|
|
protected |
Updates the widget form based on internal mark element.
◆ m_charMapWidget
◆ m_fillWidget
Basic Fill Widget used to configure the mark fill element.
Definition at line 128 of file GlyphMarkWidget.h.
◆ m_mark
Mark element that will be configured by this widget.
Definition at line 130 of file GlyphMarkWidget.h.
◆ m_ui
std::unique_ptr<Ui::GlyphMarkWidgetForm> te::qt::widgets::GlyphMarkWidget::m_ui |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/se/GlyphMarkWidget.h