MythImageFileDialog Class Reference

#include <mythdialogs.h>

Inheritance diagram for MythImageFileDialog:

MythThemedDialog MythDialog

List of all members.


Detailed Description

Definition at line 496 of file mythdialogs.h.


Public Types

typedef QValueVector< int > IntVector

Public Slots

void handleTreeListSelection (int, IntVector *)
void handleTreeListEntered (int, IntVector *)
void buildTree (QString starting_where)
void buildFileList (QString directory)

Public Member Functions

 MythImageFileDialog (QString *result, QString top_directory, MythMainWindow *parent, QString window_name, QString theme_filename="", const char *name=0, bool setsize=true)
 Locates an image file dialog in the current theme.

Protected Member Functions

 ~MythImageFileDialog ()
void keyPressEvent (QKeyEvent *e)

Private Attributes

QString * selected_file
UIManagedTreeListTypefile_browser
GenericTreeroot_parent
GenericTreefile_root
GenericTreeinitial_node
UIImageTypeimage_box
QStringList image_files
QString initialDir

Member Typedef Documentation

typedef QValueVector<int> MythImageFileDialog::IntVector

Definition at line 507 of file mythdialogs.h.


Constructor & Destructor Documentation

MythImageFileDialog::MythImageFileDialog ( QString *  result,
QString  top_directory,
MythMainWindow parent,
QString  window_name,
QString  theme_filename = "",
const char *  name = 0,
bool  setsize = true 
)

Locates an image file dialog in the current theme.

MythImageFileDialog's expect there to be certain elements in the theme, or they will fail.

For example, we use the size of the background pixmap to define the geometry of the dialog. If the pixmap ain't there, we need to fail.

Definition at line 1893 of file mythdialogs.cpp.

MythImageFileDialog::~MythImageFileDialog (  )  [protected]

Definition at line 2172 of file mythdialogs.cpp.


Member Function Documentation

void MythImageFileDialog::handleTreeListSelection ( int  type,
IntVector  
) [slot]

Definition at line 2163 of file mythdialogs.cpp.

Referenced by MythImageFileDialog().

void MythImageFileDialog::handleTreeListEntered ( int  type,
IntVector  
) [slot]

Definition at line 2147 of file mythdialogs.cpp.

Referenced by MythImageFileDialog().

void MythImageFileDialog::buildTree ( QString  starting_where  )  [slot]

Definition at line 2024 of file mythdialogs.cpp.

Referenced by MythImageFileDialog().

void MythImageFileDialog::buildFileList ( QString  directory  )  [slot]

Definition at line 2088 of file mythdialogs.cpp.

Referenced by buildTree().

void MythImageFileDialog::keyPressEvent ( QKeyEvent *  e  )  [protected]

Reimplemented from MythDialog.

Definition at line 1990 of file mythdialogs.cpp.


Member Data Documentation

Definition at line 529 of file mythdialogs.h.

Referenced by buildTree(), handleTreeListSelection(), and MythImageFileDialog().

Definition at line 530 of file mythdialogs.h.

Referenced by keyPressEvent(), and MythImageFileDialog().

Definition at line 531 of file mythdialogs.h.

Referenced by buildTree(), MythImageFileDialog(), and ~MythImageFileDialog().

Definition at line 532 of file mythdialogs.h.

Referenced by buildTree().

Definition at line 533 of file mythdialogs.h.

Referenced by buildTree(), and MythImageFileDialog().

Definition at line 534 of file mythdialogs.h.

Referenced by handleTreeListEntered(), and MythImageFileDialog().

QStringList MythImageFileDialog::image_files [private]

Definition at line 536 of file mythdialogs.h.

Referenced by buildTree(), and MythImageFileDialog().


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

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