newstate.cpp
来自「robocuo相关资料robocuo相关资料」· C++ 代码 · 共 29 行
CPP
29 行
#include <QTextStream>#include "NewState.h"#include "ui_NewState.h"NewState::NewState(){ ui = new Ui_NewState; ui->setupUi(this); sel = -1;}void NewState::on_select_valueChanged(int a){ QString str; QTextStream(&str) << a << " / " << n; ui->label_2->setText(str);}void NewState::on_ok_clicked(){ sel = ui->select->value(); hide();}void NewState::on_cancel_clicked(){ hide();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?