[quote author="mkoskim" date="1319202757"][quote author="RichardM198030" date="1319200911"]
LOL, sorry, I confused ya, I meant, I have to make 1 QWidget *cw; and a 2Nd QWidget *mainWIdget?
[/quote]
No, one widget is enough. You place it to your main window. This is a wild guess, but what if you inherit your ScoreBoard from QWidget, and use just plain QMainWindow to show it?
[code]
class ScoreBoard : public QWidget { ... }
...
main()
{
QMainWindow *mainwindow = new QMainWindow;
mainwindow->setCentralWidget(new ScoreBoard);
...
}
[/code]
[/quote]
Just came with something different too.. I can keep my cw widget, make a mainwidget, add the layout to mainwidget, add the mainwidget to cw, and add cw to the ScoreBoard class, =).