Programming/qt
qt widget 화면 전환
구차니
2026. 3. 18. 17:44
윈도우를 show() hide()로 전환하기
[링크 : https://trading-for-chicken.tistory.com/23]
QStackedWidget::setCurrentIndex()
[링크 : https://chung-n-rang.tistory.com/6]
| currentIndex : int This property holds the index position of the widget that is visible The current index is -1 if there is no current widget. By default, this property contains a value of -1 because the stack is initially empty. |
[링크 : https://doc.qt.io/qt-6/qstackedwidget.html#currentIndex-prop]