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 | Signals | Public Member Functions | Protected Member Functions | Protected Attributes
qSlicerModuleFactoryFilterModel Class Reference

#include <Base/QTGUI/qSlicerModuleFactoryFilterModel.h>

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

Public Types

typedef QSortFilterProxyModel Superclass
 Superclass typedef. More...
 

Properties

bool hideAllWhenShowModulesIsEmpty
 false by default More...
 
bool showFailed
 True by default. More...
 
bool showIgnored
 True by default. More...
 
bool showLoaded
 True by default. More...
 
QStringList showModules
 
bool showToIgnore
 True by default. More...
 
bool showToLoad
 True by default. More...
 

Public Slots

void setShowFailed (bool show)
 
void setShowIgnored (bool show)
 
void setShowLoaded (bool show)
 
void setShowModules (const QStringList &modules)
 
void setShowToIgnore (bool show)
 
void setShowToLoad (bool show)
 

Signals

void showModulesChanged (const QStringList &) const
 

Public Member Functions

bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override
 
bool hideAllWhenShowModulesIsEmpty () const
 
 qSlicerModuleFactoryFilterModel (QObject *parent=nullptr)
 Constructor. More...
 
void setHideAllWhenShowModulesIsEmpty (bool hide)
 
bool showFailed () const
 
bool showIgnored () const
 
bool showLoaded () const
 
QStringList showModules () const
 
bool showToIgnore () const
 
bool showToLoad () const
 
Qt::DropActions supportedDropActions () const override
 
 ~qSlicerModuleFactoryFilterModel () override
 Destructor. More...
 

Protected Member Functions

bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override
 
bool lessThan (const QModelIndex &leftIndex, const QModelIndex &rightIndex) const override
 

Protected Attributes

QScopedPointer< qSlicerModuleFactoryFilterModelPrivate > d_ptr
 

Detailed Description

Definition at line 32 of file qSlicerModuleFactoryFilterModel.h.

Member Typedef Documentation

◆ Superclass

typedef QSortFilterProxyModel qSlicerModuleFactoryFilterModel::Superclass

Superclass typedef.

Definition at line 54 of file qSlicerModuleFactoryFilterModel.h.

Property Documentation

◆ hideAllWhenShowModulesIsEmpty

bool qSlicerModuleFactoryFilterModel::hideAllWhenShowModulesIsEmpty
readwrite

false by default

Definition at line 51 of file qSlicerModuleFactoryFilterModel.h.

◆ showFailed

bool qSlicerModuleFactoryFilterModel::showFailed
readwrite

True by default.

Definition at line 45 of file qSlicerModuleFactoryFilterModel.h.

◆ showIgnored

bool qSlicerModuleFactoryFilterModel::showIgnored
readwrite

True by default.

Definition at line 43 of file qSlicerModuleFactoryFilterModel.h.

◆ showLoaded

bool qSlicerModuleFactoryFilterModel::showLoaded
readwrite

True by default.

Definition at line 41 of file qSlicerModuleFactoryFilterModel.h.

◆ showModules

QStringList qSlicerModuleFactoryFilterModel::showModules
readwrite

Don't use in conjunction of setFilter*() Empty by default

Definition at line 49 of file qSlicerModuleFactoryFilterModel.h.

◆ showToIgnore

bool qSlicerModuleFactoryFilterModel::showToIgnore
readwrite

True by default.

Definition at line 39 of file qSlicerModuleFactoryFilterModel.h.

◆ showToLoad

bool qSlicerModuleFactoryFilterModel::showToLoad
readwrite

True by default.

Definition at line 37 of file qSlicerModuleFactoryFilterModel.h.

Constructor & Destructor Documentation

◆ qSlicerModuleFactoryFilterModel()

qSlicerModuleFactoryFilterModel::qSlicerModuleFactoryFilterModel ( QObject *  parent = nullptr)
explicit

Constructor.

◆ ~qSlicerModuleFactoryFilterModel()

qSlicerModuleFactoryFilterModel::~qSlicerModuleFactoryFilterModel ( )
override

Destructor.

Member Function Documentation

◆ dropMimeData()

bool qSlicerModuleFactoryFilterModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
)
override

◆ filterAcceptsRow()

bool qSlicerModuleFactoryFilterModel::filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const
overrideprotected

◆ hideAllWhenShowModulesIsEmpty()

bool qSlicerModuleFactoryFilterModel::hideAllWhenShowModulesIsEmpty ( ) const

◆ lessThan()

bool qSlicerModuleFactoryFilterModel::lessThan ( const QModelIndex &  leftIndex,
const QModelIndex &  rightIndex 
) const
overrideprotected

◆ setHideAllWhenShowModulesIsEmpty()

void qSlicerModuleFactoryFilterModel::setHideAllWhenShowModulesIsEmpty ( bool  hide)

◆ setShowFailed

void qSlicerModuleFactoryFilterModel::setShowFailed ( bool  show)
slot

◆ setShowIgnored

void qSlicerModuleFactoryFilterModel::setShowIgnored ( bool  show)
slot

◆ setShowLoaded

void qSlicerModuleFactoryFilterModel::setShowLoaded ( bool  show)
slot

◆ setShowModules

void qSlicerModuleFactoryFilterModel::setShowModules ( const QStringList &  modules)
slot

◆ setShowToIgnore

void qSlicerModuleFactoryFilterModel::setShowToIgnore ( bool  show)
slot

◆ setShowToLoad

void qSlicerModuleFactoryFilterModel::setShowToLoad ( bool  show)
slot

◆ showFailed()

bool qSlicerModuleFactoryFilterModel::showFailed ( ) const

◆ showIgnored()

bool qSlicerModuleFactoryFilterModel::showIgnored ( ) const

◆ showLoaded()

bool qSlicerModuleFactoryFilterModel::showLoaded ( ) const

◆ showModules()

QStringList qSlicerModuleFactoryFilterModel::showModules ( ) const

◆ showModulesChanged

void qSlicerModuleFactoryFilterModel::showModulesChanged ( const QStringList &  ) const
signal

◆ showToIgnore()

bool qSlicerModuleFactoryFilterModel::showToIgnore ( ) const

◆ showToLoad()

bool qSlicerModuleFactoryFilterModel::showToLoad ( ) const

◆ supportedDropActions()

Qt::DropActions qSlicerModuleFactoryFilterModel::supportedDropActions ( ) const
override

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerModuleFactoryFilterModelPrivate> qSlicerModuleFactoryFilterModel::d_ptr
protected

Definition at line 88 of file qSlicerModuleFactoryFilterModel.h.


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