CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Types | Public Member Functions | Protected Attributes | Properties | List of all members
ctkPathListButtonsWidget Class Reference

A widget with add, remove and edit buttons to be used together with ctkPathListWidget. More...

#include <Libs/Widgets/ctkPathListButtonsWidget.h>

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

Public Types

typedef QWidget Superclass
 Superclass typedef. More...
 

Public Member Functions

QToolButton * buttonAddDirectory () const
 
QToolButton * buttonAddFiles () const
 
QToolButton * buttonEdit () const
 
QToolButton * buttonRemove () const
 
int buttonSpacing () const
 
 ctkPathListButtonsWidget (QWidget *parent=0)
 
QIcon iconAddDirectoryButton () const
 
QIcon iconAddFilesButton () const
 
QIcon iconEditButton () const
 
QIcon iconRemoveButton () const
 
void init (ctkPathListWidget *pathListWidget)
 Initialize this widget with a ctkPathListWidget. More...
 
bool isAddDirectoryButtonVisible () const
 
bool isAddFilesButtonVisible () const
 
bool isButtonsAutoRaise () const
 
bool isEditButtonVisible () const
 
bool isRemoveButtonVisible () const
 
Qt::Orientation orientation () const
 
void setAddDirectoryButtonVisible (bool visible)
 
void setAddFilesButtonVisible (bool visible)
 
void setButtonsAutoRaise (bool autoRaise)
 
void setButtonSpacing (int spacing)
 
void setEditButtonVisible (bool visible)
 
void setIconAddDirectoryButton (const QIcon &icon)
 
void setIconAddFilesButton (const QIcon &icon)
 
void setIconEditButton (const QIcon &icon)
 
void setIconRemoveButton (const QIcon &icon)
 
void setOrientation (Qt::Orientation orientation)
 
void setRemoveButtonVisible (bool visible)
 
void setTextAddDirectoryButton (const QString &text)
 
void setTextAddFilesButton (const QString &text)
 
void setTextEditButton (const QString &text)
 
void setTextRemoveButton (const QString &text)
 
void setToolTipAddDirectoryButton (const QString &toolTip)
 
void setToolTipAddFilesButton (const QString &toolTip)
 
void setToolTipEditButton (const QString &toolTip)
 
void setToolTipRemoveButton (const QString &toolTip)
 
QString textAddDirectoryButton () const
 
QString textAddFilesButton () const
 
QString textEditButton () const
 
QString textRemoveButton () const
 
QString toolTipAddDirectoryButton () const
 
QString toolTipAddFilesButton () const
 
QString toolTipEditButton () const
 
QString toolTipRemoveButton () const
 
void unsetIconAddDirectoryButton ()
 
void unsetIconAddFilesButton ()
 
void unsetIconEditButton ()
 
void unsetIconRemoveButton ()
 
virtual ~ctkPathListButtonsWidget ()
 

Protected Attributes

QScopedPointer< ctkPathListButtonsWidgetPrivate > d_ptr
 

Properties

bool buttonsAutoRaise
 
int buttonSpacing
 
QIcon iconAddDirectoryButton
 
QIcon iconAddFilesButton
 
QIcon iconEditButton
 
QIcon iconRemoveButton
 
Qt::Orientation orientation
 
bool showAddDirectoryButton
 
bool showAddFilesButton
 
bool showEditButton
 
bool showRemoveButton
 
QString textAddDirectoryButton
 
QString textAddFilesButton
 
QString textEditButton
 
QString textRemoveButton
 
QString toolTipAddDirectoryButton
 
QString toolTipAddFilesButton
 
QString toolTipEditButton
 
QString toolTipRemoveButton
 

Detailed Description

A widget with add, remove and edit buttons to be used together with ctkPathListWidget.

This widget should be initialized with a ctkPathListWidget instance in order to work properly.

See also
init(ctkPathListWidget*)
Author
m.cla.nosp@m.rkso.nosp@m.n@ucl.nosp@m..ac..nosp@m.uk
s.zel.nosp@m.zer@.nosp@m.dkfz-.nosp@m.heid.nosp@m.elber.nosp@m.g.de

Definition at line 48 of file ctkPathListButtonsWidget.h.

Member Typedef Documentation

Superclass typedef.

Definition at line 80 of file ctkPathListButtonsWidget.h.

Constructor & Destructor Documentation

ctkPathListButtonsWidget::ctkPathListButtonsWidget ( QWidget *  parent = 0)
virtual ctkPathListButtonsWidget::~ctkPathListButtonsWidget ( )
virtual

Member Function Documentation

QToolButton* ctkPathListButtonsWidget::buttonAddDirectory ( ) const
QToolButton* ctkPathListButtonsWidget::buttonAddFiles ( ) const
QToolButton* ctkPathListButtonsWidget::buttonEdit ( ) const
QToolButton* ctkPathListButtonsWidget::buttonRemove ( ) const
int ctkPathListButtonsWidget::buttonSpacing ( ) const
QIcon ctkPathListButtonsWidget::iconAddDirectoryButton ( ) const
QIcon ctkPathListButtonsWidget::iconAddFilesButton ( ) const
QIcon ctkPathListButtonsWidget::iconEditButton ( ) const
QIcon ctkPathListButtonsWidget::iconRemoveButton ( ) const
void ctkPathListButtonsWidget::init ( ctkPathListWidget pathListWidget)

Initialize this widget with a ctkPathListWidget.

bool ctkPathListButtonsWidget::isAddDirectoryButtonVisible ( ) const
bool ctkPathListButtonsWidget::isAddFilesButtonVisible ( ) const
bool ctkPathListButtonsWidget::isButtonsAutoRaise ( ) const
bool ctkPathListButtonsWidget::isEditButtonVisible ( ) const
bool ctkPathListButtonsWidget::isRemoveButtonVisible ( ) const
Qt::Orientation ctkPathListButtonsWidget::orientation ( ) const
void ctkPathListButtonsWidget::setAddDirectoryButtonVisible ( bool  visible)
void ctkPathListButtonsWidget::setAddFilesButtonVisible ( bool  visible)
void ctkPathListButtonsWidget::setButtonsAutoRaise ( bool  autoRaise)
void ctkPathListButtonsWidget::setButtonSpacing ( int  spacing)
void ctkPathListButtonsWidget::setEditButtonVisible ( bool  visible)
void ctkPathListButtonsWidget::setIconAddDirectoryButton ( const QIcon &  icon)
void ctkPathListButtonsWidget::setIconAddFilesButton ( const QIcon &  icon)
void ctkPathListButtonsWidget::setIconEditButton ( const QIcon &  icon)
void ctkPathListButtonsWidget::setIconRemoveButton ( const QIcon &  icon)
void ctkPathListButtonsWidget::setOrientation ( Qt::Orientation  orientation)
void ctkPathListButtonsWidget::setRemoveButtonVisible ( bool  visible)
void ctkPathListButtonsWidget::setTextAddDirectoryButton ( const QString &  text)
void ctkPathListButtonsWidget::setTextAddFilesButton ( const QString &  text)
void ctkPathListButtonsWidget::setTextEditButton ( const QString &  text)
void ctkPathListButtonsWidget::setTextRemoveButton ( const QString &  text)
void ctkPathListButtonsWidget::setToolTipAddDirectoryButton ( const QString &  toolTip)
void ctkPathListButtonsWidget::setToolTipAddFilesButton ( const QString &  toolTip)
void ctkPathListButtonsWidget::setToolTipEditButton ( const QString &  toolTip)
void ctkPathListButtonsWidget::setToolTipRemoveButton ( const QString &  toolTip)
QString ctkPathListButtonsWidget::textAddDirectoryButton ( ) const
QString ctkPathListButtonsWidget::textAddFilesButton ( ) const
QString ctkPathListButtonsWidget::textEditButton ( ) const
QString ctkPathListButtonsWidget::textRemoveButton ( ) const
QString ctkPathListButtonsWidget::toolTipAddDirectoryButton ( ) const
QString ctkPathListButtonsWidget::toolTipAddFilesButton ( ) const
QString ctkPathListButtonsWidget::toolTipEditButton ( ) const
QString ctkPathListButtonsWidget::toolTipRemoveButton ( ) const
void ctkPathListButtonsWidget::unsetIconAddDirectoryButton ( )
void ctkPathListButtonsWidget::unsetIconAddFilesButton ( )
void ctkPathListButtonsWidget::unsetIconEditButton ( )
void ctkPathListButtonsWidget::unsetIconRemoveButton ( )

Member Data Documentation

QScopedPointer<ctkPathListButtonsWidgetPrivate> ctkPathListButtonsWidget::d_ptr
protected

Definition at line 150 of file ctkPathListButtonsWidget.h.

Property Documentation

bool ctkPathListButtonsWidget::buttonsAutoRaise
readwrite

Definition at line 72 of file ctkPathListButtonsWidget.h.

int ctkPathListButtonsWidget::buttonSpacing
readwrite

Definition at line 73 of file ctkPathListButtonsWidget.h.

QIcon ctkPathListButtonsWidget::iconAddDirectoryButton
readwrite

Definition at line 68 of file ctkPathListButtonsWidget.h.

QIcon ctkPathListButtonsWidget::iconAddFilesButton
readwrite

Definition at line 67 of file ctkPathListButtonsWidget.h.

QIcon ctkPathListButtonsWidget::iconEditButton
readwrite

Definition at line 70 of file ctkPathListButtonsWidget.h.

QIcon ctkPathListButtonsWidget::iconRemoveButton
readwrite

Definition at line 69 of file ctkPathListButtonsWidget.h.

Qt::Orientation ctkPathListButtonsWidget::orientation
readwrite

Definition at line 75 of file ctkPathListButtonsWidget.h.

bool ctkPathListButtonsWidget::showAddDirectoryButton
readwrite

Definition at line 53 of file ctkPathListButtonsWidget.h.

bool ctkPathListButtonsWidget::showAddFilesButton
readwrite

Definition at line 52 of file ctkPathListButtonsWidget.h.

bool ctkPathListButtonsWidget::showEditButton
readwrite

Definition at line 55 of file ctkPathListButtonsWidget.h.

bool ctkPathListButtonsWidget::showRemoveButton
readwrite

Definition at line 54 of file ctkPathListButtonsWidget.h.

QString ctkPathListButtonsWidget::textAddDirectoryButton
readwrite

Definition at line 58 of file ctkPathListButtonsWidget.h.

QString ctkPathListButtonsWidget::textAddFilesButton
readwrite

Definition at line 57 of file ctkPathListButtonsWidget.h.

QString ctkPathListButtonsWidget::textEditButton
readwrite

Definition at line 60 of file ctkPathListButtonsWidget.h.

QString ctkPathListButtonsWidget::textRemoveButton
readwrite

Definition at line 59 of file ctkPathListButtonsWidget.h.

QString ctkPathListButtonsWidget::toolTipAddDirectoryButton
readwrite

Definition at line 63 of file ctkPathListButtonsWidget.h.

QString ctkPathListButtonsWidget::toolTipAddFilesButton
readwrite

Definition at line 62 of file ctkPathListButtonsWidget.h.

QString ctkPathListButtonsWidget::toolTipEditButton
readwrite

Definition at line 65 of file ctkPathListButtonsWidget.h.

QString ctkPathListButtonsWidget::toolTipRemoveButton
readwrite

Definition at line 64 of file ctkPathListButtonsWidget.h.


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