ImageSelectSetting Class Reference

#include <settings.h>

Inheritance diagram for ImageSelectSetting:

SelectSetting Setting Configurable GlobalImageSelect HostImageSelect ThemeSelector

List of all members.


Detailed Description

Definition at line 406 of file settings.h.


Public Member Functions

 ImageSelectSetting (Storage *_storage)
virtual QWidget * configWidget (ConfigurationGroup *cg, QWidget *parent, const char *widgetName=0)
 Create and return a QWidget for configuring this entity Note: Any class calling this should call widgetInvalid() before configWidget() is called on the class again, and before the class is deleted; just before removing the instance from a layout or scheduling the delete of a parent container is a good time.
virtual void widgetInvalid (QObject *obj)
 Tell any Configurable keeping a pointer to a widget, that the pointer returned by an earlier configWidget call is invalid.
virtual void deleteLater (void)
virtual void setHelpText (const QString &str)
virtual void addImageSelection (const QString &label, QImage *image, QString value=QString::null, bool select=false)

Protected Slots

void imageSet (int)

Protected Member Functions

void Teardown (void)
virtual ~ImageSelectSetting ()

Protected Attributes

vector< QImage * > images
QWidget * bxwidget
QLabel * imagelabel
MythComboBoxcombo
float m_hmult
float m_wmult

Constructor & Destructor Documentation

ImageSelectSetting::ImageSelectSetting ( Storage _storage  )  [inline]

Definition at line 409 of file settings.h.

ImageSelectSetting::~ImageSelectSetting (  )  [protected, virtual]

Definition at line 978 of file settings.cpp.


Member Function Documentation

QWidget * ImageSelectSetting::configWidget ( ConfigurationGroup cg,
QWidget *  parent,
const char *  widgetName = 0 
) [virtual]

Create and return a QWidget for configuring this entity Note: Any class calling this should call widgetInvalid() before configWidget() is called on the class again, and before the class is deleted; just before removing the instance from a layout or scheduling the delete of a parent container is a good time.

Some UI classes depend on this for properly updating the UI.

Reimplemented from Configurable.

Definition at line 1018 of file settings.cpp.

void ImageSelectSetting::widgetInvalid ( QObject *   )  [virtual]

Tell any Configurable keeping a pointer to a widget, that the pointer returned by an earlier configWidget call is invalid.

Note: It is possible that this may be called after configWidget() has been called another time so you must check the pointer param.

Reimplemented from Configurable.

Definition at line 1098 of file settings.cpp.

void ImageSelectSetting::deleteLater ( void   )  [virtual]

Definition at line 983 of file settings.cpp.

void ImageSelectSetting::setHelpText ( const QString &  str  )  [virtual]

Reimplemented from Configurable.

Definition at line 1108 of file settings.cpp.

Referenced by StyleSetting::StyleSetting().

void ImageSelectSetting::addImageSelection ( const QString &  label,
QImage *  image,
QString  value = QString::null,
bool  select = false 
) [virtual]

Definition at line 970 of file settings.cpp.

Referenced by ThemeSelector::ThemeSelector().

void ImageSelectSetting::imageSet ( int  num  )  [protected, slot]

Definition at line 1002 of file settings.cpp.

Referenced by configWidget().

void ImageSelectSetting::Teardown ( void   )  [protected]

Definition at line 989 of file settings.cpp.

Referenced by deleteLater(), and ~ImageSelectSetting().


Member Data Documentation

vector<QImage*> ImageSelectSetting::images [protected]

Definition at line 432 of file settings.h.

Referenced by addImageSelection(), configWidget(), imageSet(), and Teardown().

QWidget* ImageSelectSetting::bxwidget [protected]

Definition at line 433 of file settings.h.

Referenced by configWidget(), Teardown(), and widgetInvalid().

QLabel* ImageSelectSetting::imagelabel [protected]

Definition at line 434 of file settings.h.

Referenced by configWidget(), imageSet(), Teardown(), and widgetInvalid().

Definition at line 435 of file settings.h.

Referenced by configWidget(), setHelpText(), Teardown(), and widgetInvalid().

float ImageSelectSetting::m_hmult [protected]

Definition at line 436 of file settings.h.

Referenced by configWidget(), and imageSet().

float ImageSelectSetting::m_wmult [protected]

Definition at line 436 of file settings.h.

Referenced by configWidget().


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

Generated on Sat Dec 18 05:16:04 2010 for MythTV by  doxygen 1.5.5