10 2019 档案

摘要:std::string test_str = "year,mon,day,hh"; std::vector res = splitwithstr(test_str, ','); for (int i=0; i splitwithstr(std::string &str,char ch) { std::string tmpstr = str+ch; std::vector res;... 阅读全文
posted @ 2019-10-21 19:46 Truman001 阅读(3920) 评论(0) 推荐(0) 编辑
摘要:QScrollBar *vScrollBar = m_pLogListWidget->verticalScrollBar(); if (vScrollBar != NULL) { vScrollBar->setValue(vScrollBar->maximum()); } 阅读全文
posted @ 2019-10-21 19:40 Truman001 阅读(1570) 评论(0) 推荐(0) 编辑
摘要:下面两种方法均可让对话框的问号按钮去掉,如果其中一种不生效,可更换另一种 1 方法一 2 方法二 阅读全文
posted @ 2019-10-21 19:39 Truman001 阅读(3941) 评论(0) 推荐(0) 编辑
摘要:当更改完Qt的界面控件大小时,如果没有更新,可调用下列函数进行刷新界面 1 void QWidget::update() 2 void QWidget::repaint() 3 void QWidget::showNormal() 4 void resize(const QSize &) 例:thi 阅读全文
posted @ 2019-10-21 19:37 Truman001 阅读(5466) 评论(0) 推荐(0) 编辑
摘要:1 如何查看自己电脑上opencv版本 2 阅读全文
posted @ 2019-10-06 16:14 Truman001 阅读(107) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示