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

#include <Base/QTGUI/qSlicerExtensionsManagerWidget.h>

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

Public Types

typedef QWidget Superclass
 Superclass typedef. More...
 

Public Slots

void refreshInstallWidget ()
 
void setFocusToSearchBox ()
 Set focus to search box (so that user can find a module just by start typing its name) More...
 
void updateAutoUpdateWidgetsFromModel ()
 Request update state of automatic extension update check and install checkbox states. More...
 

Signals

void inBatchProcessing (bool batch)
 

Public Member Functions

bool confirmClose ()
 Shows a popup if operations are still in progress, asking if the user wants to stop them. More...
 
Q_INVOKABLE qSlicerExtensionsManagerModelextensionsManagerModel () const
 
bool isInBatchProcessing ()
 
 qSlicerExtensionsManagerWidget (QWidget *parent=nullptr)
 Constructor. More...
 
Q_INVOKABLE void setExtensionsManagerModel (qSlicerExtensionsManagerModel *model)
 
 ~qSlicerExtensionsManagerWidget () override
 Destructor. More...
 

Protected Slots

void onCheckForUpdatesTriggered ()
 
void onCurrentTabChanged (int index)
 
void onEditBookmarksTriggered ()
 
void onInstallBookmarkedTriggered ()
 
void onInstallFromFileTriggered ()
 
void onInstallUpdatesTriggered ()
 
void onInstallUrlChanged (const QUrl &newUrl)
 
void onManageLinkActivated (const QUrl &link)
 
void onManageUrlChanged (const QUrl &newUrl)
 
void onMessageLogged (const QString &text, ctkErrorLogLevel::LogLevels level)
 
void onMessagesAcknowledged ()
 
void onModelUpdated ()
 
void onSearchTextChanged (const QString &newText)
 
void setAutoInstallDependencies (bool toggle)
 
void setAutoUpdateCheck (bool toggle)
 
void setAutoUpdateInstall (bool toggle)
 

Protected Member Functions

void processSearchTextChange ()
 
void timerEvent (QTimerEvent *) override
 

Protected Attributes

QScopedPointer< qSlicerExtensionsManagerWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 40 of file qSlicerExtensionsManagerWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 46 of file qSlicerExtensionsManagerWidget.h.

Constructor & Destructor Documentation

◆ qSlicerExtensionsManagerWidget()

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

Constructor.

◆ ~qSlicerExtensionsManagerWidget()

qSlicerExtensionsManagerWidget::~qSlicerExtensionsManagerWidget ( )
override

Destructor.

Member Function Documentation

◆ confirmClose()

bool qSlicerExtensionsManagerWidget::confirmClose ( )

Shows a popup if operations are still in progress, asking if the user wants to stop them.

◆ extensionsManagerModel()

Q_INVOKABLE qSlicerExtensionsManagerModel* qSlicerExtensionsManagerWidget::extensionsManagerModel ( ) const

◆ inBatchProcessing

void qSlicerExtensionsManagerWidget::inBatchProcessing ( bool  batch)
signal

If this signal is emitted when entering/exiting batch processing mode. In batch mode the user should not be able to allowed to quite the extensions manager.

◆ isInBatchProcessing()

bool qSlicerExtensionsManagerWidget::isInBatchProcessing ( )

◆ onCheckForUpdatesTriggered

void qSlicerExtensionsManagerWidget::onCheckForUpdatesTriggered ( )
protectedslot

◆ onCurrentTabChanged

void qSlicerExtensionsManagerWidget::onCurrentTabChanged ( int  index)
protectedslot

◆ onEditBookmarksTriggered

void qSlicerExtensionsManagerWidget::onEditBookmarksTriggered ( )
protectedslot

◆ onInstallBookmarkedTriggered

void qSlicerExtensionsManagerWidget::onInstallBookmarkedTriggered ( )
protectedslot

◆ onInstallFromFileTriggered

void qSlicerExtensionsManagerWidget::onInstallFromFileTriggered ( )
protectedslot

◆ onInstallUpdatesTriggered

void qSlicerExtensionsManagerWidget::onInstallUpdatesTriggered ( )
protectedslot

◆ onInstallUrlChanged

void qSlicerExtensionsManagerWidget::onInstallUrlChanged ( const QUrl &  newUrl)
protectedslot

◆ onManageLinkActivated

void qSlicerExtensionsManagerWidget::onManageLinkActivated ( const QUrl &  link)
protectedslot

◆ onManageUrlChanged

void qSlicerExtensionsManagerWidget::onManageUrlChanged ( const QUrl &  newUrl)
protectedslot

◆ onMessageLogged

void qSlicerExtensionsManagerWidget::onMessageLogged ( const QString &  text,
ctkErrorLogLevel::LogLevels  level 
)
protectedslot

◆ onMessagesAcknowledged

void qSlicerExtensionsManagerWidget::onMessagesAcknowledged ( )
protectedslot

◆ onModelUpdated

void qSlicerExtensionsManagerWidget::onModelUpdated ( )
protectedslot

◆ onSearchTextChanged

void qSlicerExtensionsManagerWidget::onSearchTextChanged ( const QString &  newText)
protectedslot

◆ processSearchTextChange()

void qSlicerExtensionsManagerWidget::processSearchTextChange ( )
protected

◆ refreshInstallWidget

void qSlicerExtensionsManagerWidget::refreshInstallWidget ( )
slot

◆ setAutoInstallDependencies

void qSlicerExtensionsManagerWidget::setAutoInstallDependencies ( bool  toggle)
protectedslot

◆ setAutoUpdateCheck

void qSlicerExtensionsManagerWidget::setAutoUpdateCheck ( bool  toggle)
protectedslot

◆ setAutoUpdateInstall

void qSlicerExtensionsManagerWidget::setAutoUpdateInstall ( bool  toggle)
protectedslot

◆ setExtensionsManagerModel()

Q_INVOKABLE void qSlicerExtensionsManagerWidget::setExtensionsManagerModel ( qSlicerExtensionsManagerModel model)

◆ setFocusToSearchBox

void qSlicerExtensionsManagerWidget::setFocusToSearchBox ( )
slot

Set focus to search box (so that user can find a module just by start typing its name)

◆ timerEvent()

void qSlicerExtensionsManagerWidget::timerEvent ( QTimerEvent *  )
overrideprotected

◆ updateAutoUpdateWidgetsFromModel

void qSlicerExtensionsManagerWidget::updateAutoUpdateWidgetsFromModel ( )
slot

Request update state of automatic extension update check and install checkbox states.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerExtensionsManagerWidgetPrivate> qSlicerExtensionsManagerWidget::d_ptr
protected

Definition at line 105 of file qSlicerExtensionsManagerWidget.h.


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