📜  使用 textchanged qt cpp - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:49.530000             🧑  作者: Mango

代码示例1
// create a slot
private slots:
    void changeCaption();

// connect the slot to the textChanged signal
connect(edit, SIGNAL(textChanged(QString)), this, SLOT(changeCaption()));