Q3PopupMenu Class ReferenceThe Q3PopupMenu class is a thin compatibility wrapper around QMenu. Далее... #include <Q3PopupMenu> Данный класс является частью библиотеки поддержки Qt 3. Он предоставлен для поддержки ранее написанного кода. Мы настоятельно не рекомендуем использовать этот класс в новом коде. Для получения дополнительной информации смотрите Портирование на Qt 4. 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. Описание функций-членовQ3PopupMenu::Q3PopupMenu ( QWidget * parent = 0, const char * name = 0 )Constructs a menu with the given parent and name. int Q3PopupMenu::exec ()Pops up the menu and returns the ID of the action that was selected. See also QMenu::exec(). int Q3PopupMenu::exec ( const QPoint & pos, int indexAtPoint = 0 )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(). int Q3PopupMenu::margin () constВозвращает ширину полей вокруг содержимого виджета. This function uses QWidget::getContentsMargins() to get the margin. Эта функция была введена в Qt 4.2. Смотрите также setMargin() и QWidget::getContentsMargins(). void Q3PopupMenu::setMargin ( int margin )Присваивает ширине полей вокруг содержимого виджета значение margin. This function uses QWidget::setContentsMargins() to set the margin. Эта функция была введена в Qt 4.2. Смотрите также margin() и QWidget::setContentsMargins(). |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |