Image navigation for single tab editor, synchronization of editor with file browser and improvements to various other shortcuts (see issue 47, comment 52). Thanks Hombre & DrSlony for help!

This commit is contained in:
michael
2013-04-06 18:38:23 -04:00
parent fae7971dcc
commit 1e4e8e97ab
22 changed files with 2571 additions and 108 deletions

View File

@@ -74,6 +74,9 @@ class FileCatalog : public Gtk::VBox,
int selectedDirectoryId;
bool enabled;
bool inTabMode; // Tab mode has e.g. different progress bar handling
Glib::ustring imageToSelect_fname;
Glib::ustring refImageForOpen_fname; // Next/previous for Editor's perspective
eRTNav actionNextPrevious;
FileSelectionListener* listener;
FileSelectionChangeListener* fslistener;
@@ -223,6 +226,7 @@ class FileCatalog : public Gtk::VBox,
void zoomOut ();
void buttonBrowsePathPressed ();
bool BrowsePath_key_pressed (GdkEventKey *event);
void buttonQueryClearPressed ();
void executeQuery ();
bool Query_key_pressed(GdkEventKey *event);
@@ -234,7 +238,9 @@ class FileCatalog : public Gtk::VBox,
void tbRightPanel_1_visible (bool visible);
void openNextImage () { fileBrowser->openNextImage(); }
void openPrevImage () { fileBrowser->openPrevImage(); }
void openPrevImage () { fileBrowser->openPrevImage(); }
void selectImage (Glib::ustring fname, bool clearFilters);
void openNextPreviousEditorImage (Glib::ustring fname, bool clearFilters, eRTNav nextPrevious);
bool handleShortcutKey (GdkEventKey* event);