隔壁老王 隔壁老王
4年前
Qt制作简单配置窗口
在上一篇登录操作之后新建设计类记录用户信息及服务端连接信息头文件cppifndefCLIENTCONFIGHdefineCLIENTCONFIGHinclude<QWidgetinclude<QDialoginclude"fileoperation.h"namespaceUiclassclientconfig;classclientconfi
Wesley13 Wesley13
3年前
java导出多sheet的excel
excel工具类,适合单sheet或多sheet的excel表格导出packageUtil;importorg.apache.poi.hssf.usermodel.HSSFWorkbook;importorg.apache.poi.ss.usermodel.\;importjavax.servlet.ServletOut
Wesley13 Wesley13
3年前
iOS 网易新闻用户头像翻转效果核心代码
1.首先要先分清实现的过程,目测应该是使用了苹果自带的UIview类方法:(void)transitionFromView:(UIView\)fromViewtoView:(UIView\)toViewduration:(NSTimeInterval)durationoptions:    (UIViewAnimatio
Stella981 Stella981
3年前
HandlerThread
andlerThread类实现了Looper的循环处理消息的功能HandlerThreadhandlerThreadnewHandlerTread("handler\_thread");//使用HandlerThread的getLooper方法之前必须先调用start方法handlerThread.start();//取出h
Wesley13 Wesley13
3年前
activiti 5.16 businessKey 为null 处理。
activiti版本5.16产生原因:创建子流程时,businesskey不传递。解决如下:1、创建监听类:importorg.activiti.engine.delegate.event.ActivitiEntityEvent;importorg.activiti.engine.delegate.even
Stella981 Stella981
3年前
Spring5.0源码深度解析之Spring基于注解启动流程分析🔥
主要内容:一、IOC容器的初始化流创建IOC容器注册配置类BeanFactory后置处理器Bean的后置处理器创建Bean对象
Easter79 Easter79
3年前
SpringBoot注解大全
一、注解(annotations)列表@SpringBootApplication:包含了@ComponentScan、@Configuration和@EnableAutoConfiguration注解。其中@ComponentScan让springBoot扫描到Configuration类并把它加入到程序上下文。@Configuratio
Wesley13 Wesley13
3年前
DAY83
一、forms组件基本使用视图层第一步:导入formsfromdjangoimportformsfromdjango.formsimportwidgets第二步:定义的类classUser_form(forms.Form):第
Stella981 Stella981
3年前
SpringBoot注解大全
一、注解(annotations)列表@SpringBootApplication:包含了@ComponentScan、@Configuration和@EnableAutoConfiguration注解。其中@ComponentScan让springBoot扫描到Configuration类并把它加入到程序上下文。@Configuratio
小万哥 小万哥
1年前
Python 中多态性的示例和类的继承多态性
单词"多态"意味着"多种形式",在编程中,它指的是具有相同名称的方法/函数/操作符,可以在许多不同的对象或类上执行。函数多态性一个示例是Python中的len()函数,它可以用于不同的对象。字符串对于字符串,len()返回字符的数量:示例pythonx"H