java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.designer.util.CustomWidgetInterface
- All Implemented Interfaces:
QDesignerCustomWidgetInterface
,QtObjectInterface
public final class CustomWidgetInterface extends QtObject implements QDesignerCustomWidgetInterface
Generic implementation for
QDesignerCustomWidgetInterface
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.designer.QDesignerCustomWidgetInterface
QDesignerCustomWidgetInterface.Impl, QDesignerCustomWidgetInterface.MemberAccess
-
Constructor Summary
Constructors Constructor Description CustomWidgetInterface(String group, QMetaObject.Method1<QWidget,QWidget> constructor)
CustomWidgetInterface(String group, QMetaObject.Method1<QWidget,QWidget> constructor, String name)
CustomWidgetInterface(String group, QMetaObject.Method1<QWidget,QWidget> constructor, String whatsThis, String name, String toolTip, boolean isContainer, String includeFile, QIcon icon)
-
Method Summary
Modifier and Type Method Description QWidget
createWidget(QWidget parent)
String
domXml()
String
group()
QIcon
icon()
String
includeFile()
boolean
isContainer()
String
name()
void
setContainer(boolean isContainer)
void
setDomXml(String domXml)
void
setIcon(QIcon icon)
void
setIncludeFile(String includeFile)
void
setToolTip(String toolTip)
void
setWhatsThis(String whatsThis)
String
toolTip()
String
whatsThis()
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
-
Constructor Details
-
CustomWidgetInterface
-
CustomWidgetInterface
public CustomWidgetInterface(String group, QMetaObject.Method1<QWidget,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
-