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

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.
主站蜘蛛池模板: 西吉县| 灌南县| 东宁县| 武清区| 平湖市| 来安县| 平乐县| 来宾市| 海晏县| 论坛| 富阳市| 温州市| 丰镇市| 无极县| 红河县| 武宣县| 航空| 乐平市| 襄城县| 根河市| 大冶市| 石台县| 宁乡县| 北川| 龙海市| 白朗县| 萍乡市| 乐平市| 颍上县| 尤溪县| 浦东新区| 磐安县| 成安县| 巴楚县| 南投县| 田东县| 敖汉旗| 博客| 黔西县| 饶平县| 都江堰市|