addcourse.ui.h

来自「学生管理系统 使用Qt写的界面 交互性好」· C头文件 代码 · 共 34 行

H
34
字号
/****************************************************************************
** 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 Form5::myinit()
{
    lineEdit46->setText("");
    lineEdit47->setText("");
    comboBox8->setCurrentItem(0);
    lineEdit49->setText("");
    lineEdit50->setText("");
}


void Form5::ADD()
{
    name = lineEdit46->text();
    ID = lineEdit47->text();
    tname = lineEdit49->text();
    tID = lineEdit50->text();
    point = 1.0+comboBox8->currentItem()*0.5;
    if(name == "" || ID == "" || tname == "" || tID == "")return;
    close();
}

⌨️ 快捷键说明

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