Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
giving a custom button class new properties
Natural_Bugger last edited by
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);
what would be most "hardcore" approach possible.
keeping in mind if the size is 50 x 50.
just doing some positioning experiments.
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.