?? zenflesh.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;}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -