hoa_editor::MusicDialog Class Reference

#include <editor.h>

Inheritance diagram for hoa_editor::MusicDialog:

Inheritance graph
[legend]
Collaboration diagram for hoa_editor::MusicDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

QString GetSelectedFile ()
 MusicDialog (QWidget *parent, const QString &name, const QString &selected_music)
 ~MusicDialog ()

Private Member Functions

void _PopulateMusicList (const QString &selected_str)

Private Attributes

QPushButton * _cancel_pbut
 A pushbutton for canceling the new map dialog.
Q3GridLayout * _dia_layout
 A layout to manage all the labels, spinboxes, and listviews.
Q3ListView * _music_list
 List with all music files.
QPushButton * _ok_pbut
 A pushbutton for okaying the new map dialog.
QLabel * _select_label
 Label telling you to select some music.

Detailed Description

Definition at line 224 of file editor.h.


Constructor & Destructor Documentation

MusicDialog::MusicDialog ( QWidget *  parent,
const QString &  name,
const QString &  selected_music 
)

Definition at line 621 of file editor.cpp.

References _cancel_pbut, _dia_layout, _music_list, _ok_pbut, _PopulateMusicList(), and _select_label.

Here is the call graph for this function:

MusicDialog::~MusicDialog (  ) 

Definition at line 646 of file editor.cpp.

References _cancel_pbut, _dia_layout, _music_list, _ok_pbut, and _select_label.


Member Function Documentation

void MusicDialog::_PopulateMusicList ( const QString &  selected_str  )  [private]

Puts music files in the QListView and selects the specified file.

Parameters:
selected_str - this file will be selected

Definition at line 655 of file editor.cpp.

References _music_list.

Referenced by MusicDialog().

QString MusicDialog::GetSelectedFile (  ) 

Definition at line 678 of file editor.cpp.

References _music_list.

Referenced by hoa_editor::Editor::_MapSelectMusic().


Member Data Documentation

QPushButton* hoa_editor::MusicDialog::_cancel_pbut [private]

A pushbutton for canceling the new map dialog.

Definition at line 233 of file editor.h.

Referenced by MusicDialog(), and ~MusicDialog().

Q3GridLayout* hoa_editor::MusicDialog::_dia_layout [private]

A layout to manage all the labels, spinboxes, and listviews.

Definition at line 239 of file editor.h.

Referenced by MusicDialog(), and ~MusicDialog().

Q3ListView* hoa_editor::MusicDialog::_music_list [private]

List with all music files.

Definition at line 241 of file editor.h.

Referenced by _PopulateMusicList(), GetSelectedFile(), MusicDialog(), and ~MusicDialog().

QPushButton* hoa_editor::MusicDialog::_ok_pbut [private]

A pushbutton for okaying the new map dialog.

Definition at line 235 of file editor.h.

Referenced by MusicDialog(), and ~MusicDialog().

QLabel* hoa_editor::MusicDialog::_select_label [private]

Label telling you to select some music.

Definition at line 237 of file editor.h.

Referenced by MusicDialog(), and ~MusicDialog().


The documentation for this class was generated from the following files:
Generated on Fri Jul 6 23:13:54 2007 for Hero of Allacrost by  doxygen 1.5.1