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

QGraphicsView:: Transparent widget backgrounds cause artifacts on Mac.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.0
    • 4.5.2
    • GUI: Text handling
    • None
    • macOS
    • 0ae8f0b63e6705790ad0bdb0f90644b557b5ac67

      #include <QtGui>
      int main(int argc, char *argv[])
      {
      QApplication a(argc, argv);
      a.setStyleSheet("QLabel

      {background: transparent;}

      ");

      QGraphicsScene *scene = new QGraphicsScene();
      QLabel* label = new QLabel("Sore Eyes?!");
      scene->addWidget(label);

      QGraphicsView* view = new QGraphicsView(scene);
      view->show();
      return a.exec();
      }

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

            sletta Gunnar Sletta
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes