qaccessiblemenu.h
来自「Linux下的基于X11的图形开发环境。」· C头文件 代码 · 共 56 行
H
56 行
#ifndef QACCESSIBLEMENU_H#define QACCESSIBLEMENU_H#include "qaccessiblewidget.h"class QPopupMenu;class QMenuBar;class QAccessiblePopup : public QAccessibleWidget{public: QAccessiblePopup( QObject *o ); int childCount() const; QRESULT queryChild( int control, QAccessibleInterface ** ) const; QRect rect( int control ) const; int controlAt( int x, int y ) const; int navigate( NavDirection direction, int control ) const; QString text( Text t, int control ) const; Role role( int control ) const; State state( int control ) const; bool doDefaultAction( int control ); bool setFocus( int control );protected: QPopupMenu *popupMenu() const;};class QAccessibleMenuBar : public QAccessibleWidget{public: QAccessibleMenuBar( QObject *o ); int childCount() const; QRESULT queryChild( int control, QAccessibleInterface ** ) const; QRect rect( int control ) const; int controlAt( int x, int y ) const; int navigate( NavDirection direction, int control ) const; QString text( Text t, int control ) const; Role role( int control ) const; State state( int control ) const; bool doDefaultAction( int control ); bool setFocus( int control );protected: QMenuBar *menuBar() const;};#endif // QACCESSIBLEMENU_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?