Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2193

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

<class name="QSizeGrip" doc="/**
&lt;p&gt;The &lt;a href=&quot;QSizeGrip.html#QSizeGrip(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QSizeGrip&lt;/tt&gt;&lt;/a&gt; class provides a resize handle for resizing top-level windows.&lt;/p&gt;
&lt;p&gt;This widget works like the standard Windows resize handle. In the X11 version this resize handle generally works differently from the one provided by the system if the X11 window manager does not support necessary modern post-ICCCM specifications.&lt;/p&gt;
&lt;p&gt;Put this widget anywhere in a widget tree and the user can use it to resize the top-level window or any widget with the Qt::SubWindow flag set. Generally, this should be in the lower right-hand corner. Note that &lt;a href=&quot;QStatusBar.html&quot;&gt;&lt;tt&gt;QStatusBar&lt;/tt&gt;&lt;/a&gt; already uses this widget, so if you have a status bar (e.g&amp;#x2e;, you are using &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;), then you don't need to use this widget explicitly.&lt;/p&gt;
&lt;p&gt;On some platforms the size grip automatically hides itself when the window is shown full screen or maximised.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;50%&quot; 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-sizegrip.png&quot; alt=&quot;Screenshot of a Plastique style size grip&quot; /&gt;&lt;/td&gt;&lt;td&gt;A size grip widget at the bottom-right corner of a main window, shown in the &lt;a href=&quot;%2E%2E/gallery-plastique.html&quot;&gt;Plastique widget style&lt;/tt&gt;&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QSizeGrip.html#QSizeGrip(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QSizeGrip&lt;/tt&gt;&lt;/a&gt; class inherits &lt;a href=&quot;QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt; and reimplements the mousePressEvent() and mouseMoveEvent() functions to feature the resize functionality, and the paintEvent() function to render the size grip widget.&lt;/p&gt;

@see &lt;a href=&quot;QStatusBar.html&quot;&gt;&lt;tt&gt;QStatusBar&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::windowState&lt;/tt&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;
 */"/>
    <method name="public QSizeGrip(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a resize corner as a child widget of the given &lt;tt&gt;parent&lt;/tt&gt;.&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 hideEvent(com.trolltech.qt.gui.QHideEvent hideEvent)" 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;Resizes the top-level widget containing this widget. The mouse move event is passed in the &lt;tt&gt;arg__1&lt;/tt&gt; parameter.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;Receives the mouse press events for the widget, and primes the resize operation. The mouse press event is passed in the &lt;tt&gt;arg__1&lt;/tt&gt; parameter.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent mouseEvent)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void moveEvent(com.trolltech.qt.gui.QMoveEvent moveEvent)" 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;Paints the resize grip.&lt;/p&gt;
&lt;p&gt;Resize grips are usually rendered as small diagonal textured lines in the lower-right corner. The paint event is passed in the &lt;tt&gt;arg__1&lt;/tt&gt; parameter.&lt;/p&gt;
 */"/>
    <method name="public void setVisible(boolean arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void showEvent(com.trolltech.qt.gui.QShowEvent showEvent)" 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>