added browse tab to the Search window
This commit is contained in:
parent
4749cd5c81
commit
afb16ee5dd
13 changed files with 270 additions and 154 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
Author : $Author: fgerlits $
|
||||
Version : $Revision: 1.1 $
|
||||
Version : $Revision: 1.2 $
|
||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/src/Attic/AdvancedSearchItem.cxx,v $
|
||||
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -178,11 +178,17 @@ AdvancedSearchItem :: readMetadataTypes(void)
|
|||
metadataTypes.reset(new MapVector);
|
||||
|
||||
metadataTypes->push_back(std::make_pair(
|
||||
*getResourceUstring("titleMetadataDisplay"),
|
||||
*getResourceUstring("titleMetadataSearchKey") ));
|
||||
*getResourceUstring("genreMetadataDisplay"),
|
||||
*getResourceUstring("genreMetadataSearchKey") ));
|
||||
metadataTypes->push_back(std::make_pair(
|
||||
*getResourceUstring("creatorMetadataDisplay"),
|
||||
*getResourceUstring("creatorMetadataSearchKey") ));
|
||||
metadataTypes->push_back(std::make_pair(
|
||||
*getResourceUstring("albumMetadataDisplay"),
|
||||
*getResourceUstring("albumMetadataSearchKey") ));
|
||||
metadataTypes->push_back(std::make_pair(
|
||||
*getResourceUstring("titleMetadataDisplay"),
|
||||
*getResourceUstring("titleMetadataSearchKey") ));
|
||||
metadataTypes->push_back(std::make_pair(
|
||||
*getResourceUstring("lengthMetadataDisplay"),
|
||||
*getResourceUstring("lengthMetadataSearchKey") ));
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
Author : $Author: fgerlits $
|
||||
Version : $Revision: 1.4 $
|
||||
Version : $Revision: 1.5 $
|
||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/src/ComboBoxText.cxx,v $
|
||||
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -393,6 +393,7 @@ ComboBoxText :: onMenuItemSelected(void) throw ()
|
|||
Gtk::MenuItem * item = menu->get_active();
|
||||
Gtk::Label * selected = (Gtk::Label*) item->get_child();
|
||||
set_active_text(selected->get_text());
|
||||
signalSelectionChanged().emit();
|
||||
}
|
||||
|
||||
|
||||
|
@ -448,3 +449,13 @@ ComboBoxText :: set_active_text(const Glib::ustring & text) throw ()
|
|||
label->set_text(text);
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
* Accessor for the selectionChanged signal.
|
||||
*----------------------------------------------------------------------------*/
|
||||
sigc::signal<void>
|
||||
ComboBoxText :: signalSelectionChanged(void) throw ()
|
||||
{
|
||||
return signalSelectionChangedObject;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue