qt500-10化学成分(Qt 4.7: QWebInspector Class Reference)
QWebInspector Class Reference
The QWebInspector class allows the placement and control of a QWebPages inspector. The inspector can display a pages hierarchy, its loading statistics and the current state of its individual elements. It is mostly used by web developers. More...
#include <QWebInspector>Inherits: QWidget.
This class was introduced in Qt 4.6.
List of all members, including inherited membersPublic Functions
QWebInspector ( QWidget * parent = 0 ) ~QWebInspector () QWebPage * page () const void setPage ( QWebPage * page )Reimplemented Public Functions
virtual bool event ( QEvent * ev ) virtual QSize sizeHint () const 217 public functions inherited from QWidget 29 public functions inherited from QObject 13 public functions inherited from QPaintDeviceReimplemented Protected Functions
virtual void closeEvent ( QCloseEvent * event ) virtual void hideEvent ( QHideEvent * event ) virtual void resizeEvent ( QResizeEvent * event ) virtual void showEvent ( QShowEvent * event ) 37 protected functions inherited from QWidget 7 protected functions inherited from QObject 1 protected function inherited from QPaintDeviceAdditional Inherited Members
58 properties inherited from QWidget 1 property inherited from QObject 19 public slots inherited from QWidget 1 public slot inherited from QObject 1 signal inherited from QWidget 1 signal inherited from QObject 4 static public members inherited from QWidget 5 static public members inherited from QObject 37 protected functions inherited from QWidget 7 protected functions inherited from QObject 1 protected function inherited from QPaintDevice 1 protected slot inherited from QWidgetMember Function Documentation
QWebInspector::QWebInspector ( QWidget * parent = 0 )
Constructs an unbound QWebInspector with parent as its parent.
QWebInspector::~QWebInspector ()
Destroys the inspector.
void QWebInspector::closeEvent ( QCloseEvent
* event ) [virtual protected]
Reimplemented from QWidget::closeEvent().
bool QWebInspector::event ( QEvent
* ev ) [virtual]
Reimplemented from QObject::event().
void QWebInspector::hideEvent ( QHideEvent
* event ) [virtual protected]
Reimplemented from QWidget::hideEvent().
QWebPage * QWebInspector::page () const
Returns the inspected QWebPage. If no web page is currently associated, a null pointer is returned.
See also setPage().
void QWebInspector::resizeEvent ( QResizeEvent
* event ) [virtual protected]
Reimplemented from QWidget::resizeEvent().
void QWebInspector::setPage ( QWebPage * page )
Bind this inspector to the QWebPage to be inspected.
Notes:
There can only be one QWebInspector associated with a QWebPage and vice versa. Calling this method with a null page will break the current association, if any. If page is already associated to another QWebInspector, the association will be replaced and the previous QWebInspector will become unboundSee also page().
创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!