摘要:
QLabel 控件常见的属性、方法和信号 一、QLabel 控件常见属性 二、QLabel 控件常见方法 三、QLabel 控件常见信号 方法: set+xxx设置属性、去掉set就是获取属性 所有控件中的属性和方法都是通用的 QLabel 控件 描述:QLabel 是一个用于显示文本或图像的控件。 阅读全文
摘要:
https://blog.csdn.net/hiwoshixiaoyu/article/details/121783070 类型描述qint8charqint16short intqint32intqint64long long intqintptr整数类型,用于表示带符号整数中的指针(用于散列等) 阅读全文
摘要:
https://blog.csdn.net/qq_22398523/article/details/81671121 一、结构 #ifdef _WIN32#pragma pack( push, 1 )#else#pragma pack(1)#endif Typedef struct { } #ifd 阅读全文
摘要:
1.切换为root超级用户的命令为: sudo su 1 2.切换普通用户的命令为 su username 1 阅读全文
摘要:
出现这个问题,说明待拷贝的文件夹内部有不支持拷贝的文件格式,要解决这个问题可以转换一下思路:将文件夹压缩为压缩包——>拷贝压缩包到指定位置——>解压,命令如下(这里以zip压缩解压为例): #压缩文件夹,FileName.zip指的是你要压缩成的压缩包名字, DirName指的是要压缩的文件夹 su 阅读全文
摘要:
https://blog.csdn.net/wabil/article/details/118610070 #include <stdlib.h>#include <fcntl.h>#include "stdio.h"#include "termios.h"#include "unistd.h"#i 阅读全文
摘要:
qt给控件添加背景图片,通过有3种方式background-image; border-image; image 其中通常用border-image; image。 使用border-image,会出现图片失真,锯齿状严重ui->pushButton->setStyleSheet(“QPushBut 阅读全文
摘要:
static string encryptKey = "加密字符"; #region 加密字符串 /// /// 加密字符串 /// /// 要加密的字符串 /// 加密后的字符串 static string Encrypt(string str) { DESCryptoServiceProvide 阅读全文
摘要:
在C#窗口程序中,如果在主线程里调用Sleep,在Sleep完成之前, 界面呈现出假死状态,不能响应任何操作! 下边实现的是非独占性延时函数,延时过时中界面仍可响应消息: public static void Delay(int milliSecond) { int start = Environm 阅读全文
摘要:
# TextOut 与DrawText ## 1、CDC::TextOut()在指定位置输出指定字符串。函数原型: ### virtual BOOL TextOut(int x,int y,LPCTSTR lpszString,int nCount ); ### BOOL TextOut(int x 阅读全文