![]() |
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции | ![]() |
The Q3PopupMenu class is a thin compatibility wrapper around QMenu. Далее...
#include <Q3PopupMenu>
This class is part of the Qt 3 support library. It is provided to keep old source code working. Мы настоятельно не рекомендуем использовать этот класс в новом коде. See Porting to Qt 4 for more information.
Inherits QMenu.
The Q3PopupMenu class is a thin compatibility wrapper around QMenu.
Use QMenu in new applications. Note that the menu's actions must be Q3Actions.
Constructs a menu with the given parent and name.
Pops up the menu and returns the ID of the action that was selected.
See also QMenu::exec().
Это перегруженная функция, предоставленная для удобства.
Pops up the menu at coordinate pos and returns the ID of the action that was selected.
If indexAtPoint is specified, the menu will pop up with the item at index indexAtPoint under the mouse cursor.
See also QMenu::exec().
Returns the with of the the margin around the contents of the widget.
This function uses QWidget::getContentsMargins() to get the margin.
Эта функция была введена в Qt 4.2.
See also setMargin() and QWidget::getContentsMargins().
Sets the width of the margin around the contents of the widget to margin.
This function uses QWidget::setContentsMargins() to set the margin.
Эта функция была введена в Qt 4.2.
See also margin() and QWidget::setContentsMargins().
Copyright © 2008 Trolltech | Торговые марки | Qt 4.3.5 |