Qt编程有什么技巧?以命令行的形式改变窗口的现实风格
./xxx -style cde/motif/plastique
根据标签快捷键定位输入框
QLabel *label = new QLabel(tr(“&New”));
QLineEdit *edit = new QLineEdit();
label->setBubby(edit);
默认按钮:当用户按下Enter的时候,能够按下对应的按钮
button->setDefault(true);
禁止按钮:显示为灰色,不和用户交互
button->setEnabled(false);[......]