Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
typedef ItemStyle | StyleType |
Public Member Functions | |
WebBrowserItem (Item *parent, const QString &content, const StyleType *style=itemStyles().get()) | |
WebBrowserItem (Item *parent, const QUrl &url, const StyleType *style=itemStyles().get()) | |
WebBrowserItem (Item *parent, const QUrl &url, QSize size, const StyleType *style=itemStyles().get()) | |
virtual | ~WebBrowserItem () |
void | addJavascriptObject (const QString &name, QObject *object) |
virtual QList< Visualization::VisualizationAddOn * > | addOns () override |
QGraphicsWebView * | browser () const |
virtual QList< Item * > | childItems () const override |
virtual Visualization::InteractionHandler * | handler () const override |
void | setContent (const QString &content) |
void | setHeightResizesWithContent (bool heightResizesWithContent) |
virtual void | setStyle (const Visualization::ItemStyle *itemStyle) override |
const StyleType * | style () const |
void | updateSize (QSize size) |
Static Public Member Functions | |
static void | addAddOn (Visualization::VisualizationAddOn *addOn) |
static Visualization::InteractionHandler * | defaultClassHandler () |
static Visualization::StyleSet< WebBrowserItem > & | itemStyles () |
static bool | removeAddOn (Visualization::VisualizationAddOn *addOn) |
static void | setDefaultClassHandler (Visualization::InteractionHandler *handler) |
Protected Member Functions | |
virtual void | determineChildren () override |
virtual void | updateGeometry (int availableWidth, int availableHeight) override |
Static Private Member Functions | |
static QList< Visualization::VisualizationAddOn * > & | staticAddOns () |
Private Attributes | |
QGraphicsWebView * | browser_ {} |
QMetaObject::Connection | connection_ {} |
bool | heightResizesWithContent_ {} |
QSize | size_ |
Static Private Attributes | |
static Visualization::InteractionHandler * | defaultClassHandler_ = nullptr |
static const QSize | defaultSize = QSize{400, 300} |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Visualization::WebBrowserItem::WebBrowserItem | ( | Item * | parent, |
const QUrl & | url, | ||
const StyleType * | style = itemStyles().get() |
||
) |
Visualization::WebBrowserItem::WebBrowserItem | ( | Item * | parent, |
const QUrl & | url, | ||
QSize | size, | ||
const StyleType * | style = itemStyles().get() |
||
) |
Visualization::WebBrowserItem::WebBrowserItem | ( | Item * | parent, |
const QString & | content, | ||
const StyleType * | style = itemStyles().get() |
||
) |
|
virtual |
|
static |
void Visualization::WebBrowserItem::addJavascriptObject | ( | const QString & | name, |
QObject * | object | ||
) |
|
overridevirtual |
|
inline |
|
overridevirtual |
|
inlinestatic |
|
overrideprotectedvirtual |
|
overridevirtual |
|
static |
|
static |
void Visualization::WebBrowserItem::setContent | ( | const QString & | content | ) |
|
inlinestatic |
void Visualization::WebBrowserItem::setHeightResizesWithContent | ( | bool | heightResizesWithContent | ) |
|
overridevirtual |
|
staticprivate |
|
inline |
|
overrideprotectedvirtual |
void Visualization::WebBrowserItem::updateSize | ( | QSize | size | ) |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |