Example #1
0
void
display ()
{
    drawAttractor ();
    if (dset.displayInfo) {
        drawInfo ();
    }
    glutSwapBuffers ();
}
Example #2
0
strangewidget::strangewidget(QWidget *parent) :
    QWidget(parent)
{
    // inits
    QBoxLayout *layout = new QBoxLayout(QBoxLayout::LeftToRight);

    mainLabel = new QLabel(this);
    layout->addWidget(mainLabel);
    this->setLayout(layout);

    // extra ui settings
    this->connect(&mainThread,SIGNAL(sceneReady()),SLOT(drawAttractor()));
}