简体   繁体   English

Qt Creator-如何打开属性编辑器

[英]Qt Creator - how to open the property editor

whenever I opened a cpp file I can only see the editor, I can't see the property edior. 每当我打开一个cpp文件时,我只能看到编辑器,而看不到属性edior。

When I tried to see it by going through 当我试图通过观察

Tools->Form Editor->views 工具->表单编辑器->视图

Every thing is disabled. 一切都被禁用。 So I cant click anything there. 因此,我无法在此处单击任何内容。

Can anybody suggest a solution? 有人可以提出解决方案吗?

Try openning a ui file or creating a "Qt Designer Form" and it should be enabled there, it's the one in the lower right corner. 尝试打开ui文件或创建“ Qt Designer表单”,并且应该在此处启用它,它是右下角的一个。

The property editor is part of the Qt Designer, which is a WYSIWYG tool (integrated with Qt Creator) for creating user interfaces. 属性编辑器是Qt Designer的一部分,它是用于创建用户界面的WYSIWYG工具(与Qt Creator集成)。 It's a two columns table that lets you edit in a quick and easy way the properties of the Qt widgets like: the text that shows, geometry or tooltip. 这是两列表格,可让您快速方便地编辑Qt小部件的属性,例如:显示的文本,几何图形或工具提示。 This properties depends on the selected widget. 此属性取决于所选的小部件。

This answer is based on the assumption that you tried to use the Qt Creator with the wrong type of file. 该答案基于以下假设:您尝试使用错误类型的文件使用Qt Creator。 If you still don't see the property editor when working with a Designer form (ui file) then your Qt Creator installation is having a problem and I don't know what to do then :S. 如果在使用Designer表单(ui文件)时仍看不到属性编辑器,则说明您的Qt Creator安装有问题,我不知道该怎么做:S。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM