map::MapFileChooserPreview Class Reference

#include <MapFileChooserPreview.h>

Inheritance diagram for map::MapFileChooserPreview:
Inheritance graph
[legend]
Collaboration diagram for map::MapFileChooserPreview:
Collaboration graph
[legend]

Public Member Functions

 MapFileChooserPreview ()
virtual ~MapFileChooserPreview ()
GtkWidgetgetPreviewWidget ()
void onFileSelectionChanged (const std::string &newFileName, gtkutil::FileChooser &fileChooser)

Private Member Functions

bool setMapName (const std::string &name)

Private Attributes

Resource_mapResource
std::string _mapName
GtkWidget_previewContainer
GtkWidget_usageInfo
ui::MapPreview _preview

Detailed Description

Definition at line 7 of file MapFileChooserPreview.h.


Constructor & Destructor Documentation

map::MapFileChooserPreview::MapFileChooserPreview (  ) 
virtual map::MapFileChooserPreview::~MapFileChooserPreview (  )  [virtual]

Member Function Documentation

GtkWidget* map::MapFileChooserPreview::getPreviewWidget (  )  [virtual]
void map::MapFileChooserPreview::onFileSelectionChanged ( const std::string newFileName,
gtkutil::FileChooser fileChooser 
) [virtual]

Gets called whenever the user changes the file selection. Note: this method must call the setPreviewActive() method on the FileChooser class to indicate whether the widget is active or not.

Implements gtkutil::FileChooser::Preview.

bool map::MapFileChooserPreview::setMapName ( const std::string name  )  [private]

Field Documentation

Definition at line 10 of file MapFileChooserPreview.h.

Definition at line 7 of file MapFileChooserPreview.h.

Definition at line 18 of file MapFileChooserPreview.h.

Definition at line 12 of file MapFileChooserPreview.h.

Definition at line 15 of file MapFileChooserPreview.h.


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

Generated by  doxygen 1.6.2