Sophie

Sophie

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

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

<class name="QStyleOptionTitleBar" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleOptionTitleBar.html#QStyleOptionTitleBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionTitleBar&lt;/tt&gt;&lt;/a&gt; class is used to describe the parameters for drawing a title bar.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QStyleOptionTitleBar.html#QStyleOptionTitleBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionTitleBar&lt;/tt&gt;&lt;/a&gt; contains all the information that &lt;a href=&quot;QStyle.html&quot;&gt;&lt;tt&gt;QStyle&lt;/tt&gt;&lt;/a&gt; functions need to draw the title bars of &lt;a href=&quot;QWorkspace.html&quot;&gt;&lt;tt&gt;QWorkspace&lt;/tt&gt;&lt;/a&gt;'s MDI children.&lt;/p&gt;
&lt;p&gt;For performance reasons, the access to the member variables is direct (i.e&amp;#x2e;, using the &lt;tt&gt;.&lt;/tt&gt; or &lt;tt&gt;-&amp;gt;&lt;/tt&gt; operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.&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;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QStyleOptionComplex.html#QStyleOptionComplex(int, int)&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWorkspace.html&quot;&gt;&lt;tt&gt;QWorkspace&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QStyleOptionTitleBar(com.trolltech.qt.gui.QStyleOptionTitleBar 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 QStyleOptionTitleBar()" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QStyleOptionTitleBar.html#QStyleOptionTitleBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionTitleBar&lt;/tt&gt;&lt;/a&gt;, initializing the members variables to their default values.&lt;/p&gt;
 */"/>
    <method name="protected QStyleOptionTitleBar(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;QStyleOptionTitleBar.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;QStyleOptionTitleBar.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_TitleBar&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <method name="public final com.trolltech.qt.core.Qt.WindowFlags titleBarFlags()" doc="/**
&lt;p&gt;Returns the widget flags for the title bar.&lt;/p&gt;
&lt;p&gt;The default value is Qt::Widget.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTitleBar.html#setTitleBarFlags(com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;setTitleBarFlags&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::WindowFlags&lt;/tt&gt; */"/>
    <method name="public final void setTitleBarFlags(com.trolltech.qt.core.Qt.WindowFlags titleBarFlags)" doc="/**
&lt;p&gt;Sets the widget flags for the title bar to &lt;tt&gt;titleBarFlags&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is Qt::Widget.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTitleBar.html#titleBarFlags()&quot;&gt;&lt;tt&gt;titleBarFlags&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::WindowFlags&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QIcon icon()" doc="/**
&lt;p&gt;Returns the icon for the title bar.&lt;/p&gt;
&lt;p&gt;The default value is an empty icon, i.e&amp;#x2e; an icon with neither a pixmap nor a filename.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTitleBar.html#setIcon(com.trolltech.qt.gui.QIcon)&quot;&gt;&lt;tt&gt;setIcon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setIcon(com.trolltech.qt.gui.QIcon icon)" doc="/**
&lt;p&gt;Sets the icon for the title bar to &lt;tt&gt;icon&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is an empty icon, i.e&amp;#x2e; an icon with neither a pixmap nor a filename.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTitleBar.html#icon()&quot;&gt;&lt;tt&gt;icon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String text()" doc="/**
&lt;p&gt;Returns the text of the title bar.&lt;/p&gt;
&lt;p&gt;The default value is an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTitleBar.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setText(java.lang.String text)" doc="/**
&lt;p&gt;Sets the text of the title bar to &lt;tt&gt;text&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTitleBar.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int titleBarState()" doc="/**
&lt;p&gt;Returns the state of the title bar.&lt;/p&gt;
&lt;p&gt;This is basically the window state of the underlying widget. The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTitleBar.html#setTitleBarState(int)&quot;&gt;&lt;tt&gt;setTitleBarState&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::windowState&lt;/tt&gt; */"/>
    <method name="public final void setTitleBarState(int titleBarState)" doc="/**
&lt;p&gt;Sets the state of the title bar to &lt;tt&gt;titleBarState&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This is basically the window state of the underlying widget. The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTitleBar.html#titleBarState()&quot;&gt;&lt;tt&gt;titleBarState&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::windowState&lt;/tt&gt; */"/>
</class>