Slicer  5.3
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 showBuiltIn
 True by default. More...
 
bool showFailed
 True by default. More...
 
bool showHidden
 True by default. More...
 
bool showIgnored
 True by default. More...
 
bool showLoaded
 True by default. More...
 
QStringList showModules
 
bool showTesting
 True by default. More...
 
bool showToIgnore
 True by default. More...
 
bool showToLoad
 True by default. More...
 

Public Slots

void setShowBuiltIn (bool show)
 
void setShowFailed (bool show)
 
void setShowHidden (bool show)
 
void setShowIgnored (bool show)
 
void setShowLoaded (bool show)
 
void setShowModules (const QStringList &modules)
 
void setShowTesting (bool show)
 
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 showBuiltIn () const
 
bool showFailed () const
 
bool showHidden () const
 
bool showIgnored () const
 
bool showLoaded () const
 
QStringList showModules () const
 
bool showTesting () 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 60 of file qSlicerModuleFactoryFilterModel.h.

Property Documentation

◆ hideAllWhenShowModulesIsEmpty

bool qSlicerModuleFactoryFilterModel::hideAllWhenShowModulesIsEmpty
readwrite

false by default

Definition at line 57 of file qSlicerModuleFactoryFilterModel.h.

◆ showBuiltIn

bool qSlicerModuleFactoryFilterModel::showBuiltIn
readwrite

True by default.

Definition at line 47 of file qSlicerModuleFactoryFilterModel.h.

◆ showFailed

bool qSlicerModuleFactoryFilterModel::showFailed
readwrite

True by default.

Definition at line 45 of file qSlicerModuleFactoryFilterModel.h.

◆ showHidden

bool qSlicerModuleFactoryFilterModel::showHidden
readwrite

True by default.

Definition at line 51 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 55 of file qSlicerModuleFactoryFilterModel.h.

◆ showTesting

bool qSlicerModuleFactoryFilterModel::showTesting
readwrite

True 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)

◆ setShowBuiltIn

void qSlicerModuleFactoryFilterModel::setShowBuiltIn ( bool  show)
slot

◆ setShowFailed

void qSlicerModuleFactoryFilterModel::setShowFailed ( bool  show)
slot

◆ setShowHidden

void qSlicerModuleFactoryFilterModel::setShowHidden ( 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

◆ setShowTesting

void qSlicerModuleFactoryFilterModel::setShowTesting ( bool  show)
slot

◆ setShowToIgnore

void qSlicerModuleFactoryFilterModel::setShowToIgnore ( bool  show)
slot

◆ setShowToLoad

void qSlicerModuleFactoryFilterModel::setShowToLoad ( bool  show)
slot

◆ showBuiltIn()

bool qSlicerModuleFactoryFilterModel::showBuiltIn ( ) const

◆ showFailed()

bool qSlicerModuleFactoryFilterModel::showFailed ( ) const

◆ showHidden()

bool qSlicerModuleFactoryFilterModel::showHidden ( ) const

◆ showIgnored()

bool qSlicerModuleFactoryFilterModel::showIgnored ( ) const

◆ showLoaded()

bool qSlicerModuleFactoryFilterModel::showLoaded ( ) const

◆ showModules()

QStringList qSlicerModuleFactoryFilterModel::showModules ( ) const

◆ showModulesChanged

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

◆ showTesting()

bool qSlicerModuleFactoryFilterModel::showTesting ( ) const

◆ 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 100 of file qSlicerModuleFactoryFilterModel.h.


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