-
Qt login,自动识别焦点
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
pushButton = new QPushButton(this);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
pushButton->setGeometry(QRect(40, 180, 51, 27));
pushButton_2 = new QPushButton(this);
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
pushButton_2->setGeometry(QRect(40, 140, 51, 27));
pushButton_3 = new QPushButton(this);
pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
pushButton_3->setGeometry(QRect(100, 140, 51, 27));
&
- 2022-03-13 04:00:49下载
- 积分:1
-
五子棋程序源代码
一个不错的五子棋程序源代码,有漂亮的界面,使用起来很方便,乐趣多多。
- 2022-01-25 20:25:53下载
- 积分:1
-
使用Qt处理图片资源
Use Qt in image development.
QPixmap largepixmap;
QPixmap smallpixmap;
QPixmap maskpixmap;
QPixmap zoompixmap;
QPoint offset(0,0);
QPoint dragpos(150,150);
QPoint set(90,50);
//加载图片:
largepixmap.load("ImagesMainGui.png");
smallpixmap = largepixmap.scaled(largepixmap.size()/1.2);
maskpixmap.load("ImagesMainGui.png");
//绘制底层图片(非放大镜区域图案):
QPainter painter(this);
painter.drawPixmap(offset,smallpixmap);
painter.end();
//计算放大区域圆形的半径及所占矩形面积
int dim = qMin(width(), height());
int magnifierSize = dim * 5 / 6;
int radius = magnifierSize / 2;
int ring = radius - 15;
QSize box = QSize(magnifierSize, magnifierSize);
- 2022-02-09 22:59:08下载
- 积分:1
-
机器里要装有Flash播放软件(你的IE能显示Flash)。IE之所以能显示Flash是安装了由
Macromedia公司提供的swflash.ocx控件,...
机器里要装有Flash播放软件(你的IE能显示Flash)。IE之所以能显示Flash是安装了由
Macromedia公司提供的swflash.ocx控件,我们可以在Win98的$WindowsSystemMacromed Flash中
或在Win2000中的$WinntSystem32 MacromedFlash中找到它。ActiveX控件在Windows里是通用的,
Delphi也同样支持。
-machine to be installed Flash Player software (IE you can show that the Flash). IE will show why Flash is installed by the Macromedia swflash.ocx control, we can Win98 $ Windows System Macromed Flash or in the Win2000 $ WINNT System32 Macromed Flash find it. ActiveX control in Windows Lane is a versatile, Delphi also support.
- 2022-01-26 01:57:39下载
- 积分:1
-
用鼠标从一个进程的button,拖到另外进程中,并能将信息复制过来...
用鼠标从一个进程的button,拖到另外进程中,并能将信息复制过来-With the mouse from a process button, drag the other process, and are able to copy information from
- 2022-03-29 09:03:31下载
- 积分:1
-
A very good network channel interface design, interface deep beauty
一个很不错的网络频道的界面设计,界面深沉美观-A very good network channel interface design, interface deep beauty
- 2022-01-31 03:29:15下载
- 积分:1
-
多个js做的前台特效,暴多弹出消息框,消息提示
多个js做的前台特效,暴多弹出消息框,消息提示-Js to do more than the future of special effects, multiple sharp pop-up message box, message prompts, etc.
- 2023-09-02 13:15:03下载
- 积分:1
-
文字的颜色渐变 文字的颜色渐变 文字的颜色渐变
文字的颜色渐变 文字的颜色渐变 文字的颜色渐变 -text of the letter color gradient color gradient tex t text color gradient color gradient te xt te xt color gradient color gradient text color graded
- 2023-03-22 20:55:03下载
- 积分:1
-
光二极管
发光二极管简称为LED。由镓(Ga)与砷(AS)、磷(P)的化合物制成的二极管,当电子与空穴复合时能辐射出可见光,因而可以用来制成发光二极管,在电...
光二极管
发光二极管简称为LED。由镓(Ga)与砷(AS)、磷(P)的化合物制成的二极管,当电子与空穴复合时能辐射出可见光,因而可以用来制成发光二极管,在电路及仪器中作为指示灯,或者组成文字或数字显示-led
- 2023-06-14 18:41:03下载
- 积分:1
-
本程序运用VC与SQL编写,可以实现简单的 学籍管理
本程序运用VC与SQL编写,可以实现简单的 学籍管理-use of the procedures and SQL prepared VC, simple codes of management
- 2022-01-25 15:17:58下载
- 积分:1