티스토리 뷰

Qt/Classes

QComboBox Code Examples

아침엔커피한잔 2017. 5. 24. 18:40

http://doc.qt.io/qt-5/qcombobox.html



connect(comboBox, static_cast(&QComboBox::activated), [=](int index){ /* ... */ }); connect(comboBox, static_cast(&QComboBox::activated), [=](const QString &text){ /* ... */ }); connect(comboBox, static_cast(&QComboBox::currentIndexChanged), [=](int index){ /* ... */ }); connect(comboBox, static_cast(&QComboBox::currentIndexChanged), [=](const QString &text){ /* ... */ }); connect(comboBox, static_cast(&QComboBox::highlighted), [=](int index){ /* ... */ }); connect(comboBox, static_cast(&QComboBox::highlighted), [=](const QString &text){ /* ... */ });


'Qt > Classes' 카테고리의 다른 글

QTcpSocket Class Examples  (0) 2017.07.16
QSqlTableModel Code Examples  (0) 2017.05.27
QMainWindow Code Examples  (0) 2017.05.24
QAction Code Examples  (0) 2017.05.21
QSqlTableModel Code Examples  (0) 2017.05.19
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함