27 #include <dtkCoreSupport/dtkGlobal.h> 
   31 class axlInspectorObjectSceneWidgetFieldVectorPrivate
 
   40     QPushButton *disp_none_button;
 
   41     QPushButton *disp_hedge_button;
 
   42     QPushButton *disp_glyph_button;
 
   43     QPushButton *disp_strea_button;
 
   55     d->disp_none_button = 
new QPushButton(
"Nothing");
 
   56     d->disp_none_button->setCheckable(
true);
 
   57     d->disp_none_button->setChecked(
false);
 
   58     d->disp_none_button->setObjectName(
"overLeft");
 
   60     d->disp_hedge_button = 
new QPushButton(
"Hedgehog");
 
   61     d->disp_hedge_button->setCheckable(
true);
 
   62     d->disp_hedge_button->setChecked(
false);
 
   63     d->disp_hedge_button->setObjectName(
"left");
 
   65     d->disp_glyph_button = 
new QPushButton(
"Glyphs");
 
   66     d->disp_glyph_button->setCheckable(
true);
 
   67     d->disp_glyph_button->setChecked(
false);
 
   68     d->disp_glyph_button->setObjectName(
"middle");
 
   70     d->disp_strea_button = 
new QPushButton(
"Stream");
 
   71     d->disp_strea_button->setCheckable(
true);
 
   72     d->disp_strea_button->setChecked(
false);
 
   73     d->disp_strea_button->setObjectName(
"right");
 
   75     QButtonGroup *disp_group = 
new QButtonGroup(
this);
 
   76     disp_group->addButton(d->disp_none_button);
 
   77     disp_group->addButton(d->disp_hedge_button);
 
   78     disp_group->addButton(d->disp_glyph_button);
 
   79     disp_group->addButton(d->disp_strea_button);
 
   81     QHBoxLayout *disp_layout = 
new QHBoxLayout;
 
   82     disp_layout->setContentsMargins(0, 0, 0, 0);
 
   83     disp_layout->setSpacing(0);
 
   84     disp_layout->addWidget(d->disp_none_button);
 
   85     disp_layout->addSpacerItem(
new QSpacerItem(10, 1));
 
   86     disp_layout->addWidget(d->disp_hedge_button);
 
   87     disp_layout->addSpacerItem(
new QSpacerItem(10, 1));
 
   88     disp_layout->addWidget(d->disp_glyph_button);
 
   89     disp_layout->addSpacerItem(
new QSpacerItem(10, 1));
 
   90     disp_layout->addWidget(d->disp_strea_button);
 
   92     d->layout = 
new QVBoxLayout(
this);
 
   93     d->layout->setContentsMargins(0, 0, 0, 0);
 
   94     d->layout->addWidget(
new QLabel(
"Display", 
this));
 
   95     d->layout->addLayout(disp_layout);
 
   97     connect(d->disp_none_button, SIGNAL(clicked()), 
this, SLOT(
onDisplayAsNone()));
 
   98     connect(d->disp_hedge_button, SIGNAL(clicked()), 
this, SLOT(
onDisplayAsHedge()));
 
   99     connect(d->disp_glyph_button, SIGNAL(clicked()), 
this, SLOT(
onDisplayAsGlyph()));
 
  100     connect(d->disp_strea_button, SIGNAL(clicked()), 
this, SLOT(
onDisplayAsStream()));
 
  124         d->layout->removeWidget(d->glyph);
 
  130         d->layout->removeWidget(d->stream);
 
  141         d->layout->removeWidget(d->glyph);
 
  147         d->layout->removeWidget(d->stream);
 
  158         d->layout->removeWidget(d->glyph);
 
  164         d->layout->removeWidget(d->stream);
 
  173     d->layout->addWidget(d->glyph);
 
  181         d->layout->removeWidget(d->glyph);
 
  187         d->layout->removeWidget(d->stream);
 
  198     d->layout->addWidget(d->stream);
 
Class axlAbstractField defines an API for arrays of numeric data.