Results 1 to 15 of 15

Thread: Bizzare behavior under X (Qt 4.3.0)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    May 2007
    Posts
    15
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Bizzare behavior under X (Qt 4.3.0)

    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.
    Attached Files Attached Files

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.