Написать программу на Qt 5.2.0 “Расписание автобусов ”.
Ответы на вопрос
Ответил s3npaiKun1
0
#include <QApplication>
#include <QLabel>
#include <QLineEdit>
#include <QVBoxLayout>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QWidget window;
QVBoxLayout *layout = new QVBoxLayout;
QLabel *label = new QLabel("Введите расписание автобусов:");
QLineEdit *lineEdit = new QLineEdit;
layout->addWidget(label);
layout->addWidget(lineEdit);
window.setLayout(layout);
window.show();
return app.exec();
}
Новые вопросы