子窗口置顶,关闭,父窗口退出问题解决

littlesu | 开发问题 | 2013-01-16
C++ 解决方法: 设置主程序的属性 quitOnLastWindowClosed QApplication 之 quitOnLastWindowClosed //main.cpp QApplicationapp(argc,argv); app.setQuitOnLastWindowClosed(false); //mainwindow.cpp #include<QApplication> void close() qApp->quit(); 12345678910 ... [阅读全文]
ė3,900 浏览数 6没有评论 0

Qt 全局热键 QxtGlobalShortcut 分析与使用举例

littlesu | Qt Gui | 2013-01-16
  不少人有给程序添加全局热键的需求。网上随便一搜,就能找到不少介绍windows下如何实现的方式: 首先: 使用 RegisterHotKey和 UnregisterHotKey 注册和反注册热键 其次: 在事件全局过滤器 winEventFilter 中相应热键 但是涉及其他平台的,中文资料中提到的似乎不多。 libqxt 其实Qt第三方的库 libqxt 中已经给出了... [阅读全文]
ė4,933 浏览数 6没有评论 0

获取管理员权限 win7 uac

littlesu | 开发经验 | 2013-01-16
  创建一个文本文件,内容如下: C++ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&... [阅读全文]
ė4,405 浏览数 6没有评论 0

漂浮框 任务栏 无显示

littlesu | 开发经验 | 2013-01-16
  setWindowFlags(windowFlags () |Qt:: Tool | Qt ::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint );  [阅读全文]
ė6,627 浏览数 6没有评论 0

Qt程序只运行一个实例

littlesu | 开发经验 | 2013-01-16
C++ #include "qtsingleapplication.h" int main(int argc, char *argv[]) { QtSingleApplication instance(argc, argv); if (instance.sendMessage("Wake up!")) { QMessageBox::warning(NULL, QObject::tr("打开程序出错"), QObject::tr("只允许运行... [阅读全文]
ė3,835 浏览数 6没有评论 0

chrome 扩展 + 插件

littlesu | 开发经验 | 2013-01-16
 chrome 有2种扩展 1.Browser Action;2.page actions Chrome扩展就是几个网页,那么代码当然就是网页的JavaScript  有帮助的网页:http://blog.neverbest.com/?p=276 google chrome api: http://developer.chrome.com/extensions/api_index.html chrome.browserAction http://developer.chrome.com/extensions/brow... [阅读全文]
ė3,973 浏览数 6没有评论 0

解决WordPress Thread Comment的“Can’t find the “commentformID” div错误

littlesu | 开发问题 | 2013-01-16
查看原文:http://imcn.me/html/y2011/3298.html 找了好久,终于还是让我找到了,安装WordPress Thread Comment插件之后,发现回复评论出现Can’t find the “commentformID” div错误提示,在google上查了以下,发现需要编辑主题文件 ,找到comments.php,但是我的iStudio Theme在comments.php根本 就找不到div id,但是可以在内容页面... [阅读全文]
ė2,452 浏览数 6没有评论 0

Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?

littlesu | 开发问题 | 2013-01-16
http://zourbuth.com/unable-to-find-the-socket-transport-ssl-did-you-forget-to-enable-it-when-you-configured-php/ Open Configuration File (php.ini) Path C:WINDOWS, find ;extension=php_openssl.dlland delete the semicolon Open Loaded Configuration File C:xamppphpphp.ini and add this codeextension=php_openssl.dll ... [阅读全文]
ė5,296 浏览数 6没有评论 0

163免费邮客户端设置的POP3、SMTP、IMAP地址

littlesu | 杂类 | 2013-01-16
网易邮箱支持POP3/SMTP/IMAP服务,方便您可以通过电脑客户端软件更好地收发邮件!   网易163免费邮箱相关服务器信息:    常用邮件客户端设置图文介绍 : 网易闪电邮荐 Outlook Express Foxmail Microsoft Outlook Vista Mail [阅读全文]
ė7,912 浏览数 6没有评论 0

VS 2010编译Gh0st 3.6

littlesu | 开发问题 | 2013-01-15
  用Vs编译Gh0st修改的工作量还是挺大的,毕竟从VC6.0移植到VS2010平台,已经是一个很大的跨越了,VS2010相对于VC6.0也改进了不止一点了。Gh0st3.6使用了第三方界面库CJ60Lib,目前这个库只支持到VC6.0,而其后的版本已经商业化,所以使用VS2010编译Gh0st的时候,需要重新编译CJ60Lib。VS2010的自带安装的Windows SDK已经到了7.1版,也不需... [阅读全文]
ė9,147 浏览数 6没有评论 0

Ɣ回顶部

无觅相关文章插件,快速提升流量