Search Toolkit Book for CSGConfigUtils
#include <gui/widgets/seq_graphic/config_utils.hpp>
Definition at line 45 of file config_utils.hpp.
◆ TKeyValuePair ◆ TKeyValuePairs ◆ ColorKey() ◆ ComposeColorKey() ◆ ComposeDecoKey() ◆ ComposeProfileString()Definition at line 102 of file config_utils.cpp.
References map_checker< Container >::begin(), map_checker< Container >::empty(), map_checker< Container >::end(), and kEmptyStr.
Referenced by CGeneModelConfig::SaveSettingsAsString(), CFeatureTrack::x_SaveSettings(), CSnpTrack::x_SaveSettings(), CEpigenomicsTrack::x_SaveSettings(), CGraphOverlay::x_SaveSettings(), CSegmentMapTrack::x_SaveSettings(), CSequenceTrack::x_SaveSettings(), CTraceGraphTrack::x_SaveSettings(), CAlignmentTrack::x_SaveSettings(), and CSixFramesTransTrack::x_SaveSettings().
◆ ComposeSizeKey() ◆ DecoKey() ◆ DefColorTheme() ◆ DefDecoStyle() ◆ DefGlobalSettingStyle() const string & CSGConfigUtils::DefGlobalSettingStyle ( ) inlinestatic ◆ DefLabelPosition() ◆ DefLayout() ◆ DefSizeLevel() ◆ DefTrackProfile() ◆ GetColor()Definition at line 307 of file config_utils.hpp.
References color, CRegistryReadView::GetField(), ncbi::grid::netcache::search::fields::key, and x_UserFieldToColor().
Referenced by CFeatGlyph::GetCustomColor(), CVcfGlyph::GetCustomColor(), CSNPColorPicker::GetSNPColor(), CSeqGraphicConfig::LoadSettings(), CGeneModelConfig::LoadSettings(), CRulerPanel::LoadSettings(), CHistParamsManager::LoadSettings(), CBinsGlyph::x_Draw(), CGeneMarkerGlyph::x_Draw(), CScatterPlotGlyph::x_Draw(), CAlignmentTrack::x_LoadAlignmentSettings(), CSeqGraphicConfig::x_LoadFeatSettings(), CAlignmentTrack::x_LoadMatePairSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), and CSixFramesTransTrack::x_LoadSettings().
◆ GetColorReadView()Create a read view specifically for 'Color' section.
The method is used for constructing necessary parameters to create a read view for 'Color' section with polymothic data structure. For a given example settings as below: [Base.Section.GeneModel.Default] ShowLabel = true [Base.Section.GeneModel.Default.Color.Color] ; default settings BGColor = white FGColor = green base_key is Base.Section.GeneModel.Default in this example, and key is the current color setting key which is "Color".
Definition at line 192 of file config_utils.hpp.
References ColorKey(), DefColorTheme(), GetReadView(), and ncbi::grid::netcache::search::fields::key.
Referenced by CFeatGlyph::GetCustomColor(), CVcfGlyph::GetCustomColor(), CSeqGraphicConfig::LoadSettings(), CGeneModelConfig::LoadSettings(), CRulerPanel::LoadSettings(), CHistParamsManager::LoadSettings(), CSnpTrack::x_AddSnpsLayout(), CBinsGlyph::x_Draw(), CGeneMarkerGlyph::x_Draw(), CScatterPlotGlyph::x_Draw(), CAlignmentTrack::x_LoadAlignmentSettings(), CSeqGraphicConfig::x_LoadFeatSettings(), CAlignmentTrack::x_LoadMatePairSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), and CSixFramesTransTrack::x_LoadSettings().
◆ GetColorRWView() ◆ GetFont()Definition at line 121 of file config_utils.cpp.
References f, CGlTextureFont::FaceFromString(), CRegistryReadView::GetInt(), CRegistryReadView::GetString(), and int.
Referenced by CSeqGraphicConfig::LoadSettings(), CGeneModelConfig::LoadSettings(), CAlignmentTrack::x_LoadAlignmentSettings(), CSeqGraphicConfig::x_LoadFeatSettings(), CAlignmentTrack::x_LoadMatePairSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), and CSixFramesTransTrack::x_LoadSettings().
◆ GetLabelPosReadView() ◆ GetLabelPosRWView() ◆ GetReadView()read/readwrite view creation helper methods.
Create a read view with polymorphic data structure. It returns a read view that overlays several named sub-sections in a given section. Note that the sections listed are presumed to be in decreasing order of importance, so curr_key will overload def_key1 which in turn will overload key_2 and so on. Example: For a given settings as below: [Base.Section.Default] BGColor = white FGColor = black [Base.Section.Gene] FGColor = red The read view created with parameters: GetReadView(reg, "Base.Section", "Gene", "Default") has the effect that settings in Gene section will override the corresponding settings in the Default section. So the FGColor will be red instead of black.
Definition at line 43 of file config_utils.cpp.
References CGuiRegistry::GetReadView().
Referenced by GetColorReadView(), GetLabelPosReadView(), CSequenceTrackFactory::GetSettings(), CSixFramesTransTrackFactory::GetSettings(), CAlignmentTrackFactory::GetSettings(), GetSizeReadView(), GetTrackProfileReadView(), CSeqGraphicConfig::LoadSettings(), CGeneModelConfig::LoadSettings(), CHistParamsManager::LoadSettings(), CGeneModelConfig::LoadSettingsPartial(), CSeqGraphicConfig::LoadSettingStyles(), CAlignmentTrack::x_LoadAlignmentSettings(), CSeqGraphicConfig::x_LoadFeatSettings(), CAlignmentTrack::x_LoadMatePairSettings(), CFeaturePanel::x_LoadSettings(), CSnpTrack::x_LoadSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), and CSixFramesTransTrack::x_LoadSettings().
◆ GetSizeReadView()Definition at line 218 of file config_utils.hpp.
References DefSizeLevel(), GetReadView(), ncbi::grid::netcache::search::fields::key, and SizeKey().
Referenced by CSeqGraphicConfig::LoadSettings(), CGeneModelConfig::LoadSettings(), CRulerPanel::LoadSettings(), CHistParamsManager::LoadSettings(), CAlignmentTrack::x_LoadAlignmentSettings(), CSeqGraphicConfig::x_LoadFeatSettings(), CAlignmentTrack::x_LoadMatePairSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), and CSixFramesTransTrack::x_LoadSettings().
◆ GetSizeRWView() ◆ GetTexFont() ◆ GetTrackProfileReadView() ◆ GetTrackProfileRWView() ◆ GetWriteView()Definition at line 65 of file config_utils.cpp.
References CGuiRegistry::GetWriteView().
Referenced by GetColorRWView(), GetLabelPosRWView(), GetSizeRWView(), GetTrackProfileRWView(), CSeqGraphicConfig::SaveSettings(), CGeneModelConfig::SaveSettings(), CHistParamsManager::SaveSettings(), CAlignmentTrack::x_SaveAlignmentSettings(), CAlignmentTrack::x_SaveConfiguration(), CSegmentMapTrack::x_SaveConfiguration(), CSequenceTrack::x_SaveConfiguration(), CAlignmentTrack::x_SaveMatePairSettings(), and CFeaturePanel::x_SaveSettings().
◆ GlobalSettingStyleKey() const string & CSGConfigUtils::GlobalSettingStyleKey ( ) inlinestatic ◆ LabelPositionKey() ◆ LayoutKey() ◆ ParseProfileString()Definition at line 86 of file config_utils.cpp.
References ITERATE, and CTrackUtils::TokenizeWithEscape().
Referenced by CTrackConfigManager::CreateTrackConfig(), CSnpTrackFactory::CreateTracks(), CVarTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGraphTrackFactory::CreateTracks(), CAlignmentTrackFactory::CreateTracks(), CVcfTrackFactory::CreateTracks(), CGraphTrack::GetLegend(), CLayoutTrack::LoadProfile(), and CLayoutTrack::SaveProfile().
◆ SetColor() ◆ SetFont() ◆ SetTexFont() ◆ SizeKey() ◆ TrackProfileKey() ◆ UserSettingPrefix() ◆ x_ColorToUserField() void CSGConfigUtils::x_ColorToUserField ( const CRgbaColor & c, objects::CUser_field & f ) staticprivate ◆ x_UserFieldToColor() ◆ m_CommonDefaultStyleName string CSGConfigUtils::m_CommonDefaultStyleName = "Default" staticprivateThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4