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

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.
主站蜘蛛池模板: 扬中市| 察雅县| 辛集市| 遵化市| 塔河县| 抚远县| 合山市| 永德县| 清河县| 阿拉善左旗| 佛冈县| 京山县| 民县| 锡林郭勒盟| 时尚| 康马县| 宁陵县| 苍南县| 临邑县| 镇赉县| 耿马| 曲麻莱县| 昭觉县| 阿拉善左旗| 财经| 梁平县| 德州市| 香河县| 宜州市| 包头市| 利川市| 南投县| 长岛县| 翼城县| 兴国县| 延安市| 龙井市| 陕西省| 涟水县| 蓬莱市| 茂名市|