本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140912830
JS
1 | .pragma library |
QML
1 | import QtQuick 2.5 |
创作不易,小小的支持一下吧!


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140912830
1 | .pragma library |
1 | import QtQuick 2.5 |


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140909372
1 | QTimer *timer = new QTimer; // QTimer inherits QObject |
1 | extern Q_CORE_EXPORT int qt_ntfs_permission_lookup; |
WIN上下载k-lite或者LAV Filters安装即可。
1 | // 创建实例 |
1 | // QPointer 表现类似普通指针 |
1 | QStyle::SP_TitleBarMenuButton |
1 | ui->listWidget->setHorizontalScrollMode(QListWidget::ScrollPerPixel); |
C:\Users\Administrator\AppData\Roaming\QtProject
1 |
|
1 |
|
1 | QString frmMain::getWMIC(const QString &cmd) |
1 | bat进程启动运行 |
1 | void showEvent(QShowEvent *e){ |
1 | m_pQuickWidget = new QQuickWidget(this); |
1 | QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE"); |
用记事本打开对应的ui文件,找到为空的地方,删除即可
1 | 图片访问,需编辑qrc文件,添加资源,使用:/全路径名访问。 |
1 | 例如 ::down-arrow,::menu-indicator{} ::up-arrow:disabled,::up-arrow:off{}。 |
1 | QMAKE_LFLAGS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\" #以管理员运行 |
1 | style()->pixelMetric(QStyle::PM_TitleBarHeight); PM_TitleBarHeight点进去你会发现新大陆 |
1 | const QMetaObject *metaobject = object->metaObject(); |
1 | a.setAttribute(Qt::AA_NativeWindows);可以让每个控件都拥有独立的句柄。 |
1 | #if (QT_VERSION > QT_VERSION_CHECK(5,6,0)) |
QThread用法:启动与退出_qthread restart-CSDN博客
http://m.codes51.com/itwd/1338157.html
Qt使用多线程的一些心得_qt emit 处理时间长-CSDN博客
1 | //移除原有样式 |
1 | 发布程序的时候带上QtWebEngineProcess.exe+translations文件夹+resources文件夹 |
1 | 运行文件附带调试输出窗口 CONFIG += console pro |
1 | #if _MSC_VER >= 1600 |
1 | QString path = "F:/down/"; |
QT实现windows窗口内嵌_qt dialog窗口嵌入在主窗口内部-CSDN博客
QT样式美化 之 qss入门_qt tablewidget qss-CSDN博客
C++ QT实现验证码功能_qt中实现手机验证码的方法-CSDN博客
C++ 实现QT信号槽_c++ 加qt写一个好的示波器-CSDN博客
Electron qt开发教程_qt electron混合开发-CSDN博客


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140897991
1 | QStringList multis = templateStr.split('\n'); |
[config]
camealCase = true
[var]
scopeName = Test
funcName = genetate
returnType = std::string
defaultReturn = “”
[template]
${returnType} ${scopeName}::get${funcName}() const
{
auto node = getNode();
if (!node)
return ${defaultReturn};
${returnType} ${funcName} = node->${funcName}(); // 修改属性名
return ${funcName};
}
1 | std::string Test::getGenetate() const |


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140881624
1 | QStringList newLines; |




本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140867846
1 | pip install conan |



conan.py目录下执行 conan install .
-DCMAKE_TOOLCHAIN_FILE=build/generators/conan_toolchain.cmake


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140858439
关键代码
1 |
|
解析前

解析后



本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140833571
1 | #include "common.h" |
1 | Blame error [-3] - the path '`HEAD~10..HEAD`' does not exist in the given tree |
https://github.com/libgit2/libgit2


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140806170

1 |
|



本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140781230
1 | #include "mainwindow.h" |



本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/140743655

win10 解决多用户同时远程连接教程(超详细图文)_win10多用户登录-CSDN博客
1 | for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (%windir%\System32\tscon.exe %%s /dest:console) |
断开连接时切换到远程时用户,管理员运行此脚本
shutdown -s -t 0:立即关闭计算机。
shutdown -r -t 0:立即重启计算机。
shutdown -r -t 60:60秒后重启计算机。
shutdown /g:注销当前用户并重新启动计算机。


tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true