public static enum QSizePolicy.ControlType extends Enum<QSizePolicy.ControlType>
Enum Constant and Description |
---|
ButtonBox |
CheckBox |
ComboBox |
DefaultType |
Frame |
GroupBox |
Label |
Line |
LineEdit |
PushButton |
RadioButton |
Slider |
SpinBox |
TabWidget |
ToolButton |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
QSizePolicy.ControlType |
intern() |
String |
toString() |
static QSizePolicy.ControlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QSizePolicy.ControlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QSizePolicy.ControlType DefaultType
public static final QSizePolicy.ControlType ButtonBox
public static final QSizePolicy.ControlType CheckBox
public static final QSizePolicy.ControlType ComboBox
public static final QSizePolicy.ControlType Frame
public static final QSizePolicy.ControlType GroupBox
public static final QSizePolicy.ControlType Label
public static final QSizePolicy.ControlType Line
public static final QSizePolicy.ControlType LineEdit
public static final QSizePolicy.ControlType PushButton
public static final QSizePolicy.ControlType RadioButton
public static final QSizePolicy.ControlType Slider
public static final QSizePolicy.ControlType SpinBox
public static final QSizePolicy.ControlType TabWidget
public static final QSizePolicy.ControlType ToolButton
public static QSizePolicy.ControlType[] values()
for (QSizePolicy.ControlType c : QSizePolicy.ControlType.values()) System.out.println(c);
public static QSizePolicy.ControlType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic QSizePolicy.ControlType intern()
public String toString()
toString
in class Enum<QSizePolicy.ControlType>
Copyright © 2020. All rights reserved.