⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addscore.ui.h

📁 学生管理系统 使用Qt写的界面 交互性好
💻 H
字号:
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you want to add, delete, or rename functions or slots, use
** Qt Designer to update this file, preserving your code.
**
** You should not define a constructor or destructor in this file.
** Instead, write your code in functions called init() and destroy().
** These will automatically be called by the form's constructor and
** destructor.
*****************************************************************************/


void Form7::myinit()
{
    lineEdit103->setText("");
    lineEdit104->setText("");
    lineEdit105->setText("");
}



void Form7::Add()
{
    bool ok;
    sid = lineEdit103->text();
    cid = lineEdit104->text();
    grade = (lineEdit105->text()).toDouble(&ok);
    if(sid == "" || cid == "" || ok == false || grade<0 || grade>100)return;
    close();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -