草庐IT

PyQt6/PySide6:账本项目前端制作【附完整项目地址】

0.前言最近在家里闲着没事,正好又看到朋友@studentWheat发了篇用Tkinter做的账本,于是决定跟他一起改进这个程序。屏幕截图:1.后端后端主要是朋友做的,在这里就不多说了,放个代码:src/api.pyfromcollectionsimportdefaultdictclassApiError(RuntimeError):passdefopenFile(filename):'''Openfile.Fileformat:4linesperrecordfordate,eventtype,moneydelta,andnote.Suchas:(file.example,encoding=u

PyQt6/PySide6:账本项目前端制作【附完整项目地址】

0.前言最近在家里闲着没事,正好又看到朋友@studentWheat发了篇用Tkinter做的账本,于是决定跟他一起改进这个程序。屏幕截图:1.后端后端主要是朋友做的,在这里就不多说了,放个代码:src/api.pyfromcollectionsimportdefaultdictclassApiError(RuntimeError):passdefopenFile(filename):'''Openfile.Fileformat:4linesperrecordfordate,eventtype,moneydelta,andnote.Suchas:(file.example,encoding=u

Android开发-记账本-实现记账功能选择

制作GridView适配器,实现页面数据的变化制作类型存储数据库,存储的主要是图片类型,类型被选中时的图片,类型未被选中时的图片。数据库代码如下packagecom.example.Utils.database;importandroid.content.Context;importandroid.database.sqlite.SQLiteDatabase;importandroid.database.sqlite.SQLiteOpenHelper;importandroid.util.Log;importandroidx.annotation.Nullable;importcom.exam

Android开发-记账本-实现记账功能选择

制作GridView适配器,实现页面数据的变化制作类型存储数据库,存储的主要是图片类型,类型被选中时的图片,类型未被选中时的图片。数据库代码如下packagecom.example.Utils.database;importandroid.content.Context;importandroid.database.sqlite.SQLiteDatabase;importandroid.database.sqlite.SQLiteOpenHelper;importandroid.util.Log;importandroidx.annotation.Nullable;importcom.exam