29 #include "ui_GraphicDialogForm.h"
33 m_ui(new
Ui::GraphicDialogForm)
41 QGridLayout* layout =
new QGridLayout(
m_ui->m_graphicSelectorFrame);
42 layout->setSizeConstraint(QLayout::SetFixedSize);
55 dlg.setWindowTitle(title);
60 if(dlg.exec() == QDialog::Accepted)
68 m_graphicSelector->setGraphic(graphic);
73 return m_graphicSelector->getGraphic();
78 return m_graphicSelector->getGraphicIcon(size);
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
A dialog used to build a graphic element.