QT函数很多,我连常用的都记不住,也不知道函数里面都带几个参数,很怪,有时只一个,有时有两三个,
前辈又不建议用 qt designer,咋办,大家帮帮我,谢谢
如: QMessageBox::information( this, tr("Calculator"),tr("too long!"));
QString str=((QPushButton *)sender())->text();
mainLayout = new QVBoxLayout(this,20);
topLayout = new QHBoxLayout(mainLayout,30);
edit = new QLineEdit(this,"edit");
edit->setAlignment(Qt::AlignRight);
这些是简易计算器里的源程序摘录,这些函数我看着不懂,怎么办啊