2 #ifndef __qSlicerExtensionsRestoreWidget_h 3 #define __qSlicerExtensionsRestoreWidget_h 6 #include <ctkErrorLogLevel.h> 13 #include "qSlicerBaseQTGUIExport.h" 15 class qSlicerExtensionsRestoreWidgetPrivate;
22 Q_PROPERTY(QString searchText READ searchText WRITE setSearchText)
37 QString searchText()
const;
40 QAction* selectAllAction()
const;
41 QAction* deselectAllAction()
const;
42 QAction* installSelectedAction()
const;
45 void changeEvent(QEvent* e)
override;
46 void showEvent(QShowEvent* event)
override;
49 int pendingOperationsCount()
const;
52 void setSearchText(
const QString& newText);
55 void onSelectAllExtensionsTriggered();
56 void onDeselectAllExtensionsTriggered();
57 void onInstallSelectedExtensionsTriggered();
58 void onCheckOnStartupChanged(
int state);
59 void onSilentInstallOnStartupChanged(
int state);
60 void onProgressChanged(
const QString& extensionName, qint64 received, qint64 total);
61 void onInstallationFinished(QString extensionName);
62 void onExtensionHistoryGatheredOnStartup(
const QVariantMap&);
65 QScopedPointer<qSlicerExtensionsRestoreWidgetPrivate>
d_ptr;