猫史档案馆


xiaole6324

xiaole6324

Lv.1

华北高一做题区

获赞:39收藏:17浏览:773作品收藏:10

签名:这里是xiaole233 2018年入站,七位数UID,八年老登了 现在主要用的编程语言是TypeScript,Python和Rust,Kitten极少使用…… 参见forum.topologycraft.top,最近的一个小项目

回复帖子评论
上一页2 页 / 共 3下一页

【求图】求头像 中回复

上摄图网去找

 

2019-07-10T09:17:05 点赞:0

留下你姓名的音序,会发生神奇的事情 中回复

WX

2019-07-10T09:45:00 点赞:0

怎么让方块旋转? 中回复

代码岛是不行的,迷你世界可以

 

2019-07-14T13:27:21 点赞:0

【趣玩C语言·07】赋值运算符&关系运算符 中回复

谁会C#教教我吧

我只有C#的IDE

2019-08-04T09:46:06 点赞:0

留下你姓名的音序,会发生神奇的事情 中回复

大家的名字真是一个比一个奇怪

 

2019-08-17T13:11:04 点赞:0

留下你姓名的音序,会发生神奇的事情 中回复

CYY

2019-08-17T13:12:29 点赞:0

留下你姓名的音序,会发生神奇的事情 中回复

XM

 

2019-09-28T11:58:05 点赞:0

【求图】求头像 中回复

emotion_编程猫_翻白眼……O__O "…摄图网上找吧

2019-09-28T12:00:35 点赞:0

实习V不敢打了呢! 中回复

我没有学PYTHON

 

2019-11-10T17:23:00 点赞:0

【科普贴】系统叛变?还是黑客入侵?? 中回复

越来越像,minecraft了

 

2020-02-10T11:47:50 点赞:1

你猜我是谁! 中回复

emmmmmmmmmmm……******?

2020-02-10T11:49:14 点赞:0

【科普贴】系统叛变?还是黑客入侵?? 中回复

嘿嘿,命令方块

2020-02-18T09:47:41 点赞:0

C语言缩进错误怎么办?着急。 中回复

你咋用海归编辑器呢?用

Visual Studio啊

2020-03-19T09:01:16 点赞:0

教大家一招,不用求素材 中回复

这个帖子沉了2年,终于有人回复了emotion_编程猫_伤心

2020-03-29T09:11:52 点赞:0

这门槛有点太低了吧... 中回复

(抱大腿)不能高啊,高了我就进不去了。

2020-03-29T09:45:54 点赞:0

申请加入! 中回复

这位,你好像已经有工作室了

2020-03-29T09:47:24 点赞:0

我已投稿,其他人加油 中回复

猴急,一定要通过啊!emotion_编程猫_加油

2020-04-26T15:37:57 点赞:0

室长的建议 中回复

2222222222222222222222222222222222222

 

2020-05-04T18:17:47 点赞:0

💖【代码岛3.0】明天母亲节,邀请妈妈来你的地图! 中回复

内个……额……吉吉喵,你确定运行不会卡?

2020-05-10T15:04:02 点赞:0

【Python】大伙都用的是什么编译器? 中回复

记事本(早期)海龟(之前)Vscode(现在)IDEA(现在)Visual Studio(之前)

2022-08-22T15:43:02 点赞:0

Git本地使用方法 中回复

原文使用Markdown编写,但社区对Markdown的支持程度……有些不尽人意

2022-10-05T15:02:57 点赞:0

Git本地使用方法 中回复

引用网址:Git官网:git-scm.com  

2022-10-05T15:08:34 点赞:0

急求!!!C++代码及其意思解释 ,官方请回答!!! 中回复

传代码请使用社区的插入代码功能,否则代码的可读性会很差

2022-10-05T15:13:29 点赞:0

【Python作品分享】重复执行 病毒【教程贴】 中回复

99个不够,要用

import os 
while (True):
	os.system("start cmd")

 

2022-10-05T15:22:09 点赞:0

[作品展示]时钟 中回复

#Clock.py
from ui_Clock import *
from PySide6.QtWidgets import *
from PySide6.QtCore import *
from PySide6.QtGui import *
import sys
import time

class Clock(QMainWindow,Ui_QtClock):
    def __init__(self):
        super().__init__()
        self.setupUi(self)
        self.years=2020
        self.months = 1
        self.days=1
        self.hours = 12
        self.mins = 0
        self.secs=0
        self.weeks = 0
        self.setWindowIcon(QIcon("./icon.ico"))
        self.timer = QTimer()
        self.topcont = False
        self.nvb = False
        self.start_button.clicked.connect(self.start_clock)
        self.Freamleass.clicked.connect(self.Windowhasnoborder)
        self.close.clicked.connect(self.closeClock)
        self.windowontop.clicked.connect(self.windowOnTop)
        self.show()
    def start_clock(self):
        self.start_button.setEnabled(False)
        self.update_time()
        self.timer.start(1000)
        self.timer.timeout.connect(self.update_time)
    def update_time(self):
        #while(True):
        self.get_time()
        self.year.display(self.years)
        self.month.display(self.months)
        self.day.display(self.days)
        self.hour.display(self.hours)
        self.minutes.display(self.mins)
        self.second.display(self.secs)
        self.week.display(self.weeks)
    def get_time(self):
        temp = time.strftime("%D")
        self.years=int(temp.split("/")[2])+2000
        self.months = int(temp.split("/")[0])
        self.days = int(temp.split("/")[1])
        self.hours = int(time.strftime("%H"))
        self.mins = int(time.strftime("%M"))
        self.secs = int(time.strftime("%S"))
        
        self.get_week()
    def get_week(self):
        week_dict = {"Monday":1,"Tuesday":2,"Wednesday":3,"Thursday":4,"Friday":5,"Saturday":6,"Sunday":7}
        self.weeks = week_dict[time.strftime("%A")]
    def Windowhasnoborder(self):
        self.nvb = True
        self.Freamleass.setEnabled(False)
        self.update_windowflag()
        self.show()
    def update_windowflag(self):
        if self.topcont:
            self.setWindowFlag(Qt.WindowStaysOnTopHint)
        if self.nvb:
            self.setWindowFlag(Qt.FramelessWindowHint)
    def closeClock(self):
        sys.exit()
    def windowOnTop(self):
        self.topcont = True
        self.windowontop.setEnabled(False)
        self.update_windowflag()
        self.show()
if __name__=="__main__":
    app=QApplication(sys.argv)
    window = Clock()
    sys.exit(app.exec())

2022-10-20T15:41:41 点赞:0

[作品展示]时钟 中回复

# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'Clock.ui'
##
## Created by: Qt User Interface Compiler version 6.2.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QHBoxLayout, QLCDNumber, QLabel,
    QMainWindow, QPushButton, QSizePolicy, QVBoxLayout,
    QWidget)

class Ui_QtClock(object):
    def setupUi(self, QtClock):
        if not QtClock.objectName():
            QtClock.setObjectName(u"QtClock")
        QtClock.resize(540, 226)
        QtClock.setMinimumSize(QSize(540, 226))
        QtClock.setMaximumSize(QSize(540, 226))
        self.centralwidget = QWidget(QtClock)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout = QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.year = QLCDNumber(self.centralwidget)
        self.year.setObjectName(u"year")

        self.horizontalLayout.addWidget(self.year)

        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")

        self.horizontalLayout.addWidget(self.label)

        self.month = QLCDNumber(self.centralwidget)
        self.month.setObjectName(u"month")

        self.horizontalLayout.addWidget(self.month)

        self.label_2 = QLabel(self.centralwidget)
        self.label_2.setObjectName(u"label_2")

        self.horizontalLayout.addWidget(self.label_2)

        self.day = QLCDNumber(self.centralwidget)
        self.day.setObjectName(u"day")

        self.horizontalLayout.addWidget(self.day)

        self.label_3 = QLabel(self.centralwidget)
        self.label_3.setObjectName(u"label_3")

        self.horizontalLayout.addWidget(self.label_3)

        self.week = QLCDNumber(self.centralwidget)
        self.week.setObjectName(u"week")

        self.horizontalLayout.addWidget(self.week)


        self.verticalLayout.addLayout(self.horizontalLayout)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.hour = QLCDNumber(self.centralwidget)
        self.hour.setObjectName(u"hour")

        self.horizontalLayout_2.addWidget(self.hour)

        self.label_4 = QLabel(self.centralwidget)
        self.label_4.setObjectName(u"label_4")

        self.horizontalLayout_2.addWidget(self.label_4)

        self.minutes = QLCDNumber(self.centralwidget)
        self.minutes.setObjectName(u"minutes")

        self.horizontalLayout_2.addWidget(self.minutes)

        self.label_5 = QLabel(self.centralwidget)
        self.label_5.setObjectName(u"label_5")

        self.horizontalLayout_2.addWidget(self.label_5)

        self.second = QLCDNumber(self.centralwidget)
        self.second.setObjectName(u"second")

        self.horizontalLayout_2.addWidget(self.second)

        self.label_6 = QLabel(self.centralwidget)
        self.label_6.setObjectName(u"label_6")

        self.horizontalLayout_2.addWidget(self.label_6)


        self.verticalLayout.addLayout(self.horizontalLayout_2)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.start_button = QPushButton(self.centralwidget)
        self.start_button.setObjectName(u"start_button")

        self.horizontalLayout_3.addWidget(self.start_button)

        self.Freamleass = QPushButton(self.centralwidget)
        self.Freamleass.setObjectName(u"Freamleass")

        self.horizontalLayout_3.addWidget(self.Freamleass)

        self.windowontop = QPushButton(self.centralwidget)
        self.windowontop.setObjectName(u"windowontop")

        self.horizontalLayout_3.addWidget(self.windowontop)

        self.close = QPushButton(self.centralwidget)
        self.close.setObjectName(u"close")

        self.horizontalLayout_3.addWidget(self.close)


        self.verticalLayout.addLayout(self.horizontalLayout_3)

        QtClock.setCentralWidget(self.centralwidget)

        self.retranslateUi(QtClock)

        QMetaObject.connectSlotsByName(QtClock)
    # setupUi

    def retranslateUi(self, QtClock):
        QtClock.setWindowTitle(QCoreApplication.translate("QtClock", u"Clock", None))
        self.label.setText(QCoreApplication.translate("QtClock", u"\u5e74", None))
        self.label_2.setText(QCoreApplication.translate("QtClock", u"\u6708", None))
        self.label_3.setText(QCoreApplication.translate("QtClock", u"\u65e5     \u661f\u671f", None))
        self.label_4.setText(QCoreApplication.translate("QtClock", u"\u65f6", None))
        self.label_5.setText(QCoreApplication.translate("QtClock", u"\u5206", None))
        self.label_6.setText(QCoreApplication.translate("QtClock", u"\u79d2", None))
        self.start_button.setText(QCoreApplication.translate("QtClock", u"\u542f\u52a8\uff01", None))
        self.Freamleass.setText(QCoreApplication.translate("QtClock", u"\u6253\u5f00\u7a97\u53e3\u65e0\u8fb9\u6846", None))
        self.windowontop.setText(QCoreApplication.translate("QtClock", u"\u542f\u7528\u7a97\u53e3\u7f6e\u9876", None))
        self.close.setText(QCoreApplication.translate("QtClock", u"\u5173\u95ed", None))
    # retranslateUi

2022-10-20T15:42:14 点赞:0

【萌新学Python教程】序章 什么是Python?怎么安装Python? 中回复

补几个

Windows:和Mac基本相同,或者在MicrosoftStore里找

Linux:sudo apt install python3

sudo yum install python

 

2022-10-21T08:10:24 点赞:0

【Windows的事】Windows7接近尾声 中回复

我挖我自己(

2025-05-16T19:42:14 点赞:0

【冒个泡】很久没出来的鱼头 中回复

数科老哥来一铲子,165521

2025-05-18T09:57:31 点赞:0

MC-10周年快乐!!! 中回复

15周年后来一铲子,17喵90,SQLite里这个标题太显眼了(

2025-05-18T11:38:32 点赞:1