02 2020 档案
摘要:IP协议之TOS字段说明 https://blog.51cto.com/mangguostudy/2107799 从IP首部看ToS的位置: ToS即为服务类型,只有当网络设备能够支持(能够识别IP首部中的ToS字段)识别ToS字段时,这给字段设置才有意义。否则都是空谈。 先说具体字段的意义:Tos
阅读全文
摘要:Who Am i 来源 https://www.jianshu.com/p/1a56970f87b6 视频 https://www.bilibili.com/video/av20513748 前言: 曾是美科学院院士及普林斯顿大学分子生物学系最年轻的终身教授、原清华大学副校长、清华大学生命科学学院院
阅读全文
摘要:Configuring OSPF https://docs.citrix.com/en-us/netscaler/12/networking/ip-routing/configuring-dynamic-routes/configuring-ospf.html September 25, 2018
阅读全文
摘要:Qt高级编码约定 参考 https://wiki.qt.io/Coding_Conventions 来源 https://zhuanlan.zhihu.com/p/97723847 发布于 2019-12-16 这是我们在编写Qt代码时使用的高级编码约定的概述。有关Qt代码规范,请参见Qt代码风格一
阅读全文
摘要:QTextCodec::codecForLocale #include "qwmainwindow.h" #include <QApplication> #include <QTextCodec> #include <QDebug> int main(int argc, char *argv[])
阅读全文
摘要:无边框窗口拖动代码 protected: // 用于鼠标拖动窗口的鼠标事件操作 void mousePressEvent(QMouseEvent * event); void mouseMoveEvent(QMouseEvent * event); void mouseReleaseEvent(QM
阅读全文
摘要:QString QByteArray char 之间的转换 { // 1. char 与 QChar 的转换 char ch1 = 'a'; QChar qch1 = QChar::fromLatin1('b'); qDebug("file(%s) fileno(%d) : ch1(%c) str2
阅读全文
摘要:Qt 程序发布指南 威武的涛哥 的博客文章地址 https://jaredtao.github.io/2019/09/02/Qt%E5%AE%9E%E7%94%A8%E6%8A%80%E8%83%BD6-%E7%A8%8B%E5%BA%8F%E5%8F%91%E5%B8%83%E6%8C%87%E5
阅读全文
摘要:qt demo pro qtdemo.pri TEMPLATE = app QT_VER = $$[QT_VERSION] QT_PATH = $$[QT_INSTALL_PREFIX] #message(Qt version is $$QT_VER) #message(Qt install pre
阅读全文