• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

Digikam::RExpanderBox

Digikam::RExpanderBox Class Reference

#include <rexpanderbox.h>

Inheritance diagram for Digikam::RExpanderBox:
Inheritance graph
[legend]

List of all members.

Signals

void signalItemExpanded (int index, bool b)

Public Member Functions

 RExpanderBox (QWidget *parent=0)
 ~RExpanderBox ()
void addItem (QWidget *w, const QString &txt, const QString &objName, bool expandBydefault)
void addItem (QWidget *w, const QPixmap &pix, const QString &txt, const QString &objName, bool expandBydefault)
void addStretch ()
int count () const
int indexOf (RLabelExpander *widget) const
void insertItem (int index, QWidget *w, const QString &txt, const QString &objName, bool expandBydefault)
void insertItem (int index, QWidget *w, const QPixmap &pix, const QString &txt, const QString &objName, bool expandBydefault)
void insertStretch (int index)
bool isItemEnabled (int index) const
bool isItemExpanded (int index) const
const QPixmap * itemIcon (int index) const
QString itemText (int index) const
QString itemToolTip (int index) const
void readSettings ()
void removeItem (int index)
void setItemEnabled (int index, bool enabled)
void setItemExpanded (int index, bool b)
void setItemIcon (int index, const QPixmap &pix)
void setItemText (int index, const QString &txt)
void setItemToolTip (int index, const QString &tip)
RLabelExpander * widget (int index) const
void writeSettings ()

Detailed Description

Definition at line 177 of file rexpanderbox.h.


Constructor & Destructor Documentation

Digikam::RExpanderBox::RExpanderBox ( QWidget *  parent = 0  ) 

Definition at line 464 of file rexpanderbox.cpp.

Digikam::RExpanderBox::~RExpanderBox (  ) 

Definition at line 480 of file rexpanderbox.cpp.


Member Function Documentation

void Digikam::RExpanderBox::addItem ( QWidget *  w,
const QString &  txt,
const QString &  objName,
bool  expandBydefault 
)

Definition at line 493 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::addItem ( QWidget *  w,
const QPixmap &  pix,
const QString &  txt,
const QString &  objName,
bool  expandBydefault 
)

Add RLabelExpander item at end of box layout with these settings : 'w' : the widget hosted by RLabelExpander.

'pix' : pixmap used as icon to item title. 'txt' : text used as item title. 'objName' : item object name used to read/save expanded settings to rc file. 'expandBydefault' : item state by default (expanded or not).

Definition at line 487 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::addStretch (  ) 

Definition at line 499 of file rexpanderbox.cpp.

int Digikam::RExpanderBox::count (  )  const

Definition at line 562 of file rexpanderbox.cpp.

int Digikam::RExpanderBox::indexOf ( RLabelExpander *  widget  )  const

Definition at line 598 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::insertItem ( int  index,
QWidget *  w,
const QString &  txt,
const QString &  objName,
bool  expandBydefault 
)

Definition at line 520 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::insertItem ( int  index,
QWidget *  w,
const QPixmap &  pix,
const QString &  txt,
const QString &  objName,
bool  expandBydefault 
)

Insert RLabelExpander item at box layout index with these settings : 'w' : the widget hosted by RLabelExpander.

'pix' : pixmap used as icon to item title. 'txt' : text used as item title. 'objName' : item object name used to read/save expanded settings to rc file. 'expandBydefault' : item state by default (expanded or not).

Definition at line 504 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::insertStretch ( int  index  ) 

Definition at line 526 of file rexpanderbox.cpp.

bool Digikam::RExpanderBox::isItemEnabled ( int  index  )  const

Definition at line 585 of file rexpanderbox.cpp.

bool Digikam::RExpanderBox::isItemExpanded ( int  index  )  const

Definition at line 619 of file rexpanderbox.cpp.

const QPixmap * Digikam::RExpanderBox::itemIcon ( int  index  )  const

Definition at line 556 of file rexpanderbox.cpp.

QString Digikam::RExpanderBox::itemText ( int  index  )  const

Definition at line 544 of file rexpanderbox.cpp.

QString Digikam::RExpanderBox::itemToolTip ( int  index  )  const

Definition at line 573 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::readSettings (  ) 

Definition at line 629 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::removeItem ( int  index  ) 

Definition at line 531 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::setItemEnabled ( int  index,
bool  enabled 
)

Definition at line 579 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::setItemExpanded ( int  index,
bool  b 
)

Definition at line 609 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::setItemIcon ( int  index,
const QPixmap &  pix 
)

Definition at line 550 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::setItemText ( int  index,
const QString &  txt 
)

Definition at line 538 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::setItemToolTip ( int  index,
const QString &  tip 
)

Definition at line 567 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::signalItemExpanded ( int  index,
bool  b 
) [signal]
RLabelExpander * Digikam::RExpanderBox::widget ( int  index  )  const

Definition at line 591 of file rexpanderbox.cpp.

void Digikam::RExpanderBox::writeSettings (  ) 

Definition at line 645 of file rexpanderbox.cpp.


The documentation for this class was generated from the following files:
  • rexpanderbox.h
  • rexpanderbox.cpp

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal