Slicer  4.10
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

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

Protected Member Functions

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

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 = 0)
explicit

Constructor.

◆ ~qSlicerModuleFactoryFilterModel()

virtual qSlicerModuleFactoryFilterModel::~qSlicerModuleFactoryFilterModel ( )
virtual

Destructor.

Member Function Documentation

◆ dropMimeData()

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

◆ filterAcceptsRow()

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

◆ hideAllWhenShowModulesIsEmpty()

bool qSlicerModuleFactoryFilterModel::hideAllWhenShowModulesIsEmpty ( ) const

◆ lessThan()

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

◆ 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()

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

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: