How to display my String or Qstring in QLabel using button?
Unsolved
General and Desktop
-
wrote on 18 Sept 2023, 09:26 last edited by
-
How to display my String or Qstring in QLabel using button?
@JacobNovitsky Well, connect a slot to https://doc.qt.io/qt-6/qabstractbutton.html#clicked and in that slot set the string in QLabel using https://doc.qt.io/qt-6/qlabel.html#text-prop
1/2