1 Star 0 Fork 1

第三方项目代码/QIpEditor

forked from Jackal/QIpEditor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
qipeditorplugin.cpp 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
Jackal 提交于 2014-11-11 12:18 +08:00 . Init sources
#include "qipeditor.h"
#include "qipeditorplugin.h"
#include <QtPlugin>
QIpEditorPlugin::QIpEditorPlugin(QObject *parent)
: QObject(parent)
{
m_initialized = false;
}
void QIpEditorPlugin::initialize(QDesignerFormEditorInterface * /* core */)
{
if (m_initialized)
return;
// Add extension registrations, etc. here
m_initialized = true;
}
bool QIpEditorPlugin::isInitialized() const
{
return m_initialized;
}
QWidget *QIpEditorPlugin::createWidget(QWidget *parent)
{
return new QIpEditor(parent);
}
QString QIpEditorPlugin::name() const
{
return QLatin1String("QIpEditor");
}
QString QIpEditorPlugin::group() const
{
return QLatin1String("Qt/Jackal");
}
QIcon QIpEditorPlugin::icon() const
{
return QIcon();
}
QString QIpEditorPlugin::toolTip() const
{
return QLatin1String("ip input widget");
}
QString QIpEditorPlugin::whatsThis() const
{
return QLatin1String("ip input widget");
}
bool QIpEditorPlugin::isContainer() const
{
return false;
}
QString QIpEditorPlugin::domXml() const
{
return QLatin1String("<widget class=\"QIpEditor\" name=\"qIpEditor\">\n</widget>\n");
}
QString QIpEditorPlugin::includeFile() const
{
return QLatin1String("qipeditor.h");
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2(qipeditorplugin, QIpEditorPlugin)
#endif // QT_VERSION < 0x050000
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/third_party_project_code/QIpEditor.git
git@gitee.com:third_party_project_code/QIpEditor.git
third_party_project_code
QIpEditor
QIpEditor
master

搜索帮助