Sophie

Sophie

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

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

<class name="QScrollBar" doc="/**
&lt;p&gt;The &lt;a href=&quot;QScrollBar.html#QScrollBar(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QScrollBar&lt;/tt&gt;&lt;/a&gt; widget provides a vertical or horizontal scroll bar.&lt;/p&gt;
&lt;p&gt;A scroll bar is a control that enables the user to access parts of a document that is larger than the widget used to display it. It provides a visual indication of the user's current position within the document and the amount of the document that is visible. Scroll bars are usually equipped with other controls that enable more accurate navigation. Qt displays scroll bars in a way that is appropriate for each platform.&lt;/p&gt;
&lt;p&gt;If you need to provide a scrolling view onto another widget, it may be more convenient to use the &lt;a href=&quot;QScrollArea.html&quot;&gt;&lt;tt&gt;QScrollArea&lt;/tt&gt;&lt;/a&gt; class because this provides a viewport widget and scroll bars. &lt;a href=&quot;QScrollBar.html#QScrollBar(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QScrollBar&lt;/tt&gt;&lt;/a&gt; is useful if you need to implement similar functionality for specialized widgets using &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt;; for example, if you decide to subclass &lt;a href=&quot;QAbstractItemView.html&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt;. For most other situations where a slider control is used to obtain a value within a given range, the &lt;a href=&quot;QSlider.html&quot;&gt;&lt;tt&gt;QSlider&lt;/tt&gt;&lt;/a&gt; class may be more appropriate for your needs.&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;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qscrollbar-picture.png&quot; /&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;Scroll bars typically include four separate controls: a slider, scroll arrows, and a page control.&lt;ul&gt;
&lt;li&gt;a. The slider provides a way to quickly go to any part of the document, but does not support accurate navigation within large documents.&lt;/li&gt;
&lt;li&gt;b. The scroll arrows are push buttons which can be used to accurately navigate to a particular place in a document. For a vertical scroll bar connected to a text editor, these typically move the current position one &amp;quot;line&amp;quot; up or down, and adjust the position of the slider by a small amount. In editors and list boxes a &amp;quot;line&amp;quot; might mean one line of text; in an image viewer it might mean 20 pixels.&lt;/li&gt;
&lt;li&gt;c. The page control is the area over which the slider is dragged (the scroll bar's background). Clicking here moves the scroll bar towards the click by one &amp;quot;page&amp;quot;. This value is usually the same as the length of the slider.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;Each scroll bar has a value that indicates how far the slider is from the start of the scroll bar; this is obtained with &lt;a href=&quot;QAbstractSlider.html#value()&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt; and set with &lt;a href=&quot;QAbstractSlider.html#setValue(int)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt;. This value always lies within the range of values defined for the scroll bar, from minimum() to maximum() inclusive. The range of acceptable values can be set with &lt;a href=&quot;QAbstractSlider.html#setMinimum(int)&quot;&gt;&lt;tt&gt;setMinimum&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractSlider.html#setMaximum(int)&quot;&gt;&lt;tt&gt;setMaximum&lt;/tt&gt;&lt;/a&gt;. At the minimum value, the top edge of the slider (for a vertical scroll bar) or left edge (for a horizontal scroll bar) will be at the top (or left) end of the scroll bar. At the maximum value, the bottom (or right) edge of the slider will be at the bottom (or right) end of the scroll bar.&lt;/p&gt;
&lt;p&gt;The length of the slider is usually related to the value of the page step, and typically represents the proportion of the document area shown in a scrolling view. The page step is the amount that the value changes by when the user presses the &lt;b&gt;Page Up&lt;/b&gt; and &lt;b&gt;Page Down&lt;/b&gt; keys, and is set with &lt;a href=&quot;QAbstractSlider.html#setPageStep(int)&quot;&gt;&lt;tt&gt;setPageStep&lt;/tt&gt;&lt;/a&gt;. Smaller changes to the value defined by the line step are made using the cursor keys, and this quantity is set with setLineStep().&lt;/p&gt;
&lt;p&gt;Note that the range of values used is independent of the actual size of the scroll bar widget. You do not need to take this into account when you choose values for the range and the page step.&lt;/p&gt;
&lt;p&gt;The range of values specified for the scroll bar are often determined differently to those for a &lt;a href=&quot;QSlider.html&quot;&gt;&lt;tt&gt;QSlider&lt;/tt&gt;&lt;/a&gt; because the length of the slider needs to be taken into account. If we have a document with 100 lines, and we can only show 20 lines in a widget, we may wish to construct a scroll bar with a page step of 20, a minimum value of 0, and a maximum value of 80. This would give us a scroll bar with five &amp;quot;pages&amp;quot;.&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/qscrollbar-values.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;The relationship between a document length, the range of values used in a scroll bar, and the page step is simple in many common situations. The scroll bar's range of values is determined by subtracting a chosen page step from some value representing the length of the document. In such cases, the following equation is useful:&lt;p&gt;&lt;i&gt;document length&lt;/i&gt; = &lt;a href=&quot;QAbstractSlider.html#maximum()&quot;&gt;&lt;tt&gt;maximum&lt;/tt&gt;&lt;/a&gt; - &lt;a href=&quot;QAbstractSlider.html#minimum()&quot;&gt;&lt;tt&gt;minimum&lt;/tt&gt;&lt;/a&gt; + &lt;a href=&quot;QAbstractSlider.html#pageStep()&quot;&gt;&lt;tt&gt;pageStep&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QScrollBar.html#QScrollBar(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QScrollBar&lt;/tt&gt;&lt;/a&gt; only provides integer ranges. Note that although &lt;a href=&quot;QScrollBar.html#QScrollBar(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QScrollBar&lt;/tt&gt;&lt;/a&gt; handles very large numbers, scroll bars on current screens cannot usefully represent ranges above about 100,000 pixels. Beyond that, it becomes difficult for the user to control the slider using either the keyboard or the mouse, and the scroll arrows will have limited use.&lt;/p&gt;
&lt;p&gt;ScrollBar inherits a comprehensive set of signals from &lt;a href=&quot;QAbstractSlider.html#QAbstractSlider(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractSlider&lt;/tt&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;valueChanged() is emitted when the scroll bar's value has changed. The tracking() determines whether this signal is emitted during user interaction.&lt;/li&gt;
&lt;li&gt;rangeChanged() is emitted when the scroll bar's range of values has changed.&lt;/li&gt;
&lt;li&gt;sliderPressed() is emitted when the user starts to drag the slider.&lt;/li&gt;
&lt;li&gt;sliderMoved() is emitted when the user drags the slider.&lt;/li&gt;
&lt;li&gt;sliderReleased() is emitted when the user releases the slider.&lt;/li&gt;
&lt;li&gt;actionTriggered() is emitted when the scroll bar is changed by user interaction or via the triggerAction() function.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A scroll bar can be controlled by the keyboard, but it has a default &lt;a href=&quot;QWidget.html#focusPolicy()&quot;&gt;&lt;tt&gt;focusPolicy&lt;/tt&gt;&lt;/a&gt; of Qt::NoFocus. Use &lt;a href=&quot;QWidget.html#setFocusPolicy(com.trolltech.qt.core.Qt.FocusPolicy)&quot;&gt;&lt;tt&gt;setFocusPolicy&lt;/tt&gt;&lt;/a&gt; to enable keyboard interaction with the scroll bar:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Left/Right move a horizontal scroll bar by one single step.&lt;/li&gt;
&lt;li&gt;Up/Down move a vertical scroll bar by one single step.&lt;/li&gt;
&lt;li&gt;PageUp moves up one page.&lt;/li&gt;
&lt;li&gt;PageDown moves down one page.&lt;/li&gt;
&lt;li&gt;Home moves to the start (mininum).&lt;/li&gt;
&lt;li&gt;End moves to the end (maximum).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The slider itself can be controlled by using the triggerAction() function to simulate user interaction with the scroll bar controls. This is useful if you have many different widgets that use a common range of values.&lt;/p&gt;
&lt;p&gt;Most GUI styles use the &lt;a href=&quot;QAbstractSlider.html#pageStep()&quot;&gt;&lt;tt&gt;pageStep&lt;/tt&gt;&lt;/a&gt; value to calculate the size of the slider.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;100%&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/macintosh-horizontalscrollbar.png&quot; alt=&quot;Screenshot of a Macintosh style scroll bar&quot; /&gt;&lt;/td&gt;&lt;td&gt;A scroll bar shown in the &lt;a href=&quot;%2E%2E/gallery-macintosh.html&quot;&gt;Macintosh widget style&lt;/tt&gt;&lt;/a&gt;.&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/windowsxp-horizontalscrollbar.png&quot; alt=&quot;Screenshot of a Windows XP style scroll bar&quot; /&gt;&lt;/td&gt;&lt;td&gt;A scroll bar shown in the &lt;a href=&quot;%2E%2E/gallery-windowsxp.html&quot;&gt;Windows XP widget style&lt;/tt&gt;&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/plastique-horizontalscrollbar.png&quot; alt=&quot;Screenshot of a Plastique style scroll bar&quot; /&gt;&lt;/td&gt;&lt;td&gt;A scroll bar 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;

@see &lt;a href=&quot;QScrollArea.html&quot;&gt;&lt;tt&gt;QScrollArea&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSlider.html&quot;&gt;&lt;tt&gt;QSlider&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDial.html&quot;&gt;&lt;tt&gt;QDial&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSpinBox.html&quot;&gt;&lt;tt&gt;QSpinBox&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/guibooks.html#fowler&quot;&gt;GUI Design Handbook: Scroll Bar&lt;/tt&gt;&lt;/a&gt;
@see Sliders Example&lt;/tt&gt; */">
    <signal name="protected final void actionTriggered(int action)" doc="/**
&lt;p&gt;This signal is emitted when the slider action &lt;tt&gt;action&lt;/tt&gt; is triggered. Actions are &lt;a href=&quot;QAbstractSlider.html#SliderAction-enum&quot;&gt;&lt;tt&gt;SliderSingleStepAdd&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#SliderAction-enum&quot;&gt;&lt;tt&gt;SliderSingleStepSub&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#SliderAction-enum&quot;&gt;&lt;tt&gt;SliderPageStepAdd&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#SliderAction-enum&quot;&gt;&lt;tt&gt;SliderPageStepSub&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#SliderAction-enum&quot;&gt;&lt;tt&gt;SliderToMinimum&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#SliderAction-enum&quot;&gt;&lt;tt&gt;SliderToMaximum&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractSlider.html#SliderAction-enum&quot;&gt;&lt;tt&gt;SliderMove&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the signal is emitted, the &lt;a href=&quot;QAbstractSlider.html#sliderPosition()&quot;&gt;&lt;tt&gt;sliderPosition&lt;/tt&gt;&lt;/a&gt; has been adjusted according to the action, but the &lt;a href=&quot;QAbstractSlider.html#value()&quot;&gt;value&lt;/tt&gt;&lt;/a&gt; has not yet been propagated (meaning the &lt;a href=&quot;QScrollBar.html#valueChanged(int)&quot;&gt;&lt;tt&gt;valueChanged&lt;/tt&gt;&lt;/a&gt; signal was not yet emitted), and the visual display has not been updated. In slots connected to this signal you can thus safely adjust any action by calling &lt;a href=&quot;QAbstractSlider.html#setSliderPosition(int)&quot;&gt;&lt;tt&gt;setSliderPosition&lt;/tt&gt;&lt;/a&gt; yourself, based on both the action and the slider's value.&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(int 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;QAbstractSlider.html#triggerAction(com.trolltech.qt.gui.QAbstractSlider.SliderAction)&quot;&gt;&lt;tt&gt;triggerAction&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&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 rangeChanged(int min, int max)" doc="/**
&lt;p&gt;This signal is emitted when the slider range has changed, with &lt;tt&gt;min&lt;/tt&gt; being the new minimum, and &lt;tt&gt;max&lt;/tt&gt; being the new maximum.&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(int min, int max)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int min)&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;QAbstractSlider.html#minimum()&quot;&gt;minimum&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#maximum()&quot;&gt;maximum&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sliderMoved(int position)" doc="/**
&lt;p&gt;This signal is emitted when sliderDown is true and the slider moves. This usually happens when the user is dragging the slider. The &lt;tt&gt;position&lt;/tt&gt; is the new slider position.&lt;/p&gt;
&lt;p&gt;This signal is emitted even when tracking is turned off.&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(int position)&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;QAbstractSlider.html#setTracking(boolean)&quot;&gt;&lt;tt&gt;setTracking&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QScrollBar.html#valueChanged(int)&quot;&gt;&lt;tt&gt;valueChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#isSliderDown()&quot;&gt;&lt;tt&gt;isSliderDown&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QScrollBar.html#sliderPressed()&quot;&gt;&lt;tt&gt;sliderPressed&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QScrollBar.html#sliderReleased()&quot;&gt;&lt;tt&gt;sliderReleased&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sliderPressed()" doc="/**
&lt;p&gt;This signal is emitted when the user presses the slider with the mouse, or programmatically when &lt;a href=&quot;QAbstractSlider.html#setSliderDown(boolean)&quot;&gt;&lt;tt&gt;setSliderDown&lt;/tt&gt;&lt;/a&gt;(true) is called.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&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;QScrollBar.html#sliderReleased()&quot;&gt;&lt;tt&gt;sliderReleased&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QScrollBar.html#sliderMoved(int)&quot;&gt;&lt;tt&gt;sliderMoved&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#isSliderDown()&quot;&gt;&lt;tt&gt;isSliderDown&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sliderReleased()" doc="/**
&lt;p&gt;This signal is emitted when the user releases the slider with the mouse, or programmatically when &lt;a href=&quot;QAbstractSlider.html#setSliderDown(boolean)&quot;&gt;&lt;tt&gt;setSliderDown&lt;/tt&gt;&lt;/a&gt;(false) is called.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&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;QScrollBar.html#sliderPressed()&quot;&gt;&lt;tt&gt;sliderPressed&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QScrollBar.html#sliderMoved(int)&quot;&gt;&lt;tt&gt;sliderMoved&lt;/tt&gt;&lt;/a&gt;, &lt;tt&gt;sliderDown&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void valueChanged(int value)" doc="/**
&lt;p&gt;This signal is emitted when the slider value has changed, with the new slider &lt;tt&gt;value&lt;/tt&gt; as argument.&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(int value)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QScrollBar(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a vertical scroll bar.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; arguments is sent to the &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; constructor.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QAbstractSlider.html#minimum()&quot;&gt;minimum&lt;/tt&gt;&lt;/a&gt; defaults to 0, the &lt;a href=&quot;QAbstractSlider.html#maximum()&quot;&gt;maximum&lt;/tt&gt;&lt;/a&gt; to 99, with a &lt;a href=&quot;QAbstractSlider.html#singleStep()&quot;&gt;&lt;tt&gt;singleStep&lt;/tt&gt;&lt;/a&gt; size of 1 and a &lt;a href=&quot;QAbstractSlider.html#pageStep()&quot;&gt;&lt;tt&gt;pageStep&lt;/tt&gt;&lt;/a&gt; size of 10, and an initial &lt;a href=&quot;QAbstractSlider.html#value()&quot;&gt;value&lt;/tt&gt;&lt;/a&gt; of 0.&lt;/p&gt;
 */"/>
    <method name="public QScrollBar()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QScrollBar.html#QScrollBar(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QScrollBar&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public QScrollBar(com.trolltech.qt.core.Qt.Orientation arg__1, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a scroll bar with the given &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; argument is passed to the &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; constructor.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QAbstractSlider.html#minimum()&quot;&gt;minimum&lt;/tt&gt;&lt;/a&gt; defaults to 0, the &lt;a href=&quot;QAbstractSlider.html#maximum()&quot;&gt;maximum&lt;/tt&gt;&lt;/a&gt; to 99, with a &lt;a href=&quot;QAbstractSlider.html#singleStep()&quot;&gt;&lt;tt&gt;singleStep&lt;/tt&gt;&lt;/a&gt; size of 1 and a &lt;a href=&quot;QAbstractSlider.html#pageStep()&quot;&gt;&lt;tt&gt;pageStep&lt;/tt&gt;&lt;/a&gt; size of 10, and an initial &lt;a href=&quot;QAbstractSlider.html#value()&quot;&gt;value&lt;/tt&gt;&lt;/a&gt; of 0.&lt;/p&gt;
 */"/>
    <method name="public QScrollBar(com.trolltech.qt.core.Qt.Orientation arg__1)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QScrollBar.html#QScrollBar(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QScrollBar&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;arg__1&lt;/tt&gt;, 0). */"/>
    <method name="protected void contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent 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 event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void hideEvent(com.trolltech.qt.gui.QHideEvent arg__1)" 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="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void sliderChange(com.trolltech.qt.gui.QAbstractSlider.SliderChange change)" doc="/**
&lt;p&gt;Reimplement this virtual function to track slider changes such as &lt;a href=&quot;QAbstractSlider.html#SliderChange-enum&quot;&gt;&lt;tt&gt;SliderRangeChange&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#SliderChange-enum&quot;&gt;&lt;tt&gt;SliderOrientationChange&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractSlider.html#SliderChange-enum&quot;&gt;&lt;tt&gt;SliderStepsChange&lt;/tt&gt;&lt;/a&gt;, or &lt;a href=&quot;QAbstractSlider.html#SliderChange-enum&quot;&gt;&lt;tt&gt;SliderValueChange&lt;/tt&gt;&lt;/a&gt;. The default implementation only updates the display and ignores the &lt;tt&gt;change&lt;/tt&gt; parameter.&lt;/p&gt;
 */"/>
</class>