#include <MapFileChooserPreview.h>
Public Member Functions | |
MapFileChooserPreview () | |
virtual | ~MapFileChooserPreview () |
GtkWidget * | getPreviewWidget () |
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 |
Definition at line 7 of file MapFileChooserPreview.h.
map::MapFileChooserPreview::MapFileChooserPreview | ( | ) |
virtual map::MapFileChooserPreview::~MapFileChooserPreview | ( | ) | [virtual] |
GtkWidget* map::MapFileChooserPreview::getPreviewWidget | ( | ) | [virtual] |
Implements gtkutil::FileChooser::Preview.
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] |
Definition at line 10 of file MapFileChooserPreview.h.
Resource* map::MapFileChooserPreview::_mapResource [private] |
Definition at line 7 of file MapFileChooserPreview.h.
Definition at line 18 of file MapFileChooserPreview.h.
Definition at line 12 of file MapFileChooserPreview.h.
GtkWidget* map::MapFileChooserPreview::_usageInfo [private] |
Definition at line 15 of file MapFileChooserPreview.h.