資料介紹
1. The first thing we need to do is open up Qt Creator and create a new project. If this is
the first time you have used Qt Creator, you can either click the big button that says
New Project with a + sign, or simply go to File | New File or New Project.
2. Then, select Application under the Project window and select Qt Widgets Application.
3. After that, click the Choose button at the bottom. A window will then pop out and
ask you to insert the project name and its location.
4. Once you‘re done with that, click Next several times and click the Finish button
to create the project. We will just stick to all the default settings for now. Once the
project has been created, the first thing you will see is the panel with tons of big icons
on the left side of the window that is called the Mode Selector panel; we will discuss
this more later in the How it works.。. section.
5. Then, you will also see all your source files listed on the Side Bar panel which is
located right next to the Mode Selector panel. This is where you can select which file
you want to edit, which, in this case, is mainwindow.ui because we are about to
start designing the program’s UI!
6. Double-click mainwindow.ui and you will see an entirely different interface
appearing out of nowhere. Qt Creator actually helped you to switch from the script
editor to the UI editor (Qt Designer) because it detected the .ui extension on the file
you‘re trying to open.
7. You will also notice that the highlighted button on the Mode Selector panel has
changed from the Edit button to the Design button. You can switch back to the script
editor or change to any other tools by clicking one of the buttons located in the upper
half of the Mode Selector panel.
8. Let’s go back to the Qt Designer and look at the mainwindow.ui file. This is basically
the main window of our program (as the filename implies) and it‘s empty by default,
without any widget on it. You can try to compile and run the program by pressing the
Run button (green arrow button) at the bottom of the Mode Selector panel, and you
will see an empty window popping up once the compilation is complet
- ISL94202EEPROM Programming GUI 手冊
- qt用C++寫的2048小游戲源代碼 1次下載
- Qt5 學習之路及嵌入式開發(fā)教程14:Qt5主窗口---界面設置
- 嵌入式linux安裝qt,嵌入式Linux版本Qt5.4快速部署 0次下載
- 嵌入式Linux的QT版本,嵌入式Linux版本Qt5.4快速部署 0次下載
- Qt5遠程調(diào)試嵌入式linux
- C++ GUI Qt4編程(第二版)配套源代碼匯總 0次下載
- Qt5環(huán)境下如何配置OpenCV 17次下載
- Qt5布局管理詳細資料概述 0次下載
- Qt5主窗體的詳細中文資料免費下載 0次下載
- Qt5位置相關函數(shù)及圖形與圖片的詳細資料免費下載 0次下載
- Rapid GUI Programming with Python and Qt 16次下載
- C++_Qt5_范例開發(fā)大全 74次下載
- C++ Network Programming (Volum 0次下載
- The C++ Programming Language T
- 基于QT5+OpenCV+OpenVINO C++的應用打包過程 864次閱讀
- C++簡史:C++是如何開始的 415次閱讀
- Rust GUI實踐之Rust-Qt模塊 1356次閱讀
- Qt 5.14.2超詳細安裝教程 4669次閱讀
- Qt如何安裝在Linux上 2384次閱讀
- C與C++混合編程是什么 1300次閱讀
- Qt Designer中提供的原生界面元素 1642次閱讀
- 如何將Qt Design Studio工程轉換為Qt Creator工程 4677次閱讀
- C++語言的發(fā)展 558次閱讀
- C/C++基礎知識匯總 2222次閱讀
- C++:引用的使用場景 3940次閱讀
- C++封裝:this指針 3371次閱讀
- C++到底適不適合桌面軟件開發(fā)C++的應用方向和發(fā)展分析 1.8w次閱讀
- 嵌入式LINUX的Qt開發(fā)入門教程 2.1w次閱讀
- 解析c++語言的Qt內(nèi)省機制 1440次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費下載
- 0.00 MB | 1490次下載 | 免費
- 2單片機典型實例介紹
- 18.19 MB | 92次下載 | 1 積分
- 3S7-200PLC編程實例詳細資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識別和講解說明
- 4.28 MB | 18次下載 | 4 積分
- 5開關電源原理及各功能電路詳解
- 0.38 MB | 10次下載 | 免費
- 6基于AT89C2051/4051單片機編程器的實驗
- 0.11 MB | 4次下載 | 免費
- 7藍牙設備在嵌入式領域的廣泛應用
- 0.63 MB | 3次下載 | 免費
- 89天練會電子電路識圖
- 5.91 MB | 3次下載 | 免費
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費
- 4LabView 8.0 專業(yè)版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費
- 5555集成電路應用800例(新編版)
- 0.00 MB | 33562次下載 | 免費
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費
- 8開關電源設計實例指南
- 未知 | 21539次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費
- 2protel99se軟件下載(可英文版轉中文版)
- 78.1 MB | 537791次下載 | 免費
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 5Altium DXP2002下載入口
- 未知 | 233045次下載 | 免費
- 6電路仿真軟件multisim 10.0免費下載
- 340992 | 191183次下載 | 免費
- 7十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183277次下載 | 免費
- 8proe5.0野火版下載(中文版免費下載)
- 未知 | 138039次下載 | 免費
評論
查看更多