上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: QPushButton:hover:!pressed { border: 1px solid #434E7A; } 阅读全文
posted @ 2019-09-17 11:21 beautifulday 阅读(3267) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(4465) 评论(6) 推荐(0) 编辑
摘要: 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 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 有两种方式可以实现在模板中元素绑定到父对象 1、<ContentPresenter Margin=”{TemplateBinding Padding}”/> 2、Color=”{Binding RelativeSource={RelativeSource TemplatedParent},Path= 阅读全文
posted @ 2019-08-26 14:30 beautifulday 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: <ControlTemplate x:Key="MenuItemControlTemplate1" TargetType="{x:Type MenuItem}"> <Grid SnapsToDevicePixels="True"> <Border x:Name="OuterBorder" Borde 阅读全文
posted @ 2019-08-22 10:12 beautifulday 阅读(1868) 评论(0) 推荐(0) 编辑
摘要: 一、当需要添加图片、音频、视屏的资源到wpf项目里是,可以直接把文件添加到项目里 右击add->existing item. 1、如果想将外部文件编异常目标成为二进制资源,在文件的属性窗口 Build ACtion 设置为Resource。 把 Copy to output directory属性设 阅读全文
posted @ 2019-08-21 14:24 beautifulday 阅读(376) 评论(1) 推荐(0) 编辑
摘要: <GeometryDrawing x:Key="GeometryDrawingText"> <GeometryDrawing.Geometry> <RectangleGeometry Rect="0,0,5,3"></RectangleGeometry> </GeometryDrawing.Geom 阅读全文
posted @ 2019-07-25 11:32 beautifulday 阅读(2025) 评论(0) 推荐(0) 编辑
摘要: 使用wpf drawingImage绘图是,会出现很奇怪的坐标问题,这个问题困扰很久 当在DrawingGroup中绘图的时候,坐标始终会从(0,0)开始无论设置多少值,奇怪一比 解决方法:首先在DrawingGroup里面添加一个透明的图形,然后再绘制实际图形 RectangleGeometry 阅读全文
posted @ 2019-07-25 09:27 beautifulday 阅读(893) 评论(0) 推荐(0) 编辑
摘要: void ConfigurationFrame::treeItemChanged(QStandardItem * item){ if(item == nullptr) return; if(item->isCheckable()) { //如果条目是存在复选框的,那么就进行下面的操作 Qt::Che 阅读全文
posted @ 2019-06-21 10:49 beautifulday 阅读(4577) 评论(0) 推荐(0) 编辑
摘要: QTreeView::indicator:enabled:checked { /** 指示器 - 选中 **/ image: url(yzfx/checkbox_checked.png);}QTreeView::indicator:enabled:unchecked { /** 指示器 - 选中 * 阅读全文
posted @ 2019-06-20 16:54 beautifulday 阅读(833) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页