Here's what I believe is sufficient relevent code.
My display is a MainWindow display, so it creates a menu bar, statusbar, and central widget I've left out the implementations for the menu bar. The status bar is completely unused. The Central widget is split up into two sub-widgets. a "left pane" and a "data window".
The left pane is a collection of QLabels placed in a grid layout. The constructor for the leftpane widget class is included. All functions that deal with this widget's behaviour call setText( ) or setPallette( ) methods only, so they are not included.
The "data window" displays one of five sets of data in a histogram format. The paintEvent function branches to one of 5 different functions depending on the dataType variable. They're all functionally equivalent(only differing on which data sets they draw from and the descriptive text which they draw), so I've only included one as an example.
If any other snippets of code would prove useful, please say so.
Bookmarks