上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 42 下一页

2019年3月7日

Openstack 的 Log 在 /var/log/syslog 里 【Ubuntu】

摘要: Storage node 的 log 也要看看。 阅读全文

posted @ 2019-03-07 13:50 liujx2019 阅读(120) 评论(0) 推荐(0) 编辑

Git 分支 - 分支的新建与合并

摘要: https://git-scm.com/book/zh/v1/Git-%E5%88%86%E6%94%AF-%E5%88%86%E6%94%AF%E7%9A%84%E6%96%B0%E5%BB%BA%E4%B8%8E%E5%90%88%E5%B9%B6 注意 checkout 的意思与 svn 不同 阅读全文

posted @ 2019-03-07 13:49 liujx2019 阅读(674) 评论(0) 推荐(0) 编辑

2019年3月6日

git取消跟踪(unversion)

摘要: 有时候我们会git add了一些不想跟踪的文件,通过下面的命令可以在没提交前从index里删掉跟踪记录(保留本地文件) 阅读全文

posted @ 2019-03-06 13:47 liujx2019 阅读(280) 评论(0) 推荐(0) 编辑

清除整个 QStringList 的内容

摘要: clear(); 阅读全文

posted @ 2019-03-06 11:12 liujx2019 阅读(1326) 评论(0) 推荐(0) 编辑

显示 QStringList 的内容

摘要: QStringList s; s textBrowser->append(s.at(i)); 阅读全文

posted @ 2019-03-06 11:11 liujx2019 阅读(382) 评论(0) 推荐(0) 编辑

BareTail 观看文件增加的工具

摘要: 阅读全文

posted @ 2019-03-06 09:35 liujx2019 阅读(229) 评论(0) 推荐(0) 编辑

窗口左上角添加图标

摘要: QIcon icon;icon.addFile(QStringLiteral("bitbug_favicon.ico"), QSize(), QIcon::Normal, QIcon::Off);widget->setWindowIcon(icon); 阅读全文

posted @ 2019-03-06 09:33 liujx2019 阅读(539) 评论(0) 推荐(0) 编辑

2019年2月28日

点击Qtableview表头,触发事件

摘要: refer to http://developer.qt.nokia.com/faq/answer/how_can_i_sort_the_items_in_a_qtablewidget_on_multiple_columns https://bbs.csdn.net/topics/360139821 阅读全文

posted @ 2019-02-28 18:21 liujx2019 阅读(2419) 评论(0) 推荐(0) 编辑

变参数的宏

摘要: 其中 阅读全文

posted @ 2019-02-28 15:56 liujx2019 阅读(84) 评论(0) 推荐(0) 编辑

用互斥锁实现程序只能有一个实例

摘要: HANDLE mSingleInstanceMutex = NULL; bool moreThanOneInstance() { mSingleInstanceMutex = CreateMutex(NULL, FALSE, L"SingleNFDLinkGUI"); if (NULL == mSingleInstanceMutex || ERROR_ALREADY_EXIST... 阅读全文

posted @ 2019-02-28 15:54 liujx2019 阅读(334) 评论(0) 推荐(0) 编辑

上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 42 下一页

导航