会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wonderfulday
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
12
下一页
2019年9月17日
QPushButton样式
摘要: QPushButton:hover:!pressed { border: 1px solid #434E7A; }
阅读全文
posted @ 2019-09-17 11:21 beautifulday
阅读(3284)
评论(0)
推荐(0)
2019年9月9日
log4j.xml配置
摘要: log4j.xml Example By mkyong | June 5, 2014 | Updated : July 5, 2014 | Viewed : 396,105 | +843 pv/w By mkyong | June 5, 2014 | Updated : July 5, 2014 |
阅读全文
posted @ 2019-09-09 16:23 beautifulday
阅读(4479)
评论(6)
推荐(0)
2019年9月3日
直接插入排序
摘要: int[] a = { 9, 3, 6, 2, 7, 4, 8, 5, 4,1,10,27,35,49,20,19 }; void DirIinsertSort(int[] b) { int temp1; for(int i =1; i < b.Length;i++) { temp1 = b[i];
阅读全文
posted @ 2019-09-03 17:41 beautifulday
阅读(115)
评论(0)
推荐(0)
2019年8月26日
wpf 模板绑定父对象
摘要: 有两种方式可以实现在模板中元素绑定到父对象 1、<ContentPresenter Margin=”{TemplateBinding Padding}”/> 2、Color=”{Binding RelativeSource={RelativeSource TemplatedParent},Path=
阅读全文
posted @ 2019-08-26 14:30 beautifulday
阅读(1132)
评论(0)
推荐(0)
2019年8月22日
wpf menuitem 简约显示的 template样式
摘要: <ControlTemplate x:Key="MenuItemControlTemplate1" TargetType="{x:Type MenuItem}"> <Grid SnapsToDevicePixels="True"> <Border x:Name="OuterBorder" Borde
阅读全文
posted @ 2019-08-22 10:12 beautifulday
阅读(1913)
评论(0)
推荐(0)
2019年8月21日
wpf之二进制资源
摘要: 一、当需要添加图片、音频、视屏的资源到wpf项目里是,可以直接把文件添加到项目里 右击add->existing item. 1、如果想将外部文件编异常目标成为二进制资源,在文件的属性窗口 Build ACtion 设置为Resource。 把 Copy to output directory属性设
阅读全文
posted @ 2019-08-21 14:24 beautifulday
阅读(403)
评论(1)
推荐(0)
2019年7月25日
wpf GeometryDrawing 绘制文字
摘要: <GeometryDrawing x:Key="GeometryDrawingText"> <GeometryDrawing.Geometry> <RectangleGeometry Rect="0,0,5,3"></RectangleGeometry> </GeometryDrawing.Geom
阅读全文
posted @ 2019-07-25 11:32 beautifulday
阅读(2054)
评论(0)
推荐(0)
wpf DrawingImage 奇葩问题
摘要: 使用wpf drawingImage绘图是,会出现很奇怪的坐标问题,这个问题困扰很久 当在DrawingGroup中绘图的时候,坐标始终会从(0,0)开始无论设置多少值,奇怪一比 解决方法:首先在DrawingGroup里面添加一个透明的图形,然后再绘制实际图形 RectangleGeometry
阅读全文
posted @ 2019-07-25 09:27 beautifulday
阅读(925)
评论(0)
推荐(0)
2019年6月21日
qt tableview使用
摘要: void ConfigurationFrame::treeItemChanged(QStandardItem * item){ if(item == nullptr) return; if(item->isCheckable()) { //如果条目是存在复选框的,那么就进行下面的操作 Qt::Che
阅读全文
posted @ 2019-06-21 10:49 beautifulday
阅读(4613)
评论(0)
推荐(0)
2019年6月20日
qt treaview项checkbox样式
摘要: QTreeView::indicator:enabled:checked { /** 指示器 - 选中 **/ image: url(yzfx/checkbox_checked.png);}QTreeView::indicator:enabled:unchecked { /** 指示器 - 选中 *
阅读全文
posted @ 2019-06-20 16:54 beautifulday
阅读(860)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
12
下一页
公告