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

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.
主站蜘蛛池模板: 德令哈市| 宜黄县| 清徐县| 怀来县| 都江堰市| 宝应县| 密山市| 施甸县| 晋江市| 开江县| 舟曲县| 江山市| 郑州市| 甘孜县| 顺义区| 翼城县| 桐乡市| 周口市| 沈丘县| 高安市| 建德市| 崇明县| 牡丹江市| 化州市| 永德县| 水富县| 成都市| 射洪县| 怀集县| 福清市| 左权县| 伊宁市| 屯昌县| 桃江县| 鄂托克旗| 远安县| 普兰店市| 屯门区| 陆丰市| 托克托县| 改则县|