/*! @file @id $Id$ */ // 1 2 3 4 5 6 7 8 // 45678901234567890123456789012345678901234567890123456789012345678901234567890 #ifndef __WEBVIEWWIDGETIFC_HXX #define __WEBVIEWWIDGETIFC_HXX #include #include #define LOG qDebug()<<__PRETTY_FUNCTION__ //! WebView widget for Qt Designer class WebViewWidgetIfc: public QObject, public QDesignerCustomWidgetInterface { Q_OBJECT; Q_INTERFACES(QDesignerCustomWidgetInterface); public: bool isContainer() const { LOG; return false; } QIcon icon() const { LOG; return QIcon(":/icons/webview.png"); } QString domXml() const { LOG; return QString ("" " " " " " " " %1" " " " " "") .arg(name()) .arg(name().toLower()); } QString group() const { LOG; return "Display Widgets [Examples]"; } QString includeFile() const { LOG; return "qbrowserlib/webview.hxx"; } QString name() const { LOG; return "WebView"; } QString toolTip() const { LOG; return ""; } QString whatsThis() const { LOG; return ""; } QWidget *createWidget(QWidget *parent) { LOG; return new WebView(parent); } }; #endif