Qt Designer 提供 4 种编辑模式: Widget 编辑模式 , 信号和槽编辑模式 , 好友编辑模式 and Tab 次序编辑模式 。当操控 Qt Designer , you will always be in one of these four modes. To switch between modes, simply select it from the 编辑 menu or the toolbar. The table below describes these modes in further detail.
编辑模式 | |
---|---|
在 编辑 mode, we can change the appearance of the form, add layouts, and edit the properties of each widget. To switch to this mode, press F3 . This is Qt Designer 's default mode. | |
在 信号和槽 mode, we can connect widgets together using Qt's signals and slots mechanism. To switch to this mode, press F4 . | |
在 好友编辑模式 , buddy widgets can be assigned to label widgets to help them handle keyboard focus correctly. | |
在 Tab 次序编辑模式 , we can set the order in which widgets receive the keyboard focus. |