ui::SoundChooser Class Reference

#include <SoundChooser.h>

Collaboration diagram for ui::SoundChooser:
Collaboration graph
[legend]

Public Member Functions

 SoundChooser ()
std::string chooseSound ()

Private Member Functions

GtkWidgetcreateTreeView ()
GtkWidgetcreateButtons ()

Static Private Member Functions

static gboolean _onDelete (GtkWidget *w, GdkEvent *e, SoundChooser *self)
static void _onOK (GtkWidget *, SoundChooser *)
static void _onCancel (GtkWidget *, SoundChooser *)
static void _onSelectionChange (GtkTreeSelection *, SoundChooser *)

Private Attributes

GtkWidget_widget
GtkTreeStore * _treeStore
GtkTreeSelection_treeSelection
SoundPreview _preview
std::string _selectedSound

Detailed Description

Dialog for listing and selection of sound shaders.

Definition at line 14 of file SoundChooser.h.


Constructor & Destructor Documentation

ui::SoundChooser::SoundChooser (  ) 

Constructor creates widgets.

The parent window.


Member Function Documentation

static void ui::SoundChooser::_onCancel ( GtkWidget ,
SoundChooser  
) [static, private]
static gboolean ui::SoundChooser::_onDelete ( GtkWidget w,
GdkEvent *  e,
SoundChooser self 
) [static, private]
static void ui::SoundChooser::_onOK ( GtkWidget ,
SoundChooser  
) [static, private]
static void ui::SoundChooser::_onSelectionChange ( GtkTreeSelection ,
SoundChooser  
) [static, private]
std::string ui::SoundChooser::chooseSound (  ) 

Display the dialog and return the selection.

Referenced by SoundAttribute::browse().

GtkWidget* ui::SoundChooser::createButtons (  )  [private]
GtkWidget* ui::SoundChooser::createTreeView (  )  [private]

Field Documentation

Definition at line 18 of file SoundChooser.h.

Definition at line 21 of file SoundChooser.h.

Definition at line 15 of file SoundChooser.h.

GtkTreeStore* ui::SoundChooser::_treeStore [private]

Definition at line 14 of file SoundChooser.h.

Definition at line 11 of file SoundChooser.h.


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

Generated by  doxygen 1.6.2