Expandable Text View
-
iam working in a Qt project , i want to expand and show some details when a push button is clicked , is there any option to do that :) Thanks in Advance
@azhagans2 It is not clear what exactly you are asking.
If you want to know how to trigger an action when a button is pressed then connect a slot to https://doc.qt.io/qt-6/qabstractbutton.html#clicked signal. If you want to know something else then please ask a better question. -
@azhagans2 It is not clear what exactly you are asking.
If you want to know how to trigger an action when a button is pressed then connect a slot to https://doc.qt.io/qt-6/qabstractbutton.html#clicked signal. If you want to know something else then please ask a better question.@jsulm thanks for reply , yeah i know signals and slots , what i want is , there is one push button , if we clicked that push button means , it should expand some textview or lineEdit below that push button and show some messages , how can i approach that , thanks
-
@jsulm thanks for reply , yeah i know signals and slots , what i want is , there is one push button , if we clicked that push button means , it should expand some textview or lineEdit below that push button and show some messages , how can i approach that , thanks
@azhagans2 Either add these widgets dynamically when the button is pressed. Or use a https://doc.qt.io/qt-6/qstackedwidget.html to show these widgets when the button is pressed.