21 #ifndef __qSlicerExtensionsInstallWidget_h 22 #define __qSlicerExtensionsInstallWidget_h 25 #include <ctkErrorLogModel.h> 28 #include "qSlicerBaseQTGUIExport.h" 31 class qSlicerExtensionsInstallWidgetPrivate;
38 Q_PROPERTY(QString slicerRevision READ slicerRevision WRITE setSlicerRevision)
39 Q_PROPERTY(QString slicerOs READ slicerOs WRITE setSlicerOs)
40 Q_PROPERTY(QString slicerArch READ slicerArch WRITE setSlicerArch)
41 Q_PROPERTY(
bool browsingEnabled READ isBrowsingEnabled WRITE setBrowsingEnabled)
55 QString slicerRevision()const;
56 void setSlicerRevision(const QString& revision);
58 QString slicerOs()const;
59 void setSlicerOs(const QString& os);
61 QString slicerArch()const;
62 void setSlicerArch(const QString& arch);
64 bool isBrowsingEnabled() const;
65 void setBrowsingEnabled(
bool state);
71 void onExtensionInstalled(const QString& extensionName);
73 void onExtensionScheduledForUninstall(const QString& extensionName);
75 void onExtensionCancelledScheduleForUninstall(const QString& extensionName);
77 void onSlicerRequirementsChanged(const QString& revision,const QString& os,const QString& arch);
79 void onMessageLogged(const QString& text, ctkErrorLogLevel::LogLevels level);
82 #ifndef Slicer_HAVE_WEBKIT_SUPPORT 89 #ifdef Slicer_HAVE_WEBKIT_SUPPORT 90 virtual void onLinkClicked(
const QUrl& url);