- 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."
- 基于Proteus和Keil的C51程序設計項目教程(第2版):理論、仿真、實踐相融合
- 深入淺出SSD:固態(tài)存儲核心技術(shù)、原理與實戰(zhàn)
- 電腦組裝、維護、維修全能一本通(全彩版)
- 單片機原理及應用系統(tǒng)設計
- Camtasia Studio 8:Advanced Editing and Publishing Techniques
- 微軟互聯(lián)網(wǎng)信息服務(IIS)最佳實踐 (微軟技術(shù)開發(fā)者叢書)
- CC2530單片機技術(shù)與應用
- Hands-On Artificial Intelligence for Banking
- 圖解計算機組裝與維護
- 新編電腦組裝與硬件維修從入門到精通
- FL Studio Cookbook
- 計算機組裝與維護(慕課版)
- 微服務架構(gòu)基礎(Spring Boot+Spring Cloud+Docker)
- Corona SDK Mobile Game Development:Beginner's Guide
- 創(chuàng)客電子:Arduino和Raspberry Pi智能制作項目精選