Solved Cover QWidget Buttons, min Size , Calculator
-
Hello,
I have got a calculator QWidget and I would like to minimize its size at the beginning so that only the black marked frame is shown. Then, upon extension (the left upper green button)I would like to show the other buttons as wellI can extend and set a min/max size of the buttons, but I want the buttons just to appear after clicking an extension button.
The buttons and the display are in a QGridlayoutThis is the used code
https://doc.qt.io/qt-5/qtwidgets-widgets-calculator-example.html
How can I do it?
Thanks -
Hi
One way would be to add the section 2 of buttons to its own QWidget + layout and
simply hide / show that Widget on demand. -
Hi
One way would be to add the section 2 of buttons to its own QWidget + layout and
simply hide / show that Widget on demand.