Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2425

Dialog painting bug on Qt for Embedded Linux

    XMLWordPrintable

Details

    Description

      Using the code below on Qt for Embedded Linux 4.4.0 (also verified with 4.3.4), the dialog is painted with a weird frame in the bottom half. It might be related to the window flags.

      //----------------------------------------------------------------------------
      #include <QtGui>

      int main( int argc, char * argv[] )
      {
      QApplication app( argc, argv );
      QMessageBox msgBox;
      msgBox.setFont( QFont( "DejaVu Sans", 12 ) );
      msgBox.setWindowFlags( Qt::Dialog | Qt::CustomizeWindowHint );
      msgBox.setStandardButtons( QMessageBox::Ok );
      msgBox.setIcon( QMessageBox::Information );
      msgBox.setWindowTitle( "Information" );
      msgBox.setText( "It is not possible to delete the "
      "actual selected model data!" );
      return msgBox.exec();
      }
      //----------------------------------------------------------------------------

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tvete Paul Olav Tvete
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes