摘要: col-sm-2指的是12栅格系统中在小屏幕下占两列, control-label则指的是控制标签(label)样式的一个类,一般用于控制表单控件。 密码 label 的 for 属性: 当点击label标签中的文字 会定位到 for指向的标签. 中... 阅读全文
posted @ 2016-09-25 21:34 Gladitor 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 不管使用哪种代码风格,在代码中碰到小于号(<)要使用硬编码“&lt;”来替代,大于号(>)使用“&gt;”来替代。而且对于<pre>代码块风格,标签前面留多少个空格,在显示效果中就会留多少个空格。你只需要在pre标签上添加类名“.pre-scrollable”,就可以控制代码块区域最大高度为340p 阅读全文
posted @ 2016-09-25 00:05 Gladitor 阅读(152) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-08-21 22:04 Gladitor 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 /*鼠标画矩形*/ 5 void my_mouse_callback( 6 int event,int x,int y,int flag,void* param 7 ); 8 9 CvRect box; 10 bool drawing... 阅读全文
posted @ 2016-07-21 10:01 Gladitor 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 //开关 5 6 int g_switch_value = 0; 7 8 void switch_callback(int position) 9 { 10 if(position == 0) 11 { 12 printf("off\n"); 13 ... 阅读全文
posted @ 2016-07-21 10:00 Gladitor 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 //平滑处理 5 6 int main() 7 { 8 IplImage* src = cvLoadImage("../pic.jpg"); 9 IplImage* dst = cvCreateImage(cvGetSize(src),IPL_DEPTH_8U,3); 10... 阅读全文
posted @ 2016-07-21 09:56 Gladitor 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 转: 如果你的自定义ListViewItem中有Button或者Checkable的子类控件的话,那么默认focus是交给了子控件,而ListView的Item能被选中的基础是它能获取Focus,也就是说我们可以通过将ListView中Item中包含的所有控件的focusable属性设置为false 阅读全文
posted @ 2016-05-18 21:41 Gladitor 阅读(168) 评论(0) 推荐(0) 编辑
摘要: C++实现 阅读全文
posted @ 2016-04-16 10:17 Gladitor 阅读(272) 评论(0) 推荐(0) 编辑
摘要: package com.cjs.algorithm; public class DynamicPlan { /** * 此方法用来求解矩阵连乘的最小数乘次数 * * @param p * 传入的要连乘的矩阵的维数信息的数组 * @return String型的矩阵的最小数层次数信息 */ pu... 阅读全文
posted @ 2016-04-13 21:54 Gladitor 阅读(3625) 评论(0) 推荐(0) 编辑
摘要: 泛型实现: 阅读全文
posted @ 2016-03-25 18:01 Gladitor 阅读(234) 评论(0) 推荐(0) 编辑