QVBoxLayout over QLabel ?
Unsolved
General and Desktop
-
Hi,
Do you want a widget with an image background ? If so, the simple way would be through a style sheet using
background-image
Hope 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-image
Hope 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.