Qt 6.11 is out! See what's new in the release
blog
QVBoxLayout over QLabel ?
-
Hi,
Do you want a widget with an image background ? If so, the simple way would be through a style sheet using
background-imageHope it helps.
-
Hi,
Do you want a widget with an image background ? If so, the simple way would be through a style sheet using
background-imageHope it helps.
-
Not sure I understand but...
QPushButton* pb = new QPushButton("foo"); QCheckBox* cb = new QCheckBox("bar"); QLabel* label = new QLabel(); label->setPixmap("bazz.png"); QVBoxLayout* lay = new QVBoxLayout(); lay->addWidget(pb); lay->addWidget(cb); lay->addWidget(label); -
If I guess the goal of your application correctly, you should rather consider the Graphics View framework. A QGraphicsPixmapItem and a QGraphicsWidgetItem on top and you'll likely have less trouble implementing animations.