enjoy life and code

archiveTitle(array( 'category' => _t('分类 %s 下的文章'), 'search' => _t('包含关键字 %s 的文章'), 'tag' => _t('标签 %s 下的文章'), 'author' => _t('%s 发布的文章') ), '', ''); ?>

import QtQuick.Controls 2.15 Button { id: iconButton height: 30 width: 30 icon.source: "qrc:///images/delete.svg" icon.width: width icon.height: height icon.c...

#include <QGuiApplication> void foo(){ QGuiApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); doSomething(); QGuiApplication::restoreOverrideCursor(); }

#include <QCoreApplication> #include <QDir> #include <QFile> #include <QtDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QDir dir(a.appli...

nlohmann/json JSON for Modern C++ #include <iostream> #include <fstream> #include <vector> #include <optional> #include "json.hpp" namespace nl = nlohmann; enum...