- Qt5 C++ GUI Programming Cookbook
- Lee Zhi Eng
- 311字
- 2021-07-02 12:17:55
How it works...
Qt Quick editor uses a very different approach for placing widgets in the application compared to the form editor. The user can decide which method is best suited to their purposes. The following screenshot shows what the Qt Quick Designer looks like:

We will now look at the various elements of the editor's UI:
- Navigator: The Navigator window displays the items in the current QML file as a tree structure. It's similar to the object operator window in the other Qt Designer we used in the previous Using style sheets with Qt Designer section.
- Library: The Library window displays all the Qt Quick Components or Qt Quick Controls available in QML. You can click and drag it to the canvas window to add to your UI. You can also create your own custom QML components and display it here.
- Resources: The Resources window displays all the resources in a list that can then be used in your UI design.
- Imports: The Imports window allows you to import different QML modules into your current QML file, such as a Bluetooth module, a WebKit module, or a positioning module, to add additional functionality to your QML project.
- Properties pane: Similar to the Property Editor we used in previous recipe, the Properties pane in QML Designer displays the properties of the selected item. You can also change the properties of the items in the code editor.
- anvas: The canvas is the working area where you create QML components and design applications.
- tate pane: The State pane displays the different states in the QML project, describing UI configurations, such as the UI controls, their properties and behavior, and the available actions.
- onnections: This panel is where you set the signal handlers for each QML component in your canvas, which empowers the signals and slots mechanism provided by Qt.
推薦閱讀
- 同仁眼外傷手冊(cè)
- 癌癥療愈錄:腫瘤門診敘事紀(jì)實(shí)
- 腫瘤精準(zhǔn)放射治療靶區(qū)勾畫叢書:泌尿系統(tǒng)腫瘤
- 北京協(xié)和醫(yī)院肌電圖臨床應(yīng)用病例解析
- 現(xiàn)代口腔正畸技術(shù)與臨床思維(現(xiàn)代實(shí)用口腔醫(yī)學(xué)著譯叢書)
- 乳腺、甲狀腺介入性超聲學(xué)
- 災(zāi)難醫(yī)學(xué):管理篇
- 腫瘤防治科普叢書:腦部腫瘤
- 骨骼肌靜力性負(fù)荷所致?lián)p傷機(jī)理的研究
- 骨科臨床X線檢查手冊(cè)
- 急危重癥容量管理
- 原發(fā)性肝癌放射治療臨床實(shí)踐
- 肝臟外科名家手術(shù)精粹
- 200例疑難病癥診治實(shí)錄
- 中國(guó)腦血管病臨床管理指南(第2版)