FileSelector Class Reference

#include <fileselector.h>

Inheritance diagram for FileSelector:

MythThemedDialog MythDialog

List of all members.


Detailed Description

Definition at line 29 of file fileselector.h.


Public Member Functions

 FileSelector (FSTYPE type, const QString &startDir, const QString &filemask, MythMainWindow *parent, const QString &window_name, const QString &theme_filename, const char *name=0)
 ~FileSelector ()
QString getSelected (void)

Private Slots

void keyPressEvent (QKeyEvent *e)
void OKPressed ()
void cancelPressed ()
void backPressed ()
void homePressed ()
void locationEditLostFocus ()

Private Member Functions

void updateFileList ()
void updateSelectedList ()
void updateWidgets (void)
void wireUpTheme (void)
void updateScrollArrows (void)

Private Attributes

FSTYPE m_selectorType
QString m_filemask
QString m_curDirectory
QPtrList< FileDatam_fileData
QStringList m_selectedList
UIListBtnTypem_fileList
UIRemoteEditTypem_locationEdit
UITextButtonTypem_okButton
UITextButtonTypem_cancelButton
UITextButtonTypem_backButton
UITextButtonTypem_homeButton
QPixmap * m_directoryPixmap

Constructor & Destructor Documentation

FileSelector::FileSelector ( FSTYPE  type,
const QString &  startDir,
const QString &  filemask,
MythMainWindow parent,
const QString &  window_name,
const QString &  theme_filename,
const char *  name = 0 
)

Definition at line 19 of file fileselector.cpp.

FileSelector::~FileSelector (  ) 

Definition at line 31 of file fileselector.cpp.


Member Function Documentation

QString FileSelector::getSelected ( void   ) 

Definition at line 35 of file fileselector.cpp.

void FileSelector::keyPressEvent ( QKeyEvent *  e  )  [private, slot]

Reimplemented from MythDialog.

Definition at line 40 of file fileselector.cpp.

void FileSelector::OKPressed (  )  [private, slot]

Definition at line 247 of file fileselector.cpp.

Referenced by wireUpTheme().

void FileSelector::cancelPressed (  )  [private, slot]

Definition at line 329 of file fileselector.cpp.

Referenced by wireUpTheme().

void FileSelector::backPressed (  )  [private, slot]

Definition at line 227 of file fileselector.cpp.

Referenced by wireUpTheme().

void FileSelector::homePressed (  )  [private, slot]

Definition at line 239 of file fileselector.cpp.

Referenced by wireUpTheme().

void FileSelector::locationEditLostFocus (  )  [private, slot]

Definition at line 221 of file fileselector.cpp.

Referenced by wireUpTheme().

void FileSelector::updateFileList (  )  [private]

void FileSelector::updateSelectedList (  )  [private]

Definition at line 334 of file fileselector.cpp.

Referenced by wireUpTheme().

void FileSelector::updateWidgets ( void   )  [private]

void FileSelector::wireUpTheme ( void   )  [private]

Definition at line 161 of file fileselector.cpp.

Referenced by FileSelector().

void FileSelector::updateScrollArrows ( void   )  [private]


Member Data Documentation

Definition at line 59 of file fileselector.h.

Referenced by FileSelector(), keyPressEvent(), OKPressed(), and updateFileList().

QString FileSelector::m_filemask [private]

Definition at line 60 of file fileselector.h.

Referenced by FileSelector(), and updateFileList().

QString FileSelector::m_curDirectory [private]

QPtrList<FileData> FileSelector::m_fileData [private]

Definition at line 62 of file fileselector.h.

Referenced by updateFileList().

QStringList FileSelector::m_selectedList [private]

Definition at line 63 of file fileselector.h.

Referenced by keyPressEvent(), OKPressed(), updateFileList(), and updateSelectedList().

Definition at line 68 of file fileselector.h.

Referenced by keyPressEvent(), OKPressed(), updateFileList(), and wireUpTheme().

Definition at line 69 of file fileselector.h.

Referenced by locationEditLostFocus(), updateFileList(), and wireUpTheme().

Definition at line 70 of file fileselector.h.

Referenced by wireUpTheme().

Definition at line 71 of file fileselector.h.

Referenced by wireUpTheme().

Definition at line 72 of file fileselector.h.

Referenced by wireUpTheme().

Definition at line 73 of file fileselector.h.

Referenced by wireUpTheme().

QPixmap* FileSelector::m_directoryPixmap [private]

Definition at line 75 of file fileselector.h.

Referenced by updateFileList(), and wireUpTheme().


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

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