2018年9月19日

Thread类

摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading; 6 7 namespace Consoleapplication 8 { 9 //类名Program 10 class P... 阅读全文

posted @ 2018-09-19 15:12 fortwater 阅读(136) 评论(0) 推荐(0) 编辑

2018年9月18日

temperature translate tool

摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using System.Window... 阅读全文

posted @ 2018-09-18 17:36 fortwater 阅读(186) 评论(0) 推荐(0) 编辑

2018年9月17日

鼠标响应事件

摘要: 1 #ifndef MAINWINDOW_H 2 #define MAINWINDOW_H 3 4 #include 5 #include 6 #include 7 8 class MainWindow : public QMainWindow 9 { 10 Q_OBJECT 11 12 public: 13 MainWindow(QWidg... 阅读全文

posted @ 2018-09-17 09:28 fortwater 阅读(431) 评论(0) 推荐(0) 编辑

2018年9月14日

QCheckBox

摘要: the QCheckBox widget provides a checkbox with a text label a QCheckBox is an option button that can be switched on or off QSizePolicy grabWindow 阅读全文

posted @ 2018-09-14 13:40 fortwater 阅读(149) 评论(0) 推荐(0) 编辑

2018年9月12日

bat文件自动关机

摘要: 附图 写这个东东的背景,主要是服务于公司打印机的电脑,此电脑属于公用,但极少人会下班时给它关机。为了使这个电脑能再服务多几年,自动关机程序就诞生了。 难度不大,在写之前,我定义了几个基本的功能。 获取当前主机的系统时间 输入期望关机时间 运算时间差 执行自动关机命令 写入日志文件记录。 以上思路清晰 阅读全文

posted @ 2018-09-12 16:04 fortwater 阅读(345) 评论(0) 推荐(0) 编辑

QSyntaxHighlighter Class

摘要: syntax语法 query查询 阅读全文

posted @ 2018-09-12 15:46 fortwater 阅读(123) 评论(0) 推荐(0) 编辑

2018年8月30日

python crash course a hands-on,project-based introduction to programming

摘要: 1 #指标符,首行缩进4个字符 2 print("\tnishuojinwandeyuesezhenmei") 3 print("nishuojinwandeyuesezhenmei") 阅读全文

posted @ 2018-08-30 21:56 fortwater 阅读(447) 评论(0) 推荐(0) 编辑

2018年8月29日

python--if(using)

摘要: if语句判断是true,就把缩进的两行语句执行,否则,什么也不做。 也可以添加else,如果判断是false,则执行else语句的缩进。 如何检查并捕获程序运行期的错误 阅读全文

posted @ 2018-08-29 18:57 fortwater 阅读(168) 评论(0) 推荐(0) 编辑

python--list(using)

摘要: list有序的集合,可以随时添加、删除元素 阅读全文

posted @ 2018-08-29 16:07 fortwater 阅读(207) 评论(0) 推荐(0) 编辑

2018年8月28日

cpp--data type

摘要: cpp允许用户根据自己声明一些类型【数组,结构体类型,共用体类型,枚举类型,类类型】user-defined type 结构体数组:每个数组元素都是一个结构体类型的数据,他们都分别包括各个成员项 阅读全文

posted @ 2018-08-28 22:26 fortwater 阅读(256) 评论(0) 推荐(0) 编辑

导航