@MappedSuperclasspublic class BaseEntity { @Id @GenericGenerator(name="idGenerator", strategy="uuid") @GeneratedValue(generator="idGenerator")// @Colu ...
分类:
其他好文 时间:
2019-04-26 13:18:52
阅读次数:
120
什么是AppWidgetAppWidget即桌面小部件,也叫桌面控件,就是能直接显示在Android系统桌面上的小程序,先看图:图中我用×××箭头指示的即为AppWidget,一些用户使用比较频繁的程序,可以做成AppWidget,这样能方便地使用。典型的程序有时钟、天气、音乐播放器等。AppWidget是Android系统应用开发层面的一部分,有着特殊用途,使用得当的化,的确会为app增色不少,它
分类:
移动开发 时间:
2019-04-26 09:40:39
阅读次数:
221
#include "mywidget.h" #include "ui_mywidget.h" #include #include #include MyWidget::MyWidget(QWidget *parent) : QWidget(parent), ui(new Ui::MyWidget),... ...
分类:
其他好文 时间:
2019-04-24 12:05:38
阅读次数:
117
#include "widget.h" //QApplication应用程序类//Qt头文件没有.h//头文件和类名一样#include <QApplication> int main(int argc, char *argv[]){ //有且只有一个应用程序类的对象 QApplication a( ...
分类:
其他好文 时间:
2019-04-24 10:43:10
阅读次数:
164
fail-fast(快速失败):多线程情况下,一个线程通过迭代器读取集合中的值时,另一个线程修改了集合,则会抛出ConcurrentModificationException异常; 集合中通过modCount记录集合被修改的次数,每次执行next和remove方法的时候都会先检查这个modCount ...
分类:
其他好文 时间:
2019-04-23 19:06:24
阅读次数:
166
一、提供的类型 QMessageBox.information 信息框 QMessageBox.question 问答框 QMessageBox.warning 警告 QMessageBox.ctitical危险 QMessageBox.about 关于 二、引用 from PyQt5.QtWidg ...
分类:
编程语言 时间:
2019-04-23 09:41:20
阅读次数:
1258
1. 创建Vue项目存放地址 用于存放Vue项目,找个自己处理方便的地方。本人地址:D:\Program Files\Workspace\Vue 2. 创建项目 进入cmd窗口 进入项目存放地址 执行命令【vue init webpack HelloWorld】创建Vue项目 [HelloWorld ...
分类:
其他好文 时间:
2019-04-20 12:57:10
阅读次数:
183
点线式边框:dotted 破折线式边框:dashed 直线式边框:solid 双线式边框:double 槽线式边框:groove 脊线式边框:ridge 内嵌效果的边框:inset 突起效果的边框:outset ...
分类:
其他好文 时间:
2019-04-14 21:46:54
阅读次数:
206