27 #include "../../../se/Config.h" 28 #include "../../../se/Mark.h" 29 #include "../propertybrowser/AbstractPropertyManager.h" 37 #include <QGridLayout> 38 #include <QScrollArea> 39 #include <QPushButton> 42 #include <QtPropertyBrowser/QtTreePropertyBrowser> 43 #include <QtPropertyBrowser/QtVariantPropertyManager> 50 m_mark(new
te::se::Mark), m_update(false)
65 addProperty(glyphProperty, tr(
"Glyph Mark"), QColor(175, 175, 255));
98 QString qName(name->c_str());
110 QFont font(fontName);
112 int intCharCode = charCode.unicode();
114 strCharCode.setNum(intCharCode);
143 QtProperty*
p,
const QFont& )
150 QtProperty*
p,
const QString& )
173 QGridLayout* l =
new QGridLayout(&d);
174 l->setObjectName(
"mainLayout");
175 QScrollArea* sa =
new QScrollArea(&d);
176 sa->setFixedSize(300, 200);
177 QGridLayout* lsa =
new QGridLayout(&d);
178 lsa->setObjectName(
"scrollAreaLayout");
183 l->addWidget(sa,0, 0, 1, 2);
184 connect(cmw, SIGNAL(charSelected(
const unsigned int&)),
this, SLOT(
charMapSelected(
const unsigned int&)));
188 QSpacerItem* spacer =
new QSpacerItem(16, 16, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
189 l->addItem(spacer, 1, 0);
191 connect(pb, SIGNAL(clicked()), &d, SLOT(close()));
192 l->addWidget(pb, 1, 1);
193 l->setSizeConstraint(QLayout::SetFixedSize);
196 d.setWindowTitle(tr(
"Char Map"));
197 d.setWindowFlags(Qt::Tool);
216 str.setNum(charCode);
A concrete renderer based on Qt4 for conversion of Symbology Enconding Mark elements to an image patt...
A Mark specifies a geometric shape and applies coloring to it.
A widget used to define a glyph object.
static AbstractPropertyManager & getInstance()
It returns a reference to the singleton instance.
static te::dt::DateTime d(2010, 8, 9, 15, 58, 39)
A Fill specifies the pattern for filling an area geometry.
const std::string * getWellKnownName() const
Mark * clone() const
It creates a new copy of this object.
void setWellKnownName(std::string *name)
The WellKnownName element gives the well-known name of the shape of the mark.
A widget used to define the basic fill se object.
const Fill * getFill() const