⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zenflesh.cpp

📁 QT方面的开发
💻 CPP
字号:
#include <qstd.h>using namespace qstd;#include <docbookdoc.h>class ZenFlesh : public DocbookDoc {    public: ZenFlesh();};ZenFlesh::ZenFlesh() :     DocbookDoc("Zen Flesh, Zen Bones") {    chapter("101 Zen Stories");    section("A cup of tea");    para("Nan-in served a cup of tea.");    section("Great Waves");    QDomElement p = para("o-nami the wrestler sat in meditation and tried "            "to imagine himself as a bunch of great waves.");    setRole(p, "remark");    chapter("The Gateless Gate");    formalpara("The Gateless Gate",      "In order to enter the gateless gate, you must have a ");    bold(" mindless mind.");    section("Joshu's dog");    para("Has a dog buddha nature or not?");    section("Haykujo's Fox");    QDomElement fp = formalpara("This is a special topic",        "Which should have a role= remark attribute");    setRole(fp, "remark");}int main() {   ZenFlesh book;   cout << book << endl;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -