30 #include "ui_GraphicSelectorWidgetForm.h" 
   33 #include <QStackedWidget> 
   37     m_ui(new Ui::GraphicSelectorWidgetForm)
 
   45   std::vector<std::string> keys;
 
   47   std::vector<std::string>::reverse_iterator it;
 
   48   for(it = keys.rbegin(); it != keys.rend(); ++it)
 
   57   QGridLayout* layout = 
new QGridLayout(
m_ui->m_graphicWidgetFrame);
 
   58   layout->setSizeConstraint(QLayout::SetFixedSize);
 
   72   for(i = 0; i < m_graphicWidgets->count(); ++i)
 
   79   if(i == m_graphicWidgets->count())
 
   83   m_ui->m_graphicTypeComboBox->setCurrentIndex(i);
 
   84   m_graphicWidgets->setCurrentIndex(i);
 
  101   m_graphicWidgets->setCurrentIndex(index);
 
  102   emit graphicChanged();
 
  108   emit graphicChanged();
 
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size. 
 
static AbstractGraphicWidget * make(const std::string &factoryKey)
It creates an object with the appropriated factory.