官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, class or type names. Here is an example: "The Qt project file, ImageViewer.pro, should be renamed ImageEditor.pro. You can do this in your file manager or in a Terminal."

A block of code is set as follows:

         QMenu *editMenu;
QToolBar *editToolBar;
QAction *blurAction;

When we wish to draw your attention to a particular part of a code block, a comment will be appended to end of the lines:

         // for editting
void blurImage();

Any command-line input or output is written as follows:

    $ mkdir Chapter-02
$ cp -r Chapter-01/ImageViewer/ Chapter-02/ImageEditor
$ ls Chapter-02
ImageEditor
$ cd Chapter-02/ImageEditor
$ make clean
$ rm -f ImageViewer

The $ symbol is the shell prompt, and the text after it is a command. The lines that don't start with a $ are the output of the preceding command.

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 佳木斯市| 金堂县| 水富县| 惠水县| 陕西省| 镇原县| 涿鹿县| 沛县| 长垣县| 平原县| 古田县| 闽侯县| 怀宁县| 章丘市| 临沂市| 濮阳县| 屏东县| 茶陵县| 平定县| 拉萨市| 周至县| 介休市| 阳原县| 荔浦县| 靖州| 黔江区| 阿荣旗| 横峰县| 濮阳县| 恭城| 尉氏县| 仪陇县| 平乡县| 翼城县| 河曲县| 军事| 泰兴市| 个旧市| 澄城县| 元谋县| 鹤庆县|