Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Properties | Public Slots | Public Member Functions | Protected Slots | Protected Member Functions
qSlicerExtensionsInstallWidget Class Reference

#include <Base/QTGUI/qSlicerExtensionsInstallWidget.h>

Inheritance diagram for qSlicerExtensionsInstallWidget:
Inheritance graph
[legend]
Collaboration diagram for qSlicerExtensionsInstallWidget:
Collaboration graph
[legend]

Public Types

typedef qSlicerWebWidget Superclass
 Superclass typedef. More...
 
- Public Types inherited from qSlicerWebWidget
typedef QWidget Superclass
 Superclass typedef. More...
 

Properties

bool browsingEnabled
 
QString slicerArch
 
QString slicerOs
 
QString slicerRevision
 
- Properties inherited from qSlicerWebWidget
bool handleExternalUrlWithDesktopService
 
QStringList internalHosts
 
QString url
 

Public Slots

void onExtensionCancelledScheduleForUninstall (const QString &extensionName)
 
void onExtensionInstalled (const QString &extensionName)
 
void onExtensionScheduledForUninstall (const QString &extensionName)
 
void onMessageLogged (const QString &text, ctkErrorLogLevel::LogLevels level)
 
void onSlicerRequirementsChanged (const QString &revision, const QString &os, const QString &arch)
 
void refresh ()
 Refresh the web page associated with the widget. More...
 
- Public Slots inherited from qSlicerWebWidget
void onDownloadFinished (QNetworkReply *reply)
 
void onDownloadProgress (qint64 bytesReceived, qint64 bytesTotal)
 
void onDownloadStarted (QNetworkReply *reply)
 
void printToPdf (const QString &filePath)
 
void setUrl (const QString &url)
 Convenience for setting the internal webView QUrl from a QString. More...
 

Public Member Functions

Q_INVOKABLE qSlicerExtensionsManagerModelextensionsManagerModel () const
 
bool isBrowsingEnabled () const
 
 qSlicerExtensionsInstallWidget (QWidget *parent=nullptr)
 Constructor. More...
 
void setBrowsingEnabled (bool state)
 
Q_INVOKABLE void setExtensionsManagerModel (qSlicerExtensionsManagerModel *model)
 
void setSlicerArch (const QString &arch)
 
void setSlicerOs (const QString &os)
 
void setSlicerRevision (const QString &revision)
 
QString slicerArch () const
 
QString slicerOs () const
 
QString slicerRevision () const
 
 ~qSlicerExtensionsInstallWidget () override
 Destructor. More...
 
- Public Member Functions inherited from qSlicerWebWidget
Q_INVOKABLE QString evalJS (const QString &js)
 
bool handleExternalUrlWithDesktopService () const
 Return true if external URL should be open with desktop service. More...
 
QStringList internalHosts () const
 Set/Get internal host. More...
 
 qSlicerWebWidget (QWidget *parent=nullptr)
 Constructor. More...
 
void setHandleExternalUrlWithDesktopService (bool enable)
 
Q_INVOKABLE void setHtml (const QString &html, const QUrl &baseUrl=QUrl())
 Convenience for setting the internal webView html from a QString. More...
 
void setInternalHosts (const QStringList &hosts)
 
Q_INVOKABLE QString url ()
 Convenience for setting the internal webView QUrl from a QString. More...
 
Q_INVOKABLE QWebEngineView * webView ()
 Return a reference to the QWebView used internally. More...
 
 ~qSlicerWebWidget () override
 Destructor. More...
 

Protected Slots

void initJavascript () override
 
void onLoadFinished (bool ok) override
 
void onLoadStarted () override
 
- Protected Slots inherited from qSlicerWebWidget
void handleSslErrors (QNetworkReply *reply, const QList< QSslError > &errors)
 
virtual void initJavascript ()
 
virtual void onLoadFinished (bool ok)
 
virtual void onLoadProgress (int progress)
 
virtual void onLoadStarted ()
 

Protected Member Functions

bool acceptNavigationRequest (const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) override
 
- Protected Member Functions inherited from qSlicerWebWidget
bool eventFilter (QObject *obj, QEvent *event) override
 
 qSlicerWebWidget (qSlicerWebWidgetPrivate *pimpl, QWidget *parent=nullptr)
 

Additional Inherited Members

- Signals inherited from qSlicerWebWidget
void evalResult (QString js, QString result)
 emited with result of evalJS More...
 
void loadFinished (bool ok)
 
void loadProgress (int progress)
 
void loadStarted ()
 signal passed through from QWebEngineView More...
 
void pdfPrintingFinished (const QString &filePath, bool success)
 signal passed through from QWebEnginePage More...
 
- Protected Attributes inherited from qSlicerWebWidget
QScopedPointer< qSlicerWebWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 34 of file qSlicerExtensionsInstallWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 44 of file qSlicerExtensionsInstallWidget.h.

Property Documentation

◆ browsingEnabled

bool qSlicerExtensionsInstallWidget::browsingEnabled
readwrite

Definition at line 41 of file qSlicerExtensionsInstallWidget.h.

◆ slicerArch

QString qSlicerExtensionsInstallWidget::slicerArch
readwrite

Definition at line 40 of file qSlicerExtensionsInstallWidget.h.

◆ slicerOs

QString qSlicerExtensionsInstallWidget::slicerOs
readwrite

Definition at line 39 of file qSlicerExtensionsInstallWidget.h.

◆ slicerRevision

QString qSlicerExtensionsInstallWidget::slicerRevision
readwrite

Definition at line 38 of file qSlicerExtensionsInstallWidget.h.

Constructor & Destructor Documentation

◆ qSlicerExtensionsInstallWidget()

qSlicerExtensionsInstallWidget::qSlicerExtensionsInstallWidget ( QWidget *  parent = nullptr)
explicit

Constructor.

◆ ~qSlicerExtensionsInstallWidget()

qSlicerExtensionsInstallWidget::~qSlicerExtensionsInstallWidget ( )
override

Destructor.

Member Function Documentation

◆ acceptNavigationRequest()

bool qSlicerExtensionsInstallWidget::acceptNavigationRequest ( const QUrl &  url,
QWebEnginePage::NavigationType  type,
bool  isMainFrame 
)
overrideprotectedvirtual

Reimplemented from qSlicerWebWidget.

◆ extensionsManagerModel()

Q_INVOKABLE qSlicerExtensionsManagerModel* qSlicerExtensionsInstallWidget::extensionsManagerModel ( ) const

◆ initJavascript

void qSlicerExtensionsInstallWidget::initJavascript ( )
overrideprotectedslot

◆ isBrowsingEnabled()

bool qSlicerExtensionsInstallWidget::isBrowsingEnabled ( ) const

◆ onExtensionCancelledScheduleForUninstall

void qSlicerExtensionsInstallWidget::onExtensionCancelledScheduleForUninstall ( const QString &  extensionName)
slot

◆ onExtensionInstalled

void qSlicerExtensionsInstallWidget::onExtensionInstalled ( const QString &  extensionName)
slot

◆ onExtensionScheduledForUninstall

void qSlicerExtensionsInstallWidget::onExtensionScheduledForUninstall ( const QString &  extensionName)
slot

◆ onLoadFinished

void qSlicerExtensionsInstallWidget::onLoadFinished ( bool  ok)
overrideprotectedslot

◆ onLoadStarted

void qSlicerExtensionsInstallWidget::onLoadStarted ( )
overrideprotectedslot

◆ onMessageLogged

void qSlicerExtensionsInstallWidget::onMessageLogged ( const QString &  text,
ctkErrorLogLevel::LogLevels  level 
)
slot

◆ onSlicerRequirementsChanged

void qSlicerExtensionsInstallWidget::onSlicerRequirementsChanged ( const QString &  revision,
const QString &  os,
const QString &  arch 
)
slot

◆ refresh

void qSlicerExtensionsInstallWidget::refresh ( )
slot

Refresh the web page associated with the widget.

◆ setBrowsingEnabled()

void qSlicerExtensionsInstallWidget::setBrowsingEnabled ( bool  state)

◆ setExtensionsManagerModel()

Q_INVOKABLE void qSlicerExtensionsInstallWidget::setExtensionsManagerModel ( qSlicerExtensionsManagerModel model)

◆ setSlicerArch()

void qSlicerExtensionsInstallWidget::setSlicerArch ( const QString &  arch)

◆ setSlicerOs()

void qSlicerExtensionsInstallWidget::setSlicerOs ( const QString &  os)

◆ setSlicerRevision()

void qSlicerExtensionsInstallWidget::setSlicerRevision ( const QString &  revision)

◆ slicerArch()

QString qSlicerExtensionsInstallWidget::slicerArch ( ) const

◆ slicerOs()

QString qSlicerExtensionsInstallWidget::slicerOs ( ) const

◆ slicerRevision()

QString qSlicerExtensionsInstallWidget::slicerRevision ( ) const

The documentation for this class was generated from the following file: