- 博客(18)
- 资源 (5)
- 收藏
- 关注
原创 如何在 pyqt 里面用一个 slot 处理很多 signal
应用场景我的一个程序里面,需要在表格里面增加一个输入框,输入框更改之后,程序要能知道。这个输入框很多,我希望用一个 slot 处理。def thresholdEdited(self, newval, number): val = 0 if len(newval) > 0 : val = int(newval) self.proj.datalist[number
2016-06-11 21:36:40
544
原创 ubuntu 的 document viewer evince 发生 Could not open X display 错误的处理
现象:在图形界面运行 Document Viewer 没反应,打开 pdf 文件没反应。在命令行运行 evince:No protocol specified** (evince:22430): WARNING **: Could not open X displayNo protocol specified问题在于在这之前,把 home 目录挪到了
2016-01-30 18:25:43
2804
原创 在Linux服务器建立小团队Git服务
在服务器设立 git 用户和项目组成员账户。 建立 git 账户,设定一个特别复杂的 password。不建议更改登录 shell。 在服务器给每个项目组成员建立个人账户,把需要使用 git 的账户增加到 /etc/group 的 git 组里面去。在服务器建立 git 仓库目录。 /opt/git chown -R git:git /opt/git在服务端建立项目目录。 以 git
2016-01-14 17:11:29
579
转载 NotePad++ - 安装和配置C/C++开发插件
NotePad++ - 安装和配置C/C++开发插件 | NotePad++ - Install and Configure plugins for develop C/C++ 2010-12-11 19:42:29| 分类:C/C++| 标签:notepad++ c
2011-09-30 22:00:53
5739
转载 linux 中解析命令行参数(getopt_long用法)
linux 中解析命令行参数(getopt_long用法)from :http://blog.youkuaiyun.com/ast_224/article/details/3861625发布者:chinaitlab 日期:
2011-09-30 10:53:22
316
转载 Static Installation of Qt 4.6.2On Windows And QT Application Deployment
Static Installation of Qt 4.6.2On Windows And QT Application Deployment Recently I had to deploy an application I created using Qt on Wi
2011-09-16 21:13:30
539
转载 Qt程序 & 静态编译 & 中文乱码
转自:http://www.cublog.cn/u/18517/showart_2345417.htmlQt程序 & 静态编译 & 中文乱码手头一个Qt程序在开发过程中一直使用的是Qt动态连接库,中文显示正常。现在需要编译一个静态连接的版本,但发现采用静态编译出来的程
2011-09-16 21:11:27
887
转载 在gdb中打印QString
转载自:http://blog.sina.com.cn/s/blog_6234a2f00100fkvx.html在gdb中打印QStringGDB的print命令只能打印基本数据类型,像QString这样的复杂类型就不行了。如果在调试过程中(命令行,或者xco
2011-09-16 10:22:02
3364
原创 将STM32的TIM作为普通定时器的方法
转载自:http://hi.baidu.com/396954504/blog/item/5b277a0fd05179e6aa64575a.html将STM32的TIM作为普通定时器的方法以stm32的TIM2作为例,将其配置成为普通的定时器,计时时间到即触发中
2011-09-13 16:59:21
2974
原创 STM32(Cortex-M3)中的优先级概念
转载自:http://hi.baidu.com/396954504/blog/item/5b277a0fd05179e6aa64575a.htmlSTM32(Cortex-M3)中的优先级概念STM32(Cortex-M3)中有两个优先级的概念——抢占
2011-09-13 14:47:08
1562
转载 STM32 对于NVIC中断优先级的设置
转载自:http://blog.chinaunix.net/space.php?uid=20745340&do=blog&cuid=2354876对STM32 NIVC的了解 (2010-10-14 17:37)用STM32做项目已经有段时间了,但是我忽然发现
2011-09-13 14:39:58
9352
转载 STM32 SPI1 remap时,与调试端口的冲突解决办法
转载自:http://dontium.blog.163.com/blog/static/342952722011765217304/STM32 SPI1 remap时,与调试端口的冲突解决办法 使用SWD方式调试时,只用两条线:SWDIO、SW
2011-09-13 13:14:05
3038
转载 wget 用法笔记
wget 的用法常用用法:wget -b -r -np http://aaa.bbb.com >out.txt 2>&1 &wget -b -r -np ftp://user:passwd@aaa.bbb.com/a/b/c/ >out.txt 2>&1 &后
2011-08-30 13:43:54
395
原创 Junction, the symbol link of windows XP
Junction v1.06By Mark RussinovichPublished: September 8, 2010 Download Junction(77.7 KB)IntroductionWindows 2000 and higher
2011-08-28 20:34:48
751
原创 理解和认识udev
转自:http://www.linuxsky.org/doc/admin/200710/139.html 发布时间:2007-10-08因为本身从事存储行业,在工作中多次碰到用户有这样的要求:我的linux系统中原来有一块SCSI硬盘,系统分配的设备文件是/dev/s
2011-08-28 11:20:12
274
原创 Linux RH9,FC1 中增加 telnet 能力
Telnet 相关 (RH9,FC1)允许telnet在系统最开始配置的时候,最好能够打开telnet,等配置完毕再关闭。编辑 /etc/xinetd.d/telnet修改 disable=no执行 /etc/rc.d/init.d/xinetd restart增加telnet到root的能力编辑 /etc/securetty 增加telnet的tty
2009-09-06 21:31:00
571
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人