0

I have a dial control over an image

scene->addPixmap(*pixmap);
this->ui->graphicsView->setScene(scene);

and I want to see the underlying image also in the control area. I tried for example

this->ui->dial->setStyleSheet("QWidget{background-color: rgba(0,250, 0,40%);}");

but the control is opaque, I cannot see the image beneath, whatever % I set for the alpha channel. Which are the right instructions?

Caleb Huitt - cjhuitt
  • 14,785
  • 3
  • 42
  • 49
P5music
  • 3,197
  • 2
  • 32
  • 81

0 Answers0