資料介紹
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 學習之路及嵌入式開發教程14:Qt5主窗口---界面設置
- 嵌入式linux安裝qt,嵌入式Linux版本Qt5.4快速部署 0次下載
- 嵌入式Linux的QT版本,嵌入式Linux版本Qt5.4快速部署 0次下載
- Qt5遠程調試嵌入式linux
- C++ GUI Qt4編程(第二版)配套源代碼匯總 0次下載
- Qt5環境下如何配置OpenCV 17次下載
- Qt5布局管理詳細資料概述 0次下載
- Qt5主窗體的詳細中文資料免費下載 0次下載
- Qt5位置相關函數及圖形與圖片的詳細資料免費下載 0次下載
- Rapid GUI Programming with Python and Qt 16次下載
- C++_Qt5_范例開發大全 74次下載
- C++ Network Programming (Volum 0次下載
- The C++ Programming Language T
- 基于QT5+OpenCV+OpenVINO C++的應用打包過程 1421次閱讀
- C++簡史:C++是如何開始的 637次閱讀
- Rust GUI實踐之Rust-Qt模塊 1629次閱讀
- Qt 5.14.2超詳細安裝教程 5018次閱讀
- Qt如何安裝在Linux上 2743次閱讀
- C與C++混合編程是什么 1744次閱讀
- Qt Designer中提供的原生界面元素 2042次閱讀
- 如何將Qt Design Studio工程轉換為Qt Creator工程 5309次閱讀
- C++語言的發展 617次閱讀
- C/C++基礎知識匯總 2437次閱讀
- C++:引用的使用場景 4092次閱讀
- C++封裝:this指針 3492次閱讀
- C++到底適不適合桌面軟件開發C++的應用方向和發展分析 1.8w次閱讀
- 嵌入式LINUX的Qt開發入門教程 2.1w次閱讀
- 解析c++語言的Qt內省機制 1502次閱讀
下載排行
本周
- 1aP89W24 USB語音芯片燒錄器中文手冊
- 1.58 MB | 4次下載 | 免費
- 2PC4401_DC-DC 42V反激式隔離開關電路
- 0.85 MB | 3次下載 | 免費
- 3GPRS智能超聲波液位監測終端
- 835.55 KB | 2次下載 | 免費
- 4NS8002 2.4W單聲道AB類音頻功率放大器中文手冊
- 1.06 MB | 1次下載 | 免費
- 5STM32的幾種開發方式,你都知道嗎?(可下載)
- 353.41 KB | 次下載 | 免費
- 6AIWA HS-J202/HS-J202M/HS-J800維修手冊
- 13.60 MB | 次下載 | 10 積分
- 7DM400G彩色無紙記錄儀使用說明
- 5.65 MB | 次下載 | 免費
- 8ZS726GaN(ZS727GaN.ZS728GaN)氮化鎵DMOSGaN恒壓模式PWM電源芯片
- 2.73 MB | 次下載 | 免費
本月
- 1第十一屆 藍橋杯 單片機設計與開發項目 省賽 程序設計試題及源碼
- 90.88KB | 23次下載 | 3 積分
- 2NR-E531TX-XN冰箱說明書
- 8.64 MB | 23次下載 | 免費
- 3STM32單片機無人機設計
- 8.81 MB | 19次下載 | 免費
- 4華為硬件工程師手冊目前最全版本
- 1.02 MB | 15次下載 | 2 積分
- 5STM32F103C8T6開發板最小系統原理圖
- 0.78 MB | 15次下載 | 免費
- 6Python從入門到精通背記手冊
- 18.77 MB | 14次下載 | 1 積分
- 7華碩主板架構認識
- 1.42 MB | 11次下載 | 免費
- 8東芝彩色電視機29SF6C維修說明書
- 4.86 MB | 8次下載 | 1 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935127次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關降壓/升壓雙向直流/直流轉換器 PCB layout 設計
- 1.48MB | 420063次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191377次下載 | 10 積分
- 5十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183336次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81584次下載 | 10 積分
- 7Keil工具MDK-Arm免費下載
- 0.02 MB | 73814次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65988次下載 | 10 積分
評論