//在不使用任务插件的情况下读取DWG文件的缩略图,以便在没有安装AutoCAD的计算机上浏览。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Syst ...
在paintEvent事件中绘制窗口边框这里我们需要重写paintEvent方法,具体代码如下: void paintEvent(QPaintEvent *event) { QPainter painter(this); painter.setRenderHint(QPainter::Antiali ...
分类:
其他好文 时间:
2021-04-30 12:29:47
阅读次数:
0
已知macOS 11.3修复了一个主要漏洞(该漏洞使Shlayer恶意软件绕过了GateGeeper和File Quarantine等苹果公司的保护措施。) 各位Mac用户,笔者建议尽快更新到Apple的新macOS 11.3软件,因为它包含重要的恶意软件修复程序。可以极大地提高Mac的安全性能 除 ...
分类:
系统相关 时间:
2021-04-30 11:56:56
阅读次数:
0
#数据类型 # char(n) --长度为n的定长字符串 # varchar(n) --最大长度为n的变长字符串 # int --长整形(4个字节) # smallint --短整型(2个字节) # bigint --大整形(8个字节) # float(n) --单浮点型(4个字节,有效位数8位) ...
分类:
数据库 时间:
2021-04-29 12:07:39
阅读次数:
0
使用微软的DSOFRAMER控件实现方法:先下载DsoFramer_KB311765_x86.exe ,自己百度一下有很多。安装,默认安装目录C:\DsoFramer可以先注册下: 开始菜单 运行 输入 regsvr32.exe C:\DsoFramer\dsoframer.ocx using Sy ...
// ts版-vue private justPalyOne() { const audios = document.querySelectorAll("audio"); // 暂停函数 const pauseAll = (exclude: any): any => { audios.forEach ...
分类:
其他好文 时间:
2021-04-27 15:20:20
阅读次数:
0
1 Could not execute Write_rows event on table cs3.test01; Duplicate entry ‘7‘ for key ‘test01.PRIMARY‘ 1.1 主库操作 SHOW BINARY LOGS; PURGE BINARY LOGS TO ...
分类:
数据库 时间:
2021-04-27 14:28:23
阅读次数:
0
import Vue from "vue"; // vue自定义指令防抖 Vue.directive("antiShake", { bind: function(el, binding, vnode) { let { delay, fn } = binding.value; //参数:时间,执行函数 ...
分类:
其他好文 时间:
2021-04-26 13:57:03
阅读次数:
0
![](https://img2020.cnblogs.com/blog/660274/202104/660274-20210424191131466-244498343.jpg) ![](https://img2020.cnblogs.com/blog/660274/202104/660274-2... ...
分类:
数据库 时间:
2021-04-26 13:17:30
阅读次数:
0
之前研究过基于主从+分片实现的集群,现在研究下基于哨兵模式的集群模式。 1. 下载redis 版本: 3.2.100 2. 开始搭建集群 (1) 复制集三个redis 目录,分别命名为 redis-63791、 redis-63792、 redis-63793 63791是master节点,剩下两个 ...