Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2129

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QMenuBar" doc="/**
&lt;p&gt;The &lt;a href=&quot;QMenuBar.html#QMenuBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QMenuBar&lt;/tt&gt;&lt;/a&gt; class provides a horizontal menu bar.&lt;/p&gt;
&lt;p&gt;A menu bar consists of a list of pull-down menu items. You add menu items with &lt;a href=&quot;QMenuBar.html#addMenu(com.trolltech.qt.gui.QMenu)&quot;&gt;&lt;tt&gt;addMenu&lt;/tt&gt;&lt;/a&gt;. For example, asuming that &lt;tt&gt;menubar&lt;/tt&gt; is a pointer to a &lt;a href=&quot;QMenuBar.html#QMenuBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QMenuBar&lt;/tt&gt;&lt;/a&gt; and &lt;tt&gt;fileMenu&lt;/tt&gt; is a pointer to a &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, the following statement inserts the menu into the menu bar:&lt;/p&gt;
&lt;pre&gt;    menubar-&amp;gt;addMenu(fileMenu);&lt;/pre&gt;
&lt;p&gt;The ampersand in the menu item's text sets Alt+F as a shortcut for this menu. (You can use &amp;quot;&amp;amp;&amp;amp;&amp;quot; to get a real ampersand in the menu bar.)&lt;/p&gt;
&lt;p&gt;There is no need to lay out a menu bar. It automatically sets its own geometry to the top of the parent widget and changes it appropriately whenever the parent is resized.&lt;/p&gt;
&lt;p&gt;In most main window style applications you would use the menuBar() provided in &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;, adding &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;s to the menu bar and adding &lt;a href=&quot;QAction.html&quot;&gt;&lt;tt&gt;QAction&lt;/tt&gt;&lt;/a&gt;s to the popup menus.&lt;/p&gt;
&lt;p&gt;Example (from the Menus&lt;/tt&gt; example):&lt;/p&gt;
&lt;pre&gt;        fileMenu = menuBar()-&amp;gt;addMenu(tr(&amp;quot;&amp;amp;File&amp;quot;));
        fileMenu-&amp;gt;addAction(newAct);&lt;/pre&gt;
&lt;p&gt;Menu items may be removed with &lt;a href=&quot;QWidget.html#removeAction(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;removeAction&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;a name=&quot;platform-dependent-look-and-feel&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Platform Dependent Look and Feel&lt;/h3&gt;
&lt;p&gt;Different platforms have different requirements for the appearance of menu bars and their behavior when the user interacts with them. For example, Windows systems are often configured so that the underlined character mnemonics that indicate keyboard shortcuts for items in the menu bar are only shown when the &lt;b&gt;Alt&lt;/b&gt; key is pressed.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/plastique-menubar.png&quot; alt=&quot;A menu bar shown in the Plastique widget style.&quot; /&gt;&lt;/td&gt;&lt;td&gt;The &lt;a href=&quot;QPlastiqueStyle.html&quot;&gt;Plastique widget style&lt;/tt&gt;&lt;/a&gt;, like most other styles, handles the &lt;b&gt;Help&lt;/b&gt; menu in the same way as it handles any other menu.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/motif-menubar.png&quot; alt=&quot;A menu bar shown in the Motif widget style.&quot; /&gt;&lt;/td&gt;&lt;td&gt;The &lt;a href=&quot;QMotifStyle.html&quot;&gt;Motif widget style&lt;/tt&gt;&lt;/a&gt; treats &lt;b&gt;Help&lt;/b&gt; menus in a special way, placing them at right-hand end of the menu bar.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;a name=&quot;qmenubar-on-qt-mac&quot;&gt;&lt;/a&gt;
&lt;h3&gt;QMenuBar on Qt/Mac&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;QMenuBar.html#QMenuBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QMenuBar&lt;/tt&gt;&lt;/a&gt; on Qt/Mac is a wrapper for using the system-wide menu bar. If you have multiple menu bars in one dialog the outermost menu bar (normally inside a widget with widget flag &lt;a href=&quot;%2E%2E/winsystem.html#qt-windows&quot;&gt;Qt::Window&lt;/tt&gt;&lt;/a&gt;) will be used for the system-wide menu bar.&lt;/p&gt;
&lt;p&gt;Qt/Mac also provides a menu bar merging feature to make &lt;a href=&quot;QMenuBar.html#QMenuBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QMenuBar&lt;/tt&gt;&lt;/a&gt; conform more closely to accepted Mac OS X menu bar layout. The merging functionality is based on string matching the title of a &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt; entry. These strings are translated (using QObject::tr()) in the &amp;quot;&lt;a href=&quot;QMenuBar.html#QMenuBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QMenuBar&lt;/tt&gt;&lt;/a&gt;&amp;quot; context. If an entry is moved its slots will still fire as if it was in the original place. The table below outlines the strings looked for and where the entry is placed if matched:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;String matches&lt;/th&gt;&lt;th&gt;Placement&lt;/th&gt;&lt;th&gt;Notes&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;about.*&lt;/td&gt;&lt;td&gt;Application Menu | About &amp;lt;application name&amp;gt;&lt;/td&gt;&lt;td&gt;If this entry is not found no About item will appear in the Application Menu&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;config, options, setup, settings or preferences&lt;/td&gt;&lt;td&gt;Application Menu | Preferences&lt;/td&gt;&lt;td&gt;If this entry is not found the Settings item will be disabled&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;quit or exit&lt;/td&gt;&lt;td&gt;Application Menu | Quit &amp;lt;application name&amp;gt;&lt;/td&gt;&lt;td&gt;If this entry is not found a default Quit item will be created to call QApplication::quit()&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;You can override this behavior by using the QAction::menuRole() property.&lt;/p&gt;
&lt;p&gt;If you wish to make all windows in a Mac application share the same menu bar, you need to create a menu bar that does not have a parent. The menu bar is created like this:&lt;/p&gt;
&lt;pre&gt;      QMenuBar *menuBar = new QMenuBar(0);&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; The text used for the application name in the menu bar is obtained from the value set in the &lt;tt&gt;Info.plist&lt;/tt&gt; file in the application's bundle. See &lt;a href=&quot;%2E%2E/deployment-mac.html&quot;&gt;Deploying an Application on Qt/Mac&lt;/tt&gt;&lt;/a&gt; for more information.&lt;/p&gt;
&lt;a name=&quot;examples&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Examples&lt;/h3&gt;
&lt;p&gt;The Menus&lt;/tt&gt; example shows how to use &lt;a href=&quot;QMenuBar.html#QMenuBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QMenuBar&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;. The other &lt;a href=&quot;%2E%2E/examples.html#main-windows&quot;&gt;main window application examples&lt;/tt&gt;&lt;/a&gt; also provide menus using these classes.&lt;/p&gt;

@see &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QShortcut.html&quot;&gt;&lt;tt&gt;QShortcut&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAction.html&quot;&gt;&lt;tt&gt;QAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/index.html&quot;&gt;Introduction to Apple Human Interface Guidelines&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/guibooks.html#fowler&quot;&gt;GUI Design Handbook: Menu Bar&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/qtjambi-menus.html&quot;&gt;Menus Example&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void hovered(com.trolltech.qt.gui.QAction action)" doc="/**
&lt;p&gt;This signal is emitted when a menu action is highlighted; &lt;tt&gt;action&lt;/tt&gt; is the action that caused the event to be sent.&lt;/p&gt;
&lt;p&gt;Often this is used to update status information.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QAction action)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QMenuBar.html#triggered(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;triggered&lt;/tt&gt;&lt;/a&gt;, &lt;tt&gt;QAction::hovered&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void triggered(com.trolltech.qt.gui.QAction action)" doc="/**
&lt;p&gt;This signal is emitted when an action in a menu belonging to this menubar is triggered as a result of a mouse click; &lt;tt&gt;action&lt;/tt&gt; is the action that caused the signal to be emitted.&lt;/p&gt;
&lt;p&gt;Normally, you connect each menu action to a single slot using QAction::triggered(), but sometimes you will want to connect several items to a single slot (most often if the user selects from an array). This signal is useful in such cases.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QAction action)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QMenuBar.html#hovered(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;hovered&lt;/tt&gt;&lt;/a&gt;, &lt;tt&gt;QAction::triggered&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QMenuBar(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a menu bar with parent &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QMenuBar()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMenuBar.html#QMenuBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QMenuBar&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final com.trolltech.qt.gui.QAction actionAt(com.trolltech.qt.core.QPoint arg__1)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRect actionGeometry(com.trolltech.qt.gui.QAction arg__1)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAction activeAction()" doc="/**
&lt;p&gt;Returns the &lt;a href=&quot;QAction.html&quot;&gt;&lt;tt&gt;QAction&lt;/tt&gt;&lt;/a&gt; that is currently highlighted. A null pointer will be returned if no action is currently selected.&lt;/p&gt;

@see &lt;a href=&quot;QMenuBar.html#setActiveAction(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;setActiveAction&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction addAction(java.lang.String text)" doc="/**
&lt;p&gt;This convenience function creates a new action with &lt;tt&gt;text&lt;/tt&gt;. The function adds the newly created action to the menu's list of actions, and returns it.&lt;/p&gt;

@see &lt;tt&gt;QWidget::addAction&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QMenu addMenu(java.lang.String title)" doc="/**
&lt;p&gt;Appends a new &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt; with &lt;tt&gt;title&lt;/tt&gt; to the menu bar. The menu bar takes ownership of the menu. Returns the new menu.&lt;/p&gt;

@see &lt;tt&gt;QWidget::addAction&lt;/tt&gt;
@see &lt;tt&gt;QMenu::menuAction&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QMenu addMenu(com.trolltech.qt.gui.QIcon icon, java.lang.String title)" doc="/**
&lt;p&gt;Appends a new &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt; with &lt;tt&gt;icon&lt;/tt&gt; and &lt;tt&gt;title&lt;/tt&gt; to the menu bar. The menu bar takes ownership of the menu. Returns the new menu.&lt;/p&gt;

@see &lt;tt&gt;QWidget::addAction&lt;/tt&gt;
@see &lt;tt&gt;QMenu::menuAction&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction addMenu(com.trolltech.qt.gui.QMenu menu)" doc="/**
&lt;p&gt;Appends &lt;tt&gt;menu&lt;/tt&gt; to the menu bar. Returns the menu's menuAction().&lt;/p&gt;

@see &lt;tt&gt;QWidget::addAction&lt;/tt&gt;
@see &lt;tt&gt;QMenu::menuAction&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction addSeparator()" doc="/**
&lt;p&gt;Appends a separator to the menu.&lt;/p&gt;
 */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Removes all the actions from the menu bar.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#removeAction(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;removeAction&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget cornerWidget(com.trolltech.qt.core.Qt.Corner corner)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;

@see &lt;a href=&quot;QMenuBar.html#setCornerWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.Corner)&quot;&gt;&lt;tt&gt;setCornerWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget cornerWidget()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMenuBar.html#cornerWidget(com.trolltech.qt.core.Qt.Corner)&quot;&gt;&lt;tt&gt;cornerWidget&lt;/tt&gt;&lt;/a&gt;(Qt::TopRightCorner). */"/>
    <method name="public final com.trolltech.qt.gui.QAction insertMenu(com.trolltech.qt.gui.QAction before, com.trolltech.qt.gui.QMenu menu)" doc="/**
&lt;p&gt;This convenience function inserts &lt;tt&gt;menu&lt;/tt&gt; before action &lt;tt&gt;before&lt;/tt&gt; and returns the menus menuAction().&lt;/p&gt;

@see &lt;tt&gt;QWidget::insertAction&lt;/tt&gt;
@see &lt;a href=&quot;QMenuBar.html#addMenu(com.trolltech.qt.gui.QMenu)&quot;&gt;&lt;tt&gt;addMenu&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction insertSeparator(com.trolltech.qt.gui.QAction before)" doc="/**
&lt;p&gt;This convenience function creates a new separator action, i.e&amp;#x2e; an action with QAction::isSeparator() returning true. The function inserts the newly created action into this menu bar's list of actions before action &lt;tt&gt;before&lt;/tt&gt; and returns it.&lt;/p&gt;

@see &lt;tt&gt;QWidget::insertAction&lt;/tt&gt;
@see &lt;a href=&quot;QMenuBar.html#addSeparator()&quot;&gt;&lt;tt&gt;addSeparator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isDefaultUp()" doc="/**
&lt;p&gt;Returns the popup orientation.&lt;/p&gt;
&lt;p&gt;The default popup orientation. By default, menus pop &amp;quot;down&amp;quot; the screen. By setting the property to true, the menu will pop &amp;quot;up&amp;quot;. You might call this for menus that are &lt;i&gt;below&lt;/i&gt; the document to which they refer.&lt;/p&gt;
&lt;p&gt;If the menu would not fit on the screen, the other direction is used automatically.&lt;/p&gt;
 */"/>
    <method name="public final void setActiveAction(com.trolltech.qt.gui.QAction action)" doc="/**
&lt;p&gt;Sets the currently highlighted action to &lt;tt&gt;action&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QMenuBar.html#activeAction()&quot;&gt;&lt;tt&gt;activeAction&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCornerWidget(com.trolltech.qt.gui.QWidget w, com.trolltech.qt.core.Qt.Corner corner)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;

@see &lt;a href=&quot;QMenuBar.html#cornerWidget(com.trolltech.qt.core.Qt.Corner)&quot;&gt;&lt;tt&gt;cornerWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCornerWidget(com.trolltech.qt.gui.QWidget w)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QMenuBar.html#setCornerWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.Corner)&quot;&gt;&lt;tt&gt;setCornerWidget&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;w&lt;/tt&gt;, Qt::TopRightCorner). */"/>
    <method name="public final void setDefaultUp(boolean arg__1)" doc="/**
&lt;p&gt;Sets the popup orientation to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default popup orientation. By default, menus pop &amp;quot;down&amp;quot; the screen. By setting the property to true, the menu will pop &amp;quot;up&amp;quot;. You might call this for menus that are &lt;i&gt;below&lt;/i&gt; the document to which they refer.&lt;/p&gt;
&lt;p&gt;If the menu would not fit on the screen, the other direction is used automatically.&lt;/p&gt;

@see &lt;a href=&quot;QMenuBar.html#isDefaultUp()&quot;&gt;&lt;tt&gt;isDefaultUp&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void actionEvent(com.trolltech.qt.gui.QActionEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean eventFilter(com.trolltech.qt.core.QObject arg__1, com.trolltech.qt.core.QEvent arg__2)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusInEvent(com.trolltech.qt.gui.QFocusEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusOutEvent(com.trolltech.qt.gui.QFocusEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int heightForWidth(int arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void keyPressEvent(com.trolltech.qt.gui.QKeyEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void leaveEvent(com.trolltech.qt.core.QEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize minimumSizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void resizeEvent(com.trolltech.qt.gui.QResizeEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void setVisible(boolean visible)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
</class>