Sophie

Sophie

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

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

<class name="QStyleOptionProgressBar" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleOptionProgressBar.html#QStyleOptionProgressBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt; class is used to describe the parameters necessary for drawing a progress bar.&lt;/p&gt;
&lt;p&gt;Since Qt 4.1, Qt uses the &lt;a href=&quot;QStyleOptionProgressBarV2.html&quot;&gt;&lt;tt&gt;QStyleOptionProgressBarV2&lt;/tt&gt;&lt;/a&gt; subclass for drawing &lt;a href=&quot;QProgressBar.html&quot;&gt;&lt;tt&gt;QProgressBar&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;An instance of the &lt;a href=&quot;QStyleOptionProgressBar.html#QStyleOptionProgressBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt; class has type &lt;a href=&quot;QStyleOption.html#OptionType-enum&quot;&gt;&lt;tt&gt;SO_ProgressBar&lt;/tt&gt;&lt;/a&gt; and version 1.&lt;/p&gt;
&lt;p&gt;The type is used internally by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass and your own styles. The version is used by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.&lt;/p&gt;
&lt;p&gt;If you create your own &lt;a href=&quot;QStyle.html&quot;&gt;&lt;tt&gt;QStyle&lt;/tt&gt;&lt;/a&gt; subclass, you should handle both &lt;a href=&quot;QStyleOptionProgressBar.html#QStyleOptionProgressBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QStyleOptionProgressBarV2.html&quot;&gt;&lt;tt&gt;QStyleOptionProgressBarV2&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For an example demonstrating how style options can be used, see the Styles&lt;/tt&gt; example.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBarV2.html&quot;&gt;&lt;tt&gt;QStyleOptionProgressBarV2&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QStyleOptionProgressBar(com.trolltech.qt.gui.QStyleOptionProgressBar other)" doc="/**
&lt;p&gt;Constructs a copy of the &lt;tt&gt;other&lt;/tt&gt; style option.&lt;/p&gt;
 */"/>
    <method name="public QStyleOptionProgressBar()" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QStyleOptionProgressBar.html#QStyleOptionProgressBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionProgressBar&lt;/tt&gt;&lt;/a&gt;, initializing the members variables to their default values.&lt;/p&gt;
 */"/>
    <method name="protected QStyleOptionProgressBar(int version)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <enum name="StyleOptionVersion" doc="/**
&lt;p&gt;This enum is used to hold information about the version of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The version is used by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#StyleOptionType-enum&quot;&gt;&lt;tt&gt;StyleOptionType&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Version" doc="/**
&lt;p&gt;1&lt;/p&gt;
 */"/>
</enum>
    <enum name="StyleOptionType" doc="/**
&lt;p&gt;This enum is used to hold information about the type of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The type is used internally by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass and your own styles.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#StyleOptionVersion-enum&quot;&gt;&lt;tt&gt;StyleOptionVersion&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Type" doc="/**
&lt;p&gt;The type of style option provided (&lt;a href=&quot;QStyleOption.html#OptionType-enum&quot;&gt;&lt;tt&gt;SO_ProgressBar&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <method name="public final int minimum()" doc="/**
&lt;p&gt;Returns the minimum value for the progress bar.&lt;/p&gt;
&lt;p&gt;This is the minimum value in the progress bar. The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#setMinimum(int)&quot;&gt;&lt;tt&gt;setMinimum&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QProgressBar::minimum&lt;/tt&gt; */"/>
    <method name="public final void setMinimum(int minimum)" doc="/**
&lt;p&gt;Sets the minimum value for the progress bar to &lt;tt&gt;minimum&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This is the minimum value in the progress bar. The default value is 0.&lt;/p&gt;

@see &lt;tt&gt;QProgressBar::minimum&lt;/tt&gt; */"/>
    <method name="public final int maximum()" doc="/**
&lt;p&gt;Returns the maximum value for the progress bar.&lt;/p&gt;
&lt;p&gt;This is the maximum value in the progress bar. The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#setMaximum(int)&quot;&gt;&lt;tt&gt;setMaximum&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QProgressBar::maximum&lt;/tt&gt; */"/>
    <method name="public final void setMaximum(int maximum)" doc="/**
&lt;p&gt;Sets the maximum value for the progress bar to &lt;tt&gt;maximum&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This is the maximum value in the progress bar. The default value is 0.&lt;/p&gt;

@see &lt;tt&gt;QProgressBar::maximum&lt;/tt&gt; */"/>
    <method name="public final int progress()" doc="/**
&lt;p&gt;Returns the current progress for the progress bar.&lt;/p&gt;
&lt;p&gt;The current progress. A value of QStyleOptionProgressBar::minimum - 1 indicates that the progress hasn't started yet. The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#setProgress(int)&quot;&gt;&lt;tt&gt;setProgress&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QProgressBar::value&lt;/tt&gt; */"/>
    <method name="public final void setProgress(int progress)" doc="/**
&lt;p&gt;Sets the current progress for the progress bar to &lt;tt&gt;progress&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The current progress. A value of QStyleOptionProgressBar::minimum - 1 indicates that the progress hasn't started yet. The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#progress()&quot;&gt;&lt;tt&gt;progress&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QProgressBar::value&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Alignment textAlignment()" doc="/**
&lt;p&gt;Returns the text alignment for the text in the &lt;a href=&quot;QProgressBar.html&quot;&gt;&lt;tt&gt;QProgressBar&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This can be used as a guide on where the text should be in the progress bar. The default value is Qt::AlignLeft.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#setTextAlignment(com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;setTextAlignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTextAlignment(com.trolltech.qt.core.Qt.Alignment textAlignment)" doc="/**
&lt;p&gt;Sets the text alignment for the text in the &lt;a href=&quot;QProgressBar.html&quot;&gt;&lt;tt&gt;QProgressBar&lt;/tt&gt;&lt;/a&gt; to &lt;tt&gt;textAlignment&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This can be used as a guide on where the text should be in the progress bar. The default value is Qt::AlignLeft.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#textAlignment()&quot;&gt;&lt;tt&gt;textAlignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String text()" doc="/**
&lt;p&gt;Returns the text for the progress bar.&lt;/p&gt;
&lt;p&gt;The progress bar text is usually just the progress expressed as a string. An empty string indicates that the progress bar has not started yet. The default value is an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QProgressBar::text&lt;/tt&gt; */"/>
    <method name="public final void setText(java.lang.String text)" doc="/**
&lt;p&gt;Sets the text for the progress bar to &lt;tt&gt;text&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The progress bar text is usually just the progress expressed as a string. An empty string indicates that the progress bar has not started yet. The default value is an empty string.&lt;/p&gt;

@see &lt;tt&gt;QProgressBar::text&lt;/tt&gt; */"/>
    <method name="public final boolean textVisible()" doc="/**
&lt;p&gt;Returns a flag indicating whether or not text is visible.&lt;/p&gt;
&lt;p&gt;If this flag is true then the text is visible. Otherwise, the text is not visible. The default value is false.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionProgressBar.html#setTextVisible(boolean)&quot;&gt;&lt;tt&gt;setTextVisible&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QProgressBar::textVisible&lt;/tt&gt; */"/>
    <method name="public final void setTextVisible(boolean textVisible)" doc="/**
&lt;p&gt;Sets a flag indicating whether or not text is visible to &lt;tt&gt;textVisible&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this flag is true then the text is visible. Otherwise, the text is not visible. The default value is false.&lt;/p&gt;

@see &lt;tt&gt;QProgressBar::textVisible&lt;/tt&gt; */"/>
</class>