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

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "This uses the QGIS_PREFIX environment variable we set earlier to tell QGIS where to find its resources."

A block of code is set as follows:

app = QApplication(sys.argv)

viewer = MapViewer("/path/to/shapefile.shp")
viewer.show()

app.exec_()

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

  def unload(self):
    self.iface.removePluginMenu("Test Plugin", self.action)
 self.iface.removeToolBarIcon(self.action)

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

export PYTHONPATH="$PYTHONPATH:/Applications/QGIS.app/Contents/Resources/python"

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "If you haven't already installed QGIS, click on the Download Now button on the main QGIS web page to download the QGIS software."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 云林县| 桃源县| 清苑县| 扎鲁特旗| 集安市| 东台市| 麻城市| 墨脱县| 鹤岗市| 精河县| 池州市| 海安县| 信丰县| 临武县| 申扎县| 沛县| 康定县| 财经| 平和县| 胶南市| 大名县| 贞丰县| 班玛县| 靖安县| 桑日县| 阿尔山市| 普宁市| 乌拉特前旗| 县级市| 棋牌| 庆元县| 平潭县| 枣阳市| 周宁县| 台江县| 南康市| 彩票| 读书| 香格里拉县| 咸阳市| 任丘市|