列表视图QlistView要配合setModel模型一起使用 ...
分类:
其他好文 时间:
2019-02-15 18:07:40
阅读次数:
172
1. Django,MIDDLEWARES中间件的作用和应用场景? 2. 列举django中间件的5个方法? 3. django的request对象是在什么时候创建的? 4. Django重定向是如何实现的?用的什么状态码? 5. xxss攻击 6. django中csrf的实现机制 7. 基于dj ...
分类:
其他好文 时间:
2019-02-14 20:33:50
阅读次数:
162
1.数列找规律:OEIS 2.图形计算器:GeoGebra 3.CS Academy的三个工具 (1).Graph Editor(画图) (2).Geometry Widget(几何小小工具,比较推荐图形计算器) (3).Diffing Tool(找不同) 4.Data Structure Visu ...
分类:
Web程序 时间:
2019-02-13 09:12:47
阅读次数:
205
我在QT图形视图框架中使用QGraphicsProxyWidget嵌入widget,但是无法使其和其它的QGraphicsItem一样可以选择或移动,使用如下语句无效: C++ Code 123456789101112 // Create new QGraphicsScene and assign ...
分类:
移动开发 时间:
2019-02-12 18:38:28
阅读次数:
633
Given an array of integers, return a new array such that each element at index i of the new array is the product of all the numbers in the original ar ...
分类:
其他好文 时间:
2019-02-11 10:22:20
阅读次数:
173
hexo 添加live2d看板动画 https://www.jianshu.com/p/3a6342e16e57 首先贴出官网代码 官网地址配置:https://www.npmjs.com/package/hexo-helper-live2d 按如下步骤执行 1?? 首先检查博客主目录下面的 pac ...
分类:
Web程序 时间:
2019-02-08 19:49:40
阅读次数:
3133
import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; public class Lesbian extends ListActivity { public void... ...
分类:
其他好文 时间:
2019-02-07 20:29:32
阅读次数:
195
BellMan-ford算法描述 1.初始化:将除源点外的所有顶点的最短距离估计值 dist[v] ← +∞, dist[s] ←0; 2.迭代求解:反复对边集E中的每条边进行松弛操作,使得顶点集V中的每个顶点v的最短距离估计值逐步逼近其最短距离;(运行|v|-1次) 3.检验负权回路:判断边集E中 ...
分类:
编程语言 时间:
2019-02-05 18:25:35
阅读次数:
211