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

QStatusBar does not renders permanent widget's fram when setStatus is set.

XMLWordPrintable

      Adding permanent widget to QStatusBar widget is drawn with frame, When any setStatus() text are displayed on status bar the left edge of the permanent widget's frame is lost.

      This is reproducible with following code on linux:

      #include <QtGui>
      int main(int argc, char **argv)
      {
      QApplication app(argc,argv);
      QMainWindow mw;
      QLineEdit *le = new QLineEdit;
      le->setStatusTip("a lineedit");
      mw.setCentralWidget(le);
      mw.statusBar()->addPermanentWidget(new QLabel("hi there")); mw.show(); return app.exec();
      }

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

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            smk smk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes