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
-
toolTip
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
toolTip
in interfaceQDesignerCustomWidgetInterface
-
name
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
name
in interfaceQDesignerCustomWidgetInterface
-
isContainer
public boolean isContainer()Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
isContainer
in interfaceQDesignerCustomWidgetInterface
-
includeFile
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
includeFile
in interfaceQDesignerCustomWidgetInterface
-
icon
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
icon
in interfaceQDesignerCustomWidgetInterface
-
group
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
group
in interfaceQDesignerCustomWidgetInterface
-
createWidget
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
createWidget
in interfaceQDesignerCustomWidgetInterface
-
domXml
Description copied from interface:QDesignerCustomWidgetInterface
- Specified by:
domXml
in interfaceQDesignerCustomWidgetInterface
-