上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: 演示 代码 from PyQt5.QtWidgets import * import sys class pushButton(QWidget): def __init__(self): super(pushButton,self).__init__() # 对方法进行调用 self.initUI( 阅读全文
posted @ 2021-06-09 11:36 博客zhu虎康 阅读(2044) 评论(0) 推荐(1) 编辑
摘要: 演示效果 附源码 import sys from PyQt5.QtWidgets import QWidget, QMessageBox, QApplication class Example(QWidget): def __init__(self): super().__init__() self 阅读全文
posted @ 2021-06-05 09:09 博客zhu虎康 阅读(361) 评论(0) 推荐(1) 编辑
摘要: 预览效果 源码 # -*- coding: utf-8 -*- ''' 【简介】 PyQt5中QRadio例子 ''' import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets impor 阅读全文
posted @ 2021-06-04 16:51 博客zhu虎康 阅读(414) 评论(0) 推荐(0) 编辑
摘要: PyQt5实践——《做一个天气预报的查询》 第一步: 设计界面,我们这里直接用Qtdesign设计。 为了大家比较容易设置,我们这里在把对象查看器中的内容贴出来 简单的几个组件:一个窗口+两个按钮+一个下拉是的盒子+一个标签+一个返回文本显示的内容 第二步:将ui文件转换为py文件 将demo.ui 阅读全文
posted @ 2021-06-04 13:35 博客zhu虎康 阅读(646) 评论(0) 推荐(1) 编辑
摘要: 做一个时间拖动器 演示: 源码: #coding:utf-8 import sys from PyQt5.QtCore import Qt from PyQt5.QtWidgets import (QWidget, QLCDNumber, QSlider, QVBoxLayout, QApplica 阅读全文
posted @ 2021-06-04 13:32 博客zhu虎康 阅读(110) 评论(0) 推荐(0) 编辑
摘要: import sys from PyQt5 import QtCore from PyQt5.QtCore import * from PyQt5.QtGui import QPainter, QColor from PyQt5.QtWidgets import * class myQWidget( 阅读全文
posted @ 2021-06-02 11:37 博客zhu虎康 阅读(313) 评论(0) 推荐(2) 编辑
摘要: 实现效果 代码 from tkinter import * import requests LOG_LINE_NUM = 0 class MY_GUI(): def __init__(self, init_window_name): self.init_window_name = init_wind 阅读全文
posted @ 2021-05-25 20:11 博客zhu虎康 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 实现效果如下图所示 附原码 使用爬虫实现 import requests city = {'北京': '101010100', '济南': '101120101', '青岛': '101120201', '淄博': '101120301', '烟台': '101120501', '潍坊': '101 阅读全文
posted @ 2021-05-25 20:08 博客zhu虎康 阅读(312) 评论(0) 推荐(0) 编辑
摘要: C语言学习笔记 (文章目录) 一、初识C语言 输出Hello World #include<stdio.h> int main() { /*在双引号中间输入Hello World*/ printf("Hello World"); return 0; } 1、C程序的结构 简单来说,一个C程序就是由若 阅读全文
posted @ 2021-05-18 12:32 博客zhu虎康 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 虎康@markdown 使用Markdown编辑器 你好! 如果这是你第一次使用 Markdown编辑器。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。 功能快捷键 撤销:Ctrl/Command + Z 重做:Ctrl/Command 阅读全文
posted @ 2021-05-10 15:36 博客zhu虎康 阅读(134) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页