1. buddy
伙伴:当使用Label的快捷键时,键盘焦点就传递到Label的伙伴上去。
void QLabel::setBuddy(QWidget * buddy)
Sets this label's buddy to buddy.
When the user presses the shortcut key indicated by this label, the keyboard focus is transferred to the label's buddy widget.
伙伴:当使用Label的快捷键时,键盘焦点就传递到Label的伙伴上去。
void QLabel::setBuddy(QWidget * buddy)
Sets this label's buddy to buddy.
When the user presses the shortcut key indicated by this label, the keyboard focus is transferred to the label's buddy widget.