<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:04:24 CEST 2007 --> <TITLE> QStyle.ContentsType </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.gui.QStyle.ContentsType class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QStyle.ContentsType"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QStyle.ControlElement.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QStyle.ContentsType.html" target="_top"><B>FRAMES</B></A> <A HREF="QStyle.ContentsType.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt.gui</FONT> <BR> Enum QStyle.ContentsType</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Enum<<A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QStyle.ContentsType</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A>, java.io.Serializable, java.lang.Comparable<<A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>></DD> </DL> <DL> <DT><B>Enclosing class:</B><DD><A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></DD> </DL> <HR> <DL> <DT><PRE>public static enum <B>QStyle.ContentsType</B><DT>extends java.lang.Enum<<A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>><DT>implements <A HREF="../../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A></DL> </PRE> <P> <p>This enum describes the available contents types. These are used to calculate sizes for the contents of various widgets.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QStyle.html#sizeFromContents(com.trolltech.qt.gui.QStyle.ContentsType, com.trolltech.qt.gui.QStyleOption, com.trolltech.qt.core.QSize, com.trolltech.qt.gui.QWidget)"><tt>sizeFromContents</tt></a></DL> <HR> <P> <!-- =========== ENUM CONSTANT SUMMARY =========== --> <A NAME="enum_constant_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Enum Constant Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_CheckBox">CT_CheckBox</A></B></CODE> <BR> A check box, like <a href="QCheckBox.html"><tt>QCheckBox</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_ComboBox">CT_ComboBox</A></B></CODE> <BR> A combo box, like <a href="QComboBox.html"><tt>QComboBox</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_CustomBase">CT_CustomBase</A></B></CODE> <BR> Base value for custom contents types.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_DialogButtons">CT_DialogButtons</A></B></CODE> <BR> Internal.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_GroupBox">CT_GroupBox</A></B></CODE> <BR> A group box, like <a href="QGroupBox.html"><tt>QGroupBox</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_HeaderSection">CT_HeaderSection</A></B></CODE> <BR> A header section, like <a href="%2E%2E/porting4.html#qheader"><tt>QHeader</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_LineEdit">CT_LineEdit</A></B></CODE> <BR> A line edit, like <a href="QLineEdit.html"><tt>QLineEdit</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_MdiControls">CT_MdiControls</A></B></CODE> <BR> The minimize, normal, and close button in the menu bar for a maximized MDI subwindow.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_Menu">CT_Menu</A></B></CODE> <BR> A menu, like <a href="QMenu.html"><tt>QMenu</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_MenuBar">CT_MenuBar</A></B></CODE> <BR> A menu bar, like <a href="QMenuBar.html"><tt>QMenuBar</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_MenuBarItem">CT_MenuBarItem</A></B></CODE> <BR> A menu bar item, like the buttons in a <a href="QMenuBar.html"><tt>QMenuBar</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_MenuItem">CT_MenuItem</A></B></CODE> <BR> A menu item, like QMenuItem.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_ProgressBar">CT_ProgressBar</A></B></CODE> <BR> A progress bar, like <a href="QProgressBar.html"><tt>QProgressBar</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_PushButton">CT_PushButton</A></B></CODE> <BR> A push button, like <a href="QPushButton.html"><tt>QPushButton</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_Q3DockWindow">CT_Q3DockWindow</A></B></CODE> <BR> A Q3DockWindow.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_Q3Header">CT_Q3Header</A></B></CODE> <BR> A Qt 3 header section, like Q3Header.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_RadioButton">CT_RadioButton</A></B></CODE> <BR> A radio button, like <a href="QRadioButton.html"><tt>QRadioButton</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_ScrollBar">CT_ScrollBar</A></B></CODE> <BR> A scroll bar, like <a href="QScrollBar.html"><tt>QScrollBar</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_SizeGrip">CT_SizeGrip</A></B></CODE> <BR> A size grip, like <a href="QSizeGrip.html"><tt>QSizeGrip</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_Slider">CT_Slider</A></B></CODE> <BR> A slider, like <a href="QSlider.html"><tt>QSlider</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_SpinBox">CT_SpinBox</A></B></CODE> <BR> A spin box, like <a href="QSpinBox.html"><tt>QSpinBox</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_Splitter">CT_Splitter</A></B></CODE> <BR> A splitter, like <a href="QSplitter.html"><tt>QSplitter</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_TabBarTab">CT_TabBarTab</A></B></CODE> <BR> A tab on a tab bar, like <a href="QTabBar.html"><tt>QTabBar</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_TabWidget">CT_TabWidget</A></B></CODE> <BR> A tab widget, like <a href="QTabWidget.html"><tt>QTabWidget</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CT_ToolButton">CT_ToolButton</A></B></CODE> <BR> A tool button, like <a href="QToolButton.html"><tt>QToolButton</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#CustomEnum">CustomEnum</A></B></CODE> <BR> </TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#resolve(int)">resolve</A></B>(int value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#value()">value</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String name)</CODE> <BR> Returns the enum constant of this type with the specified name.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html#values()">values</A></B>()</CODE> <BR> Returns an array containing the constants of this enum type, in the order they're declared.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Enum</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ ENUM CONSTANT DETAIL =========== --> <A NAME="enum_constant_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Enum Constant Detail</B></FONT></TH> </TR> </TABLE> <A NAME="CT_PushButton"><!-- --></A><H3> CT_PushButton</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_PushButton</B></PRE> <DL> <DD><p>A push button, like <a href="QPushButton.html"><tt>QPushButton</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_CheckBox"><!-- --></A><H3> CT_CheckBox</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_CheckBox</B></PRE> <DL> <DD><p>A check box, like <a href="QCheckBox.html"><tt>QCheckBox</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_RadioButton"><!-- --></A><H3> CT_RadioButton</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_RadioButton</B></PRE> <DL> <DD><p>A radio button, like <a href="QRadioButton.html"><tt>QRadioButton</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_ToolButton"><!-- --></A><H3> CT_ToolButton</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_ToolButton</B></PRE> <DL> <DD><p>A tool button, like <a href="QToolButton.html"><tt>QToolButton</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_ComboBox"><!-- --></A><H3> CT_ComboBox</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_ComboBox</B></PRE> <DL> <DD><p>A combo box, like <a href="QComboBox.html"><tt>QComboBox</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_Splitter"><!-- --></A><H3> CT_Splitter</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_Splitter</B></PRE> <DL> <DD><p>A splitter, like <a href="QSplitter.html"><tt>QSplitter</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_Q3DockWindow"><!-- --></A><H3> CT_Q3DockWindow</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_Q3DockWindow</B></PRE> <DL> <DD><p>A Q3DockWindow.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_ProgressBar"><!-- --></A><H3> CT_ProgressBar</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_ProgressBar</B></PRE> <DL> <DD><p>A progress bar, like <a href="QProgressBar.html"><tt>QProgressBar</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_MenuItem"><!-- --></A><H3> CT_MenuItem</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_MenuItem</B></PRE> <DL> <DD><p>A menu item, like QMenuItem.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_MenuBarItem"><!-- --></A><H3> CT_MenuBarItem</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_MenuBarItem</B></PRE> <DL> <DD><p>A menu bar item, like the buttons in a <a href="QMenuBar.html"><tt>QMenuBar</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_MenuBar"><!-- --></A><H3> CT_MenuBar</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_MenuBar</B></PRE> <DL> <DD><p>A menu bar, like <a href="QMenuBar.html"><tt>QMenuBar</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_Menu"><!-- --></A><H3> CT_Menu</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_Menu</B></PRE> <DL> <DD><p>A menu, like <a href="QMenu.html"><tt>QMenu</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_TabBarTab"><!-- --></A><H3> CT_TabBarTab</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_TabBarTab</B></PRE> <DL> <DD><p>A tab on a tab bar, like <a href="QTabBar.html"><tt>QTabBar</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_Slider"><!-- --></A><H3> CT_Slider</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_Slider</B></PRE> <DL> <DD><p>A slider, like <a href="QSlider.html"><tt>QSlider</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_ScrollBar"><!-- --></A><H3> CT_ScrollBar</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_ScrollBar</B></PRE> <DL> <DD><p>A scroll bar, like <a href="QScrollBar.html"><tt>QScrollBar</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_Q3Header"><!-- --></A><H3> CT_Q3Header</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_Q3Header</B></PRE> <DL> <DD><p>A Qt 3 header section, like Q3Header.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_LineEdit"><!-- --></A><H3> CT_LineEdit</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_LineEdit</B></PRE> <DL> <DD><p>A line edit, like <a href="QLineEdit.html"><tt>QLineEdit</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_SpinBox"><!-- --></A><H3> CT_SpinBox</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_SpinBox</B></PRE> <DL> <DD><p>A spin box, like <a href="QSpinBox.html"><tt>QSpinBox</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_SizeGrip"><!-- --></A><H3> CT_SizeGrip</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_SizeGrip</B></PRE> <DL> <DD><p>A size grip, like <a href="QSizeGrip.html"><tt>QSizeGrip</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_TabWidget"><!-- --></A><H3> CT_TabWidget</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_TabWidget</B></PRE> <DL> <DD><p>A tab widget, like <a href="QTabWidget.html"><tt>QTabWidget</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_DialogButtons"><!-- --></A><H3> CT_DialogButtons</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_DialogButtons</B></PRE> <DL> <DD>Internal. <P> <DL> </DL> </DL> <HR> <A NAME="CT_HeaderSection"><!-- --></A><H3> CT_HeaderSection</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_HeaderSection</B></PRE> <DL> <DD><p>A header section, like <a href="%2E%2E/porting4.html#qheader"><tt>QHeader</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_GroupBox"><!-- --></A><H3> CT_GroupBox</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_GroupBox</B></PRE> <DL> <DD><p>A group box, like <a href="QGroupBox.html"><tt>QGroupBox</tt></a>.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_MdiControls"><!-- --></A><H3> CT_MdiControls</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_MdiControls</B></PRE> <DL> <DD><p>The minimize, normal, and close button in the menu bar for a maximized MDI subwindow.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CT_CustomBase"><!-- --></A><H3> CT_CustomBase</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CT_CustomBase</B></PRE> <DL> <DD><p>Base value for custom contents types. Custom values must be greater than this value.</p> <P> <DL> </DL> </DL> <HR> <A NAME="CustomEnum"><!-- --></A><H3> CustomEnum</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>CustomEnum</B></PRE> <DL> <DL> </DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="values()"><!-- --></A><H3> values</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A>[] <B>values</B>()</PRE> <DL> <DD>Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows: <pre> for(QStyle.ContentsType c : QStyle.ContentsType.values()) System.out.println(c); </pre> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an array containing the constants of this enum type, in the order they're declared</DL> </DD> </DL> <HR> <A NAME="valueOf(java.lang.String)"><!-- --></A><H3> valueOf</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>valueOf</B>(java.lang.String name)</PRE> <DL> <DD>Returns the enum constant of this type with the specified name. The string must match <I>exactly</I> an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned. <DT><B>Returns:</B><DD>the enum constant with the specified name <DT><B>Throws:</B> <DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant with the specified name</DL> </DD> </DL> <HR> <A NAME="value()"><!-- --></A><H3> value</H3> <PRE> public int <B>value</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/QtEnumerator.html#value()">value</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="resolve(int)"><!-- --></A><H3> resolve</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/gui/QStyle.ContentsType.html" title="enum in com.trolltech.qt.gui">QStyle.ContentsType</A> <B>resolve</B>(int value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QStyle.ComplexControl.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QStyle.ControlElement.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QStyle.ContentsType.html" target="_top"><B>FRAMES</B></A> <A HREF="QStyle.ContentsType.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>