I'm answering my own post.
I finally figured out the answer to this problem which is in the constructor for the model.cpp class. The SoQtExaminerViewer portion below uses a protected constructor, and delaying a superclass viewer from building it's decorations is done by passing build==FALSE as the last argument of the protected constructor. You then have to explicitly trigger the building in your own constructor.
model.cpp
const char * name,
const SbBool embed)
: SoQtExaminerViewer( parent,
name,
embed,
SoQtFullViewer::BUILD_ALL,
SoQtViewer::BROWSER, FALSE)
// Explicitly triggers the construction of viewer decorations.
QWidget * widget
= this
->buildWidget
(this
->getParentWidget
());
this->setBaseWidget(widget);
Model::Model( QWidget *parent,
const char * name,
const SbBool embed)
: SoQtExaminerViewer( parent,
name,
embed,
SoQtFullViewer::BUILD_ALL,
SoQtViewer::BROWSER, FALSE)
// Explicitly triggers the construction of viewer decorations.
QWidget * widget = this->buildWidget(this->getParentWidget());
this->setBaseWidget(widget);
To copy to clipboard, switch view to plain text mode
...therefore with "...SoQtViewer::BROWSER, TRUE)", above, the viewer decorations were getting built twice. Yikes.
Bookmarks