java.lang.Object
io.qt.QtObject
io.qt.designer.util.CustomWidgetInterface
- All Implemented Interfaces:
QDesignerCustomWidgetInterface
,QtObjectInterface
Generic implementation for
QDesignerCustomWidgetInterface
.-
Constructor Summary
ConstructorDescriptionCustomWidgetInterface
(String group, QMetaObject.Method1<QWidget, ? extends QWidget> constructor) CustomWidgetInterface
(String group, QMetaObject.Method1<QWidget, ? extends QWidget> constructor, String name) CustomWidgetInterface
(String group, QMetaObject.Method1<QWidget, ? extends QWidget> constructor, String whatsThis, String name, String toolTip, boolean isContainer, String includeFile, QIcon icon) -
Method Summary
Modifier and TypeMethodDescriptioncreateWidget
(QWidget parent) domXml()
group()
icon()
boolean
name()
void
setContainer
(boolean isContainer) void
void
void
setIncludeFile
(String includeFile) void
setToolTip
(String toolTip) void
setWhatsThis
(String whatsThis) toolTip()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.designer.QDesignerCustomWidgetInterface
codeTemplate, initialize, isInitialized
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
CustomWidgetInterface
public CustomWidgetInterface(String group, QMetaObject.Method1<QWidget, ? extends QWidget> constructor) -
CustomWidgetInterface
public CustomWidgetInterface(String group, QMetaObject.Method1<QWidget, ? extends QWidget> constructor, String name) -
CustomWidgetInterface
-
-
Method Details
-
setDomXml
-
setWhatsThis
-
setToolTip
-
setContainer
public void setContainer(boolean isContainer) -
setIncludeFile
-
setIcon
-
whatsThis
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
whatsThis
in interfaceQDesignerCustomWidgetInterface
- Returns:
-
toolTip
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
toolTip
in interfaceQDesignerCustomWidgetInterface
- Returns:
-
name
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
name
in interfaceQDesignerCustomWidgetInterface
- Returns:
-
isContainer
public boolean isContainer()Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
isContainer
in interfaceQDesignerCustomWidgetInterface
- Returns:
-
includeFile
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
includeFile
in interfaceQDesignerCustomWidgetInterface
- Returns:
-
icon
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
icon
in interfaceQDesignerCustomWidgetInterface
- Returns:
-
group
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
group
in interfaceQDesignerCustomWidgetInterface
- Returns:
-
createWidget
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
createWidget
in interfaceQDesignerCustomWidgetInterface
- Parameters:
parent
-- Returns:
-
domXml
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
domXml
in interfaceQDesignerCustomWidgetInterface
- Returns:
-