giving a custom button class new properties
Unsolved
General and Desktop
-
hello,
i would like to give my custom button class some new properties to position the button.
that overrides the existing.const QSize btnSize = QSize(150, 150); this->setFixedSize(btnSize);
centerX centerY
what would be most "hardcore" approach possible.
keeping in mind if the size is 50 x 50.just doing some positioning experiments.
-
Hi,
What kind of properties do you have in mind ?
You can move your button from the widget that created it with the pos properly method for example.