Customization of the buttons
-
Hi,
What do you mean by putting several widgets in a button ?
For your second question, what clicked signal ?
-
Hi!
Can I put multiple widgets in a button?
Or is it possible to make a widget with a lot of widgets and attach a clicked signal to it?@Mikeeeeee said in Customization of the buttons:
Or is it possible to make a widget with a lot of widgets
Are you looking for QGroupBox widget for instance?
-
I need an analog of MouseArea from QML. I need a clickable area with several progressbars and labels.
@Mikeeeeee can you explain clearly , what is requirement . Do you trying code using QML button ?
-
No. I won't used anything yet. I need one big button where I can put a lot of labels and progress bars.
@Mikeeeeee
Hi
You can use an event filter on all Widgets you put into say a QFrame.
Then no matter where you click you can catch it.You could also sublclass QFrame and add mousePress and emit signal.
If none of the other widget you put in response to mouseclick they will go
to parent.