- 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."
- Istio入門與實戰
- FPGA從入門到精通(實戰篇)
- Android NDK Game Development Cookbook
- SDL Game Development
- 電腦組裝、維護、維修全能一本通(全彩版)
- 平衡掌控者:游戲數值經濟設計
- 基于Apache Kylin構建大數據分析平臺
- Practical Machine Learning with R
- 龍芯自主可信計算及應用
- 深入理解序列化與反序列化
- LPC1100系列處理器原理及應用
- 電腦組裝與維護即時通
- The Artificial Intelligence Infrastructure Workshop
- Istio實戰指南
- USB應用分析精粹:從設備硬件、固件到主機端程序設計