- Getting Started with Qt 5
- Benjamin Baka
- 182字
- 2021-07-02 12:53:01
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "To set the password to the connection parameter, the code fragment, db_conn.setPassword(""), is issued."
A block of code is set as follows:
QSqlDatabase db_conn =
QSqlDatabase::addDatabase("QMYSQL", "contact_db");
db_conn.setHostName("127.0.0.1");
db_conn.setDatabaseName("contact_db");
db_conn.setUserName("root");
db_conn.setPassword("");
db_conn.setPort(3306);
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
[default]
exten => s,1,Dial(Zap/1|30)
exten => s,2,Voicemail(u100)
exten => s,102,Voicemail(b100)
exten => i,1,Voicemail(s0)
Any command-line input or output is written as follows:
% mkdir helloWorld
% ./run_executable
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "It displays the text Hello world ! in a label."
- Learning SQL Server Reporting Services 2012
- 深入理解Spring Cloud與實戰
- 網絡服務器配置與管理(第3版)
- Applied Unsupervised Learning with R
- 深入淺出SSD:固態存儲核心技術、原理與實戰
- INSTANT ForgedUI Starter
- Practical Machine Learning with R
- 筆記本電腦維修實踐教程
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- 單片機技術及應用
- Blender Game Engine:Beginner's Guide
- 計算機組裝與維護(慕課版)
- 零基礎輕松學修電腦主板
- 計算機組裝與維護立體化教程(微課版)
- ActionScript Graphing Cookbook