int main(int argc, char** argv) { QApplication app(argc, argv); Scene3D scene; scene.setWindowTitle("Surface"); // scene.resize(500, 500); scene.showMaximized(); scene.setMinimumSize(400, 400); scene.show(); return app.exec(); }
void Setting::start(){ if(fileAdress->text().length()>1) { fileAdress->setStyleSheet(""); PathCalculator* pc= new PathCalculator(fileAdress->text().toUtf8().data(), ios->isChecked(), framesCouns->value(), lowPass->value(), gyro->isChecked()); qDebug()<<"POINTS NUM FROM MAIN: "<<pc->getRecNum(); Scene3D *scene = new Scene3D(pc); scene->show(); } else { fileAdress->setStyleSheet("QLineEdit{background: red;}"); } }