NCBI C++ ToolKit
|
Search Toolkit Book for CSeqGraphicConfig
#include <gui/widgets/seq_graphic/seqgraphic_conf.hpp>
Public Types | |
enum | EAnnotDepth { eDepth_unknown = -2 , eDepth_nolimit = -1 , eDepth_level0 = 0 , eDepth_level1 = 1 , eDepth_level2 = 2 , eDepth_level3 = 3 , eDepth_level4 = 4 } |
typedef map< string, CRef< CFeatureParams > > | TFeatParams |
typedef int | TFeatSubtype |
we use int instead of CSeqFeatData::ESubtype for two reasons: More... | |
![]() | |
enum | EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern } |
Control filling of newly allocated memory. More... | |
typedef CObjectCounterLocker | TLockerType |
Default locker type for CRef. More... | |
typedef atomic< Uint8 > | TCounter |
Counter type is CAtomiCounter. More... | |
typedef Uint8 | TCount |
Alias for value type of counter. More... | |
Static Public Member Functions | |
static const string & | ThemeKey () |
CSeqGraphicConfig inline methods. More... | |
static const string & | DefTheme () |
static void | LoadSettingStyles (const CGuiRegistry ®, string &theme, string &color, string &size, string &deco, string &profile, string &label) |
Utility method helping initializing various settings styles. More... | |
![]() | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (void) |
Define method to throw null pointer exception. More... | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (const type_info &type) |
static EAllocFillMode | GetAllocFillMode (void) |
static void | SetAllocFillMode (EAllocFillMode mode) |
static void | SetAllocFillMode (const string &value) |
Set mode from configuration parameter value. More... | |
![]() | |
static void | EnableDebugDump (bool on) |
Private Member Functions | |
void | x_VerifySettings () const |
void | x_LoadFeatSettings () |
void | x_SaveFeatSettings () |
void | x_LoadHistSettings () |
void | x_SaveHistSettings () |
Forbidden | |
CSeqGraphicConfig (const CSeqGraphicConfig &) | |
CSeqGraphicConfig & | operator= (const CSeqGraphicConfig &) |
Additional Inherited Members | |
![]() | |
static const TCount | eCounterBitsCanBeDeleted = 1 << 0 |
Define possible object states. More... | |
static const TCount | eCounterBitsInPlainHeap = 1 << 1 |
Heap signature was found. More... | |
static const TCount | eCounterBitsPlaceMask |
Mask for 'in heap' state flags. More... | |
static const int | eCounterStep = 1 << 2 |
Skip over the "in heap" bits. More... | |
static const TCount | eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) |
Minimal value for valid objects (reference counter is zero) Must be a single bit value. More... | |
static const TCount | eCounterStateMask |
Valid object, and object in heap. More... | |
![]() | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Definition at line 61 of file seqgraphic_conf.hpp.
typedef map<string, CRef<CFeatureParams> > CSeqGraphicConfig::TFeatParams |
Definition at line 74 of file seqgraphic_conf.hpp.
typedef int CSeqGraphicConfig::TFeatSubtype |
we use int instead of CSeqFeatData::ESubtype for two reasons:
Definition at line 81 of file seqgraphic_conf.hpp.
Definition at line 64 of file seqgraphic_conf.hpp.
CSeqGraphicConfig::CSeqGraphicConfig | ( | bool | cgi_mode = false , |
CGuiRegistry * | registry = 0 , |
||
const string & | theme = "" , |
||
const string & | color = "" , |
||
const string & | size = "" , |
||
const string & | deco = "" , |
||
const string & | profile = "" , |
||
const string & | layout = "" , |
||
const string & | label = "" |
||
) |
Definition at line 50 of file seqgraphic_conf.cpp.
References LoadSettings(), and x_VerifySettings().
CSeqGraphicConfig::~CSeqGraphicConfig | ( | ) |
Definition at line 80 of file seqgraphic_conf.cpp.
|
private |
|
inline |
Definition at line 597 of file seqgraphic_conf.hpp.
References m_AutoHideTrack.
Referenced by CLayoutTrack::x_ShowTitle().
Definition at line 410 of file seqgraphic_conf.hpp.
References ncbi::grid::netcache::search::fields::key.
Referenced by LoadSettings(), and LoadSettingStyles().
|
inline |
Definition at line 1014 of file seqgraphic_conf.hpp.
References m_AnnotDepth.
|
inline |
Definition at line 645 of file seqgraphic_conf.hpp.
References m_BackgroundLoading.
|
inline |
Definition at line 948 of file seqgraphic_conf.hpp.
References m_BarHeight.
|
inline |
Definition at line 772 of file seqgraphic_conf.hpp.
References m_BGComment.
Referenced by CAlignmentTrack::x_AddAlignmentLayout(), and CFeatureTrack::x_AdjustFeatureLayout().
|
inline |
Definition at line 724 of file seqgraphic_conf.hpp.
References m_Background.
Referenced by CSeqGraphicRenderer::x_Draw().
CRef< CCategoryConfig > CSeqGraphicConfig::GetCategoryConfig | ( | ) |
Definition at line 334 of file seqgraphic_conf.cpp.
References InitCategoryConfig(), and m_CategoryConfig.
Referenced by CTrackConfigManager::CreateTrackConfig().
|
inline |
Definition at line 657 of file seqgraphic_conf.hpp.
References m_CgiMode.
Referenced by CGraphOverlay::HitTest(), CRowDisplayStyle::IsWebRendering(), CAlignmentTrack::x_AddAlignmentLayout(), CAlignmentTrack::x_AddAlignStatLayout(), CHistogramGlyph::x_Draw(), CHistogramGlyph::x_DrawGraph(), CHistogramGlyph::x_DrawHeatMap(), CHistogramGlyph::x_DrawLinearRuler(), CHistogramGlyph::x_DrawSmoothCurve(), CAlnVecRow::x_HitTest(), CGraphTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CGraphTrack::x_OnJobCompleted(), CGraphOverlay::x_RenderContent(), CAlignmentTrack::x_UpdateBoundingBox(), CGraphOverlay::x_UpdateLegend(), and CAlignmentTrack::~CAlignmentTrack().
|
inline |
Definition at line 1059 of file seqgraphic_conf.hpp.
References CRef< C, Locker >::GetPointer(), and m_ClonePlacementSettings.
Referenced by CFeatureTrack::x_InitGlyphs_Recursive().
Definition at line 429 of file seqgraphic_conf.hpp.
References m_CurrColor.
Referenced by CGeneModelConfig::LoadSettings(), CRulerPanel::LoadSettings(), CGeneModelConfig::SaveSettings(), CSeqGraphicRenderer::x_Draw(), CBinsGlyph::x_GetColorTheme(), CGeneMarkerGlyph::x_GetColorTheme(), CScatterPlotGlyph::x_GetColorTheme(), CAlignmentTrack::x_LoadAlignmentSettings(), CAlignmentTrack::x_LoadMatePairSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CSixFramesTransTrack::x_LoadSettings(), CFeaturePanel::x_OnColorIconClicked(), CSequenceTrack::x_RenderGaps(), CAlignmentTrack::x_SaveAlignmentSettings(), CSegmentMapTrack::x_SaveConfiguration(), CSequenceTrack::x_SaveConfiguration(), and CAlignmentTrack::x_SaveMatePairSettings().
|
inline |
Definition at line 966 of file seqgraphic_conf.hpp.
References m_CmmtBottomMargin.
Referenced by CLayoutTrack::x_GetTBHeight().
CConstRef< CCommentConfig > CSeqGraphicConfig::GetCommentConfig | ( | ) | const |
Definition at line 328 of file seqgraphic_conf.cpp.
References CRef< C, Locker >::GetPointer(), and m_CommentConfig.
Referenced by CGlyphContainer::SetComments().
|
inline |
Definition at line 695 of file seqgraphic_conf.hpp.
References m_CommentFont.
Referenced by CLayoutTrack::OnLeftDown(), CSeqGraphicRenderer::SetHorizontal(), CAlignmentTrack::x_AddAlignmentLayout(), CFeatureTrack::x_AdjustFeatureLayout(), and CLayoutTrack::x_GetTBHeight().
|
inline |
Definition at line 880 of file seqgraphic_conf.hpp.
References m_CmmtRepDist.
Referenced by CAlignmentTrack::x_AddAlignmentLayout(), and CFeatureTrack::x_AdjustFeatureLayout().
|
inline |
Definition at line 954 of file seqgraphic_conf.hpp.
References m_CmmtTopMargin.
Referenced by CLayoutTrack::x_GetIconRect(), CLayoutTrack::x_GetTBHeight(), and CLayoutTrack::x_GetTBRect().
Definition at line 417 of file seqgraphic_conf.hpp.
References m_CurrTheme.
Referenced by CFeatureTrack::x_LoadSettings().
|
inline |
Definition at line 1065 of file seqgraphic_conf.hpp.
References CRef< C, Locker >::GetPointer(), and m_CustomFeatColors.
Referenced by CFeatureTrack::x_AddHistogram().
Definition at line 453 of file seqgraphic_conf.hpp.
References m_CurrDeco.
Referenced by CFeaturePanel::x_OnDecorationIconClicked().
|
inline |
Definition at line 1075 of file seqgraphic_conf.hpp.
References m_Dirty.
CConstRef< CFeatureParams > CSeqGraphicConfig::GetFeatParams | ( | const string & | name | ) | const |
Get feature settings using a key name.
Definition at line 318 of file seqgraphic_conf.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), kDefFeatKey(), and m_FeatSettings.
CConstRef< CFeatureParams > CSeqGraphicConfig::GetFeatParams | ( | TFeatSubtype | subtype | ) | const |
Get feature settings using a feature subtype.
Definition at line 294 of file seqgraphic_conf.cpp.
References _ASSERT, map_checker< Container >::end(), map_checker< Container >::find(), CSeqFeatData::GetFeatList(), CFeatList::GetStoragekeys(), m_FeatSettings, and NULL.
Referenced by CAlignmentTrack::x_AddAlignFeat_Recursive(), CGeneModelTrack::x_AddCDSProduct_FeatsLayout(), CGeneModelTrack::x_AddFeatProductLayout(), CFeatureTrack::x_AddHistogram(), CGeneModelTrack::x_AddLandMarkFeaturesLayout(), CGeneModelTrack::x_AddMainFeaturesLayout(), CGeneModelTrack::x_InitFeature_Recursive(), and CFeatureTrack::x_InitGlyphs_Recursive().
|
inline |
Definition at line 784 of file seqgraphic_conf.hpp.
References m_FGComment.
Referenced by CAlignmentTrack::x_AddAlignmentLayout(), and CFeatureTrack::x_AdjustFeatureLayout().
Definition at line 501 of file seqgraphic_conf.hpp.
References m_CurrGlobal.
|
inline |
Definition at line 868 of file seqgraphic_conf.hpp.
References m_HairLineOption.
Referenced by CwxHairlineDlg::SetConfig(), and CFeaturePanel::x_RenderHairLineSelections().
|
inline |
Definition at line 904 of file seqgraphic_conf.hpp.
References m_HistogramCutoff.
Referenced by CFeatureTrack::x_OnLayoutPolicyChanged().
|
inline |
Definition at line 1044 of file seqgraphic_conf.hpp.
References CHistParamsManager::GetHistParams(), and m_HistParamsManager.
|
inline |
Definition at line 1038 of file seqgraphic_conf.hpp.
References CHistParamsManager::GetHistParams(), and m_HistParamsManager.
|
inline |
Get histogram config manager.
Definition at line 1032 of file seqgraphic_conf.hpp.
References m_HistParamsManager.
Referenced by CGraphTrack::CreateOverlay(), CGraphOverlay::Drop(), CHistogramGlyph::GetHistParams(), CGraphTrack::GetLegend(), CHistogramGlyph::IsClickable(), CGraphOverlay::MoveTrackOut(), CHistogramGlyph::RunSettingsDialog(), CGraphOverlay::UpdateTrackParams(), CEpigenomicsTrack::x_AddGraphs(), CFeatureTrack::x_AddHistogram(), CAlignmentTrack::x_GetGraphParams(), CGraphOverlay::x_LoadSettings(), CGraphTrack::x_LoadSettings(), CGraphOverlay::x_OnLayoutChanged(), CAlnVecRow::x_ResetTrackPanel(), CGraphOverlay::x_SaveSettings(), CGraphOverlay::x_UpdateContainerParams(), CGraphOverlay::x_UpdateLegend(), and CGraphOverlay::x_UpdateTrackSettings().
|
inline |
Definition at line 844 of file seqgraphic_conf.hpp.
References m_GridHorizontal.
Referenced by CFeaturePanel::x_Draw(), and CFeaturePanel::x_LoadSettings().
|
inline |
Definition at line 1002 of file seqgraphic_conf.hpp.
References m_IconSignSize.
|
inline |
Definition at line 990 of file seqgraphic_conf.hpp.
References m_IconSize.
Referenced by CLayoutTrack::x_GetIconRect(), CFeaturePanel::x_GetTBRect(), and CLayoutTrack::x_RenderIcon().
|
inline |
Definition at line 681 of file seqgraphic_conf.hpp.
References m_LabelFont.
Referenced by CLegendItemGlyph::x_Draw(), and CGraphOverlay::x_UpdateLegend().
Definition at line 489 of file seqgraphic_conf.hpp.
References m_CurrLabelPos.
Referenced by CAlignmentTrack::x_LoadAlignmentSettings(), CSegmentMapTrack::x_LoadSettings(), CFeaturePanel::x_OnLabelIconClicked(), CAlignmentTrack::x_SaveAlignmentSettings(), and CSegmentMapTrack::x_SaveConfiguration().
Definition at line 477 of file seqgraphic_conf.hpp.
References m_CurrLayout.
Referenced by CFeaturePanel::x_LoadSettings(), and CFeaturePanel::x_SaveSettings().
|
inline |
Definition at line 918 of file seqgraphic_conf.hpp.
References m_LineWidth.
|
inline |
Definition at line 808 of file seqgraphic_conf.hpp.
References m_NonNCBITitleBackground.
|
inline |
Definition at line 978 of file seqgraphic_conf.hpp.
References m_ObjSpace.
Referenced by CFeatureTrack::x_AdjustFeatureLayout(), CSequenceTrack::x_GetBarHeight(), CFeatureTrack::x_LoadSettings(), CBinsTrack::x_LoadSettings(), CHapmapTrack::x_LoadSettings(), CSnpTrack::x_LoadSettings(), CSegmentMapTrack::x_LoadSettings(), CGeneModelTrack::x_LoadSettings(), CSixFramesTransTrack::x_LoadSettings(), and CSnpTrack::x_UpdateLayout().
|
inline |
Definition at line 892 of file seqgraphic_conf.hpp.
References m_OverviewCutoff.
|
inline |
Definition at line 585 of file seqgraphic_conf.hpp.
References m_RepeatComment.
Referenced by CAlignmentTrack::x_AddAlignmentLayout(), and CFeatureTrack::x_AdjustFeatureLayout().
|
inline |
Definition at line 832 of file seqgraphic_conf.hpp.
References m_Selection.
Referenced by CFeaturePanel::x_OnColorIconClicked().
|
inline |
Definition at line 760 of file seqgraphic_conf.hpp.
References m_SelHairlineDown.
Referenced by CwxHairlineDlg::SetConfig(), and CFeaturePanel::x_DrawHairLine().
|
inline |
Definition at line 748 of file seqgraphic_conf.hpp.
References m_SelHairlineMany.
Referenced by CwxHairlineDlg::SetConfig(), and CFeaturePanel::x_DrawHairLine().
|
inline |
Definition at line 736 of file seqgraphic_conf.hpp.
References m_SelHairlineOne.
Referenced by CwxHairlineDlg::SetConfig(), and CFeaturePanel::x_DrawHairLine().
|
inline |
Definition at line 820 of file seqgraphic_conf.hpp.
References m_SelLabel.
Referenced by CFeaturePanel::x_OnColorIconClicked().
|
inline |
Definition at line 573 of file seqgraphic_conf.hpp.
References m_ShowCmmtBg.
|
inline |
Definition at line 525 of file seqgraphic_conf.hpp.
References m_ShowComments.
Referenced by CAlignmentTrack::x_AddAlignmentLayout(), CGeneModelTrack::x_AddLandMarkFeaturesLayout(), CFeatureTrack::x_AdjustFeatureLayout(), CAlignmentTrack::x_LoadSettings(), CSixFramesTransTrack::x_LoadSettings(), and CSequenceTrack::x_RenderContent().
|
inline |
Definition at line 669 of file seqgraphic_conf.hpp.
References m_ShowDownwardHairlines.
Referenced by CwxHairlineDlg::SetConfig(), and CFeaturePanel::x_DrawHairLine().
|
inline |
Definition at line 609 of file seqgraphic_conf.hpp.
References m_ShowHorzGrid.
Referenced by CFeaturePanel::x_Draw(), CFeaturePanel::x_LoadSettings(), and CFeaturePanel::x_RenderFeatureGrid().
|
inline |
Definition at line 549 of file seqgraphic_conf.hpp.
References m_ShowMessage.
Referenced by CLayoutTrack::x_RenderTitleBar().
|
inline |
Definition at line 537 of file seqgraphic_conf.hpp.
References m_ShowSimpleComments.
Referenced by CGeneModelTrack::x_AddLandMarkFeaturesLayout().
|
inline |
Definition at line 633 of file seqgraphic_conf.hpp.
References m_ShowTrackMinusPlusSign.
Referenced by CLayoutTrack::OnLeftDown(), and CLayoutTrack::x_RenderTitleBar().
|
inline |
Definition at line 621 of file seqgraphic_conf.hpp.
References m_ShowVertGrid.
Referenced by CFeaturePanel::x_Draw().
Definition at line 441 of file seqgraphic_conf.hpp.
References m_CurrSize.
Referenced by CGeneModelConfig::LoadSettings(), CRulerPanel::LoadSettings(), CGeneModelConfig::SaveSettings(), CLayoutTrack::x_GetTBRect(), CAlignmentTrack::x_LoadAlignmentSettings(), CAlignmentTrack::x_LoadMatePairSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CSixFramesTransTrack::x_LoadSettings(), CFeaturePanel::x_OnSizeIconClicked(), CLayoutTrack::x_RenderTitleBar(), CAlignmentTrack::x_SaveAlignmentSettings(), CSegmentMapTrack::x_SaveConfiguration(), CSequenceTrack::x_SaveConfiguration(), CAlignmentTrack::x_SaveMatePairSettings(), and CTrackContainer::x_ShowTitle().
|
inline |
Definition at line 796 of file seqgraphic_conf.hpp.
References m_TitleBackground.
|
inline |
Definition at line 709 of file seqgraphic_conf.hpp.
References m_TitleFont.
Referenced by CwxExportVectorImageDlg::OnTimer(), and CSeqGraphicPane::RenderVectorGraphics().
Definition at line 465 of file seqgraphic_conf.hpp.
References m_CurrProfile.
|
inline |
Definition at line 856 of file seqgraphic_conf.hpp.
References m_GridVertical.
Referenced by CFeaturePanel::x_Draw(), CFeaturePanel::x_LoadSettings(), and CFeaturePanel::x_RenderFeatureGrid().
|
inline |
Definition at line 930 of file seqgraphic_conf.hpp.
References m_ZoomFactor.
|
inline |
Set show feature strand indicator to false for all features.
Definition at line 1050 of file seqgraphic_conf.hpp.
References m_FeatSettings, and NON_CONST_ITERATE.
Referenced by CFeaturePanel::x_OnColorIconClicked(), CFeaturePanel::x_OnDecorationIconClicked(), CFeaturePanel::x_OnLabelIconClicked(), and CFeaturePanel::x_OnSizeIconClicked().
void CSeqGraphicConfig::InitCategoryConfig | ( | const CCategoryConfig::TGroupMap & | group_map, |
const CCategoryConfig::TSubgroupMap & | sub_group_map | ||
) |
if the category configuration is not loaded, load it
Definition at line 344 of file seqgraphic_conf.cpp.
References CCategoryConfig::AddCategory(), CCategoryConfig::AddSubcategory(), CCategoryConfig::SCategorySettings::AddSubcategory(), CTrackConfigUtils::CreateCategory(), CCategoryConfig::GetCategory(), CRegistryReadView::GetInt(), CGuiRegistry::GetReadView(), CRegistryReadView::GetString(), CCategoryConfig::GetSubcategory(), CRegistryReadView::GetTopKeys(), ITERATE, ncbi::grid::netcache::search::fields::key, CCategoryConfig::SCategorySettings::m_Category, m_CategoryConfig, m_Registry, CRef< C, Locker >::Reset(), and CCategory_Base::SetOrder().
Referenced by GetCategoryConfig().
|
inline |
Definition at line 513 of file seqgraphic_conf.hpp.
References m_AdjustRuler.
Referenced by CSeqGraphicPane::OnLeftUp(), and CSeqGraphicPane::SelectOnlyThisObject().
void CSeqGraphicConfig::LoadSettings | ( | ) |
update the cached settings.
Definition at line 85 of file seqgraphic_conf.cpp.
References CSGConfigUtils::DefColorTheme(), CSGConfigUtils::DefDecoStyle(), CSGConfigUtils::DefGlobalSettingStyle(), CSGConfigUtils::DefLabelPosition(), CSGConfigUtils::DefLayout(), CSGConfigUtils::DefSizeLevel(), DefTheme(), CSGConfigUtils::DefTrackProfile(), CRegistryReadView::GetBool(), CSGConfigUtils::GetColor(), CSGConfigUtils::GetColorReadView(), CSGConfigUtils::GetFont(), CRegistryReadView::GetInt(), CSGConfigUtils::GetReadView(), CGuiRegistry::GetReadView(), CRegistryReadView::GetReal(), CSGConfigUtils::GetSizeReadView(), CRegistryReadView::GetString(), CSGConfigUtils::GlobalSettingStyleKey(), CRegistryReadView::HasField(), kBaseKey(), m_AdjustRuler, m_AutoHideTrack, m_Background, m_BackgroundLoading, m_BarHeight, m_BGComment, m_CmmtBottomMargin, m_CmmtRepDist, m_CmmtTopMargin, m_CommentFont, m_CurrColor, m_CurrDeco, m_CurrGlobal, m_CurrLabelPos, m_CurrLayout, m_CurrProfile, m_CurrSize, m_CurrTheme, m_FGComment, m_GridHorizontal, m_GridVertical, m_HairLineOption, m_HistogramCutoff, m_IconSignSize, m_IconSize, m_LabelFont, m_LineWidth, m_NonNCBITitleBackground, m_ObjSpace, m_OverviewCutoff, m_Registry, m_RepeatComment, m_ReserveCmmtSpace, m_Selection, m_SelHairlineDown, m_SelHairlineMany, m_SelHairlineOne, m_SelLabel, m_ShowCmmtBg, m_ShowComments, m_ShowDownwardHairlines, m_ShowHorzGrid, m_ShowMessage, m_ShowSimpleComments, m_ShowTrackMinusPlusSign, m_ShowVertGrid, m_TitleBackground, m_TitleFont, m_ZoomFactor, SetAnnotDepth(), ThemeKey(), x_LoadFeatSettings(), and x_LoadHistSettings().
Referenced by CSeqGraphicConfig(), CRowDisplayStyle::GetSeqGraphicConfig(), CSeqGraphicPane::UpdateConfig(), CFeaturePanel::x_OnColorIconClicked(), CFeaturePanel::x_OnDecorationIconClicked(), CFeaturePanel::x_OnLabelIconClicked(), and CFeaturePanel::x_OnSizeIconClicked().
|
static |
Utility method helping initializing various settings styles.
The styles include color, size, feature decoration, track profile, and label position. @reg GUI registry @theme setting theme. It may be empty. If empty, the default theme will be used @color color style. If empty, a corresponding style will be set @size size style. If empty, a corresponding style will be set @deco deco style. If empty, a corresponding style will be set @profile track content style. If empty, a corresponding style will be set @label label position. If empty, a corresponding style will be set
Definition at line 416 of file seqgraphic_conf.cpp.
References color, CSGConfigUtils::DefColorTheme(), CSGConfigUtils::DefDecoStyle(), CSGConfigUtils::DefLabelPosition(), CSGConfigUtils::DefSizeLevel(), DefTheme(), CSGConfigUtils::DefTrackProfile(), CSGConfigUtils::GetReadView(), CGuiRegistry::GetReadView(), CRegistryReadView::GetString(), CRegistryReadView::HasField(), kBaseKey(), label, ncbi::grid::netcache::search::fields::size, and ThemeKey().
|
private |
|
inline |
Definition at line 561 of file seqgraphic_conf.hpp.
References m_ReserveCmmtSpace.
Definition at line 179 of file seqgraphic_conf.cpp.
References CSGConfigUtils::DefGlobalSettingStyle(), CRegistryWriteView::DeleteField(), CSGConfigUtils::GetColorRWView(), CGuiRegistry::GetReadView(), CRegistryReadView::GetTopKeys(), CSGConfigUtils::GetWriteView(), CGuiRegistry::GetWriteView(), CSGConfigUtils::GlobalSettingStyleKey(), ITERATE, kBaseKey(), kEmptyStr, m_AdjustRuler, m_CurrColor, m_CurrDeco, m_CurrGlobal, m_CurrLabelPos, m_CurrLayout, m_CurrProfile, m_CurrSize, m_CurrTheme, m_Dirty, m_HairLineOption, m_Registry, m_SelHairlineDown, m_SelHairlineMany, m_SelHairlineOne, m_ShowDownwardHairlines, CRegistryWriteView::Set(), CSGConfigUtils::SetColor(), ThemeKey(), x_SaveFeatSettings(), and x_SaveHistSettings().
Referenced by CSeqGraphicWidget::SaveViewSettings(), CFeaturePanel::x_OnColorIconClicked(), CFeaturePanel::x_OnDecorationIconClicked(), CFeaturePanel::x_OnLabelIconClicked(), CFeaturePanel::x_OnSizeIconClicked(), CFeaturePanel::x_SaveSettings(), and CSeqGraphicPane::~CSeqGraphicPane().
|
inline |
Definition at line 519 of file seqgraphic_conf.hpp.
References m_AdjustRuler.
|
inline |
Definition at line 1020 of file seqgraphic_conf.hpp.
References depth, and m_AnnotDepth.
Referenced by LoadSettings().
|
inline |
Definition at line 603 of file seqgraphic_conf.hpp.
References m_AutoHideTrack.
|
inline |
Definition at line 651 of file seqgraphic_conf.hpp.
References m_BackgroundLoading.
Referenced by CRowDisplayStyle::GetSeqGraphicConfig().
|
inline |
Definition at line 942 of file seqgraphic_conf.hpp.
References m_BarHeight.
|
inline |
Definition at line 778 of file seqgraphic_conf.hpp.
References color, and m_BGComment.
|
inline |
Definition at line 730 of file seqgraphic_conf.hpp.
References color, and m_Background.
|
inline |
Definition at line 663 of file seqgraphic_conf.hpp.
References m_CgiMode.
Definition at line 435 of file seqgraphic_conf.hpp.
References m_CurrColor.
Referenced by CFeaturePanel::x_OnColorIconClicked().
|
inline |
Definition at line 972 of file seqgraphic_conf.hpp.
References m_CmmtBottomMargin.
|
inline |
Definition at line 701 of file seqgraphic_conf.hpp.
References m_CommentFont, CGlTextureFont::SetFontFace(), and CGlTextureFont::SetFontSize().
|
inline |
Definition at line 886 of file seqgraphic_conf.hpp.
References m_CmmtRepDist.
|
inline |
Definition at line 960 of file seqgraphic_conf.hpp.
References m_CmmtTopMargin.
Definition at line 423 of file seqgraphic_conf.hpp.
References m_CurrTheme.
Definition at line 459 of file seqgraphic_conf.hpp.
References m_CurrDeco.
Referenced by CFeaturePanel::x_OnDecorationIconClicked().
|
inline |
|
inline |
Definition at line 1026 of file seqgraphic_conf.hpp.
References m_FeatSettings.
|
inline |
Definition at line 790 of file seqgraphic_conf.hpp.
References color, and m_FGComment.
Definition at line 507 of file seqgraphic_conf.hpp.
References m_CurrGlobal.
|
inline |
Definition at line 874 of file seqgraphic_conf.hpp.
References m_HairLineOption, and option.
Referenced by CwxHairlineDlg::OnOkClick().
|
inline |
Definition at line 912 of file seqgraphic_conf.hpp.
References m_HistogramCutoff.
|
inline |
Definition at line 850 of file seqgraphic_conf.hpp.
References color, and m_GridHorizontal.
|
inline |
Definition at line 1008 of file seqgraphic_conf.hpp.
References m_IconSignSize.
|
inline |
Definition at line 996 of file seqgraphic_conf.hpp.
References m_IconSize.
|
inline |
Definition at line 687 of file seqgraphic_conf.hpp.
References m_LabelFont, CGlTextureFont::SetFontFace(), and CGlTextureFont::SetFontSize().
Definition at line 495 of file seqgraphic_conf.hpp.
References m_CurrLabelPos.
Referenced by CRowDisplayStyle::GetSeqGraphicConfig(), and CFeaturePanel::x_OnLabelIconClicked().
Definition at line 483 of file seqgraphic_conf.hpp.
References m_CurrLayout.
|
inline |
Definition at line 924 of file seqgraphic_conf.hpp.
References m_LineWidth.
|
inline |
Definition at line 814 of file seqgraphic_conf.hpp.
References color, and m_NonNCBITitleBackground.
|
inline |
Definition at line 984 of file seqgraphic_conf.hpp.
References m_ObjSpace.
|
inline |
Definition at line 898 of file seqgraphic_conf.hpp.
References m_OverviewCutoff.
|
inline |
Definition at line 591 of file seqgraphic_conf.hpp.
References m_RepeatComment.
|
inline |
Definition at line 567 of file seqgraphic_conf.hpp.
References m_ReserveCmmtSpace.
|
inline |
Definition at line 838 of file seqgraphic_conf.hpp.
References color, and m_Selection.
|
inline |
Definition at line 766 of file seqgraphic_conf.hpp.
References color, and m_SelHairlineDown.
Referenced by CwxHairlineDlg::OnOkClick().
|
inline |
Definition at line 754 of file seqgraphic_conf.hpp.
References color, and m_SelHairlineMany.
Referenced by CwxHairlineDlg::OnOkClick().
|
inline |
Definition at line 742 of file seqgraphic_conf.hpp.
References color, and m_SelHairlineOne.
Referenced by CwxHairlineDlg::OnOkClick().
|
inline |
Definition at line 826 of file seqgraphic_conf.hpp.
References color, and m_SelLabel.
|
inline |
Definition at line 579 of file seqgraphic_conf.hpp.
References m_ShowCmmtBg.
|
inline |
Definition at line 531 of file seqgraphic_conf.hpp.
References m_ShowComments.
|
inline |
Definition at line 675 of file seqgraphic_conf.hpp.
References m_ShowDownwardHairlines.
Referenced by CwxHairlineDlg::OnOkClick().
|
inline |
Definition at line 615 of file seqgraphic_conf.hpp.
References m_ShowHorzGrid.
|
inline |
Definition at line 555 of file seqgraphic_conf.hpp.
References m_ShowMessage.
|
inline |
Definition at line 543 of file seqgraphic_conf.hpp.
References m_ShowSimpleComments.
|
inline |
Definition at line 639 of file seqgraphic_conf.hpp.
References m_ShowTrackMinusPlusSign.
|
inline |
Definition at line 627 of file seqgraphic_conf.hpp.
References m_ShowVertGrid.
Definition at line 447 of file seqgraphic_conf.hpp.
References m_CurrSize, and ncbi::grid::netcache::search::fields::size.
Referenced by CFeaturePanel::x_OnSizeIconClicked().
|
inline |
Definition at line 802 of file seqgraphic_conf.hpp.
References color, and m_TitleBackground.
|
inline |
Definition at line 715 of file seqgraphic_conf.hpp.
References m_TitleFont, CGlTextureFont::SetFontFace(), and CGlTextureFont::SetFontSize().
Definition at line 471 of file seqgraphic_conf.hpp.
References m_CurrProfile.
Referenced by CAlnVecRow::ConfigureTracks(), CFeaturePanel::LoadDefaultTracks(), and CFeaturePanel::x_SaveSettings().
|
inline |
Definition at line 862 of file seqgraphic_conf.hpp.
References color, and m_GridVertical.
|
inline |
Definition at line 936 of file seqgraphic_conf.hpp.
References f, and m_ZoomFactor.
CSeqGraphicConfig inline methods.
Definition at line 403 of file seqgraphic_conf.hpp.
References ncbi::grid::netcache::search::fields::key.
Referenced by LoadSettings(), LoadSettingStyles(), and SaveSettings().
|
private |
Definition at line 458 of file seqgraphic_conf.cpp.
References map_checker< Container >::clear(), color, CSGConfigUtils::ComposeDecoKey(), CFeatureParams::DecoStrToValue(), CCustomFeatureColor::eCNV, CCustomFeatureColor::eComplex, CCustomFeatureColor::eDeletionInsertion, CCustomFeatureColor::eEverted, CCustomFeatureColor::eGain, CFeatureParams::eHead_No, CCustomFeatureColor::eHighIdentity, CCustomFeatureColor::eInsertion, CCustomFeatureColor::eInversion, CFeatureParams::eLine_Solid, CCustomFeatureColor::eLoss, CCustomFeatureColor::eLowIdentity, CCustomFeatureColor::eMidIdentity, CFeatureParams::ePos_Side, CFeatureParams::eStraightLine, CFeatureParams::eTail_No, CCustomFeatureColor::eTranschr, CCustomFeatureColor::eUnknown, CRegistryReadView::GetBool(), CSGConfigUtils::GetColor(), CSGConfigUtils::GetColorReadView(), CSGConfigUtils::GetFont(), CSGConfigUtils::GetLabelPosReadView(), CException::GetMsg(), CSGConfigUtils::GetReadView(), CGuiRegistry::GetReadView(), CRegistryReadView::GetReal(), CSGConfigUtils::GetSizeReadView(), CRegistryReadView::GetString(), CRegistryReadView::GetTopKeys(), CRegistryReadView::HasField(), ITERATE, kCommentConfigKey(), kCPParamsKey(), kCustomColorKey(), kDefFeatKey(), kFeatParamsKey(), LOG_POST, CFeatureParams::m_BarHeight, CClonePlacementParams::m_BarHeight, CFeatureParams::m_bgColor, CFeatureParams::m_BoxStyle, CCommentConfig::m_Centered, CFeatureParams::m_CgiMode, m_CgiMode, m_ClonePlacementSettings, CFeatureParams::m_ColorTheme, CClonePlacementParams::m_CombinedPlacementColor, m_CommentConfig, CClonePlacementParams::m_ConcordantColor, CFeatureParams::m_Connections, m_CurrColor, m_CurrDeco, m_CurrLabelPos, m_CurrSize, CFeatureParams::m_CustomColors, m_CustomFeatColors, CClonePlacementParams::m_DiscordantColor, CClonePlacementParams::m_FakeEndColor, m_FeatSettings, CFeatureParams::m_fgColor, CCommentConfig::m_Font, CFeatureParams::m_HeadHeight, CClonePlacementParams::m_HeadHeight, CFeatureParams::m_HeadStyle, CClonePlacementParams::m_HighlightColor, CCommentConfig::m_LabelColor, CFeatureParams::m_LabelColor, CClonePlacementParams::m_LabelColor, CFeatureParams::m_LabelFont, CClonePlacementParams::m_LabelFont, CFeatureParams::m_LabelPos, CClonePlacementParams::m_LabelPos, CCommentConfig::m_LineColor, CFeatureParams::m_LineStyle, CFeatureParams::m_LineWidth, CFeatureParams::m_NonConsensus, CFeatureParams::m_OverviewFactor, CClonePlacementParams::m_OverviewFactor, m_Registry, CFeatureParams::m_ShowAaRuler, CCommentConfig::m_ShowBoundary, CCommentConfig::m_ShowConnection, CFeatureParams::m_ShowNtRuler, CFeatureParams::m_ShowStrandIndicator, CFeatureParams::m_TailHeight, CFeatureParams::m_TailStyle, CClonePlacementParams::m_UnknownConcordancyColor, CRef< C, Locker >::Reset(), CCustomFeatureColor::SetColor(), and Warning().
Referenced by LoadSettings().
|
inlineprivate |
Definition at line 1079 of file seqgraphic_conf.hpp.
References CHistParamsManager::LoadSettings(), m_CurrColor, m_CurrSize, and m_HistParamsManager.
Referenced by LoadSettings().
|
private |
Definition at line 638 of file seqgraphic_conf.cpp.
Referenced by SaveSettings().
|
inlineprivate |
Definition at line 1085 of file seqgraphic_conf.hpp.
References m_CurrColor, m_CurrSize, m_HistParamsManager, and CHistParamsManager::SaveSettings().
Referenced by SaveSettings().
|
private |
Definition at line 449 of file seqgraphic_conf.cpp.
References eUnknown, CGuiRegistry::GetReadView(), CRegistryReadView::IsEmpty(), kBaseKey(), m_Registry, and NCBI_THROW.
Referenced by CSeqGraphicConfig().
|
private |
Definition at line 332 of file seqgraphic_conf.hpp.
Referenced by IsAjdustRulerToSelection(), LoadSettings(), SaveSettings(), and SetAjdustRulerToSelection().
|
private |
Definition at line 361 of file seqgraphic_conf.hpp.
Referenced by GetAnnotDepth(), and SetAnnotDepth().
|
private |
Automatically hide tracks w/o data.
Definition at line 339 of file seqgraphic_conf.hpp.
Referenced by AutoHideTrack(), LoadSettings(), and SetAutoHideTrack().
|
private |
Cached colors.
Definition at line 369 of file seqgraphic_conf.hpp.
Referenced by GetBkColor(), LoadSettings(), and SetBkColor().
|
private |
Definition at line 343 of file seqgraphic_conf.hpp.
Referenced by GetBackgroundLoading(), LoadSettings(), and SetBackgroundLoading().
|
private |
Definition at line 355 of file seqgraphic_conf.hpp.
Referenced by GetBarHeight(), LoadSettings(), and SetBarHeight().
|
private |
Definition at line 373 of file seqgraphic_conf.hpp.
Referenced by GetBGCommentColor(), LoadSettings(), and SetBGCommentColor().
|
private |
Definition at line 394 of file seqgraphic_conf.hpp.
Referenced by GetCategoryConfig(), and InitCategoryConfig().
|
private |
not loaded from configure file
Definition at line 344 of file seqgraphic_conf.hpp.
Referenced by GetCgiMode(), SetCgiMode(), and x_LoadFeatSettings().
|
private |
cached clone placement settings.
Definition at line 388 of file seqgraphic_conf.hpp.
Referenced by GetClonePlacementParams(), and x_LoadFeatSettings().
|
private |
Definition at line 357 of file seqgraphic_conf.hpp.
Referenced by GetCommentBottomMargin(), LoadSettings(), and SetCommentBottomMargin().
|
private |
Definition at line 349 of file seqgraphic_conf.hpp.
Referenced by GetCommentRepeatDist(), LoadSettings(), and SetCommentRepeatDist().
|
private |
Definition at line 356 of file seqgraphic_conf.hpp.
Referenced by GetCommentTopMargin(), LoadSettings(), and SetCommentTopMargin().
|
private |
Definition at line 390 of file seqgraphic_conf.hpp.
Referenced by GetCommentConfig(), and x_LoadFeatSettings().
|
private |
Definition at line 365 of file seqgraphic_conf.hpp.
Referenced by GetCommentFont(), LoadSettings(), and SetCommentFont().
|
private |
color theme
Definition at line 323 of file seqgraphic_conf.hpp.
Referenced by GetColorTheme(), LoadSettings(), SaveSettings(), SetColorTheme(), x_LoadFeatSettings(), x_LoadHistSettings(), and x_SaveHistSettings().
|
private |
decoration, mainly for features
Definition at line 325 of file seqgraphic_conf.hpp.
Referenced by GetDecorateStyle(), LoadSettings(), SaveSettings(), SetDecorateStyle(), and x_LoadFeatSettings().
|
private |
global setting style
Definition at line 329 of file seqgraphic_conf.hpp.
Referenced by GetGlobalSettingStyle(), LoadSettings(), SaveSettings(), and SetGlobalSettingStyle().
|
private |
label position style
Definition at line 328 of file seqgraphic_conf.hpp.
Referenced by GetLabelPos(), LoadSettings(), SaveSettings(), SetLabelPos(), and x_LoadFeatSettings().
|
private |
layout style
Definition at line 327 of file seqgraphic_conf.hpp.
Referenced by GetLayout(), LoadSettings(), SaveSettings(), and SetLayout().
|
private |
feature panel track profile
Definition at line 326 of file seqgraphic_conf.hpp.
Referenced by GetTrackProfile(), LoadSettings(), SaveSettings(), and SetTrackProfile().
|
private |
size level
Definition at line 324 of file seqgraphic_conf.hpp.
Referenced by GetSizeLevel(), LoadSettings(), SaveSettings(), SetSizeLevel(), x_LoadFeatSettings(), x_LoadHistSettings(), and x_SaveHistSettings().
|
private |
current theme
Definition at line 322 of file seqgraphic_conf.hpp.
Referenced by GetCurrTheme(), LoadSettings(), SaveSettings(), and SetCurrTheme().
|
private |
Definition at line 392 of file seqgraphic_conf.hpp.
Referenced by GetCustomFeatColors(), and x_LoadFeatSettings().
|
mutableprivate |
Definition at line 396 of file seqgraphic_conf.hpp.
Referenced by GetDirty(), SaveSettings(), and SetDirty().
|
private |
cached histogram rendering parameters.
Definition at line 383 of file seqgraphic_conf.hpp.
Referenced by GetFeatParams(), IgnoreFeatureStrand(), SetFeatSettings(), and x_LoadFeatSettings().
|
private |
Definition at line 374 of file seqgraphic_conf.hpp.
Referenced by GetFGCommentColor(), LoadSettings(), and SetFGCommentColor().
|
private |
Definition at line 379 of file seqgraphic_conf.hpp.
Referenced by GetHorizontalGridColor(), LoadSettings(), and SetHorizontalGridColor().
|
private |
Definition at line 380 of file seqgraphic_conf.hpp.
Referenced by GetVerticalGridColor(), LoadSettings(), and SetVerticalGridColor().
|
private |
Cached sizes.
Definition at line 348 of file seqgraphic_conf.hpp.
Referenced by GetHairlineOption(), LoadSettings(), SaveSettings(), and SetHairlineOption().
|
private |
Num of features.
Definition at line 351 of file seqgraphic_conf.hpp.
Referenced by GetHistogramCutoff(), LoadSettings(), and SetHistogramCutoff().
|
private |
Definition at line 385 of file seqgraphic_conf.hpp.
Referenced by GetHistParams(), GetHistParamsManager(), x_LoadHistSettings(), and x_SaveHistSettings().
|
private |
Definition at line 360 of file seqgraphic_conf.hpp.
Referenced by GetIconSignSize(), LoadSettings(), and SetIconSignSize().
|
private |
Definition at line 359 of file seqgraphic_conf.hpp.
Referenced by GetIconSize(), LoadSettings(), and SetIconSize().
|
private |
cached fonts.
Definition at line 364 of file seqgraphic_conf.hpp.
Referenced by GetLabelFont(), LoadSettings(), and SetLabelFont().
|
private |
Definition at line 353 of file seqgraphic_conf.hpp.
Referenced by GetLineWidth(), LoadSettings(), and SetLineWidth().
|
private |
Definition at line 376 of file seqgraphic_conf.hpp.
Referenced by GetNonNCBITitleBackground(), LoadSettings(), and SetNonNCBITitleBackground().
|
private |
Definition at line 358 of file seqgraphic_conf.hpp.
Referenced by GetObjectSpace(), LoadSettings(), and SetObjectSpace().
|
private |
cut-off between overview and detail mode(base per pixel)
Definition at line 350 of file seqgraphic_conf.hpp.
Referenced by GetOverviewCutoff(), LoadSettings(), and SetOverviewCutoff().
|
private |
Definition at line 318 of file seqgraphic_conf.hpp.
Referenced by InitCategoryConfig(), LoadSettings(), SaveSettings(), x_LoadFeatSettings(), and x_VerifySettings().
|
private |
Definition at line 338 of file seqgraphic_conf.hpp.
Referenced by GetRepeatComment(), LoadSettings(), and SetRepeatComment().
|
private |
Definition at line 336 of file seqgraphic_conf.hpp.
Referenced by LoadSettings(), ReserveCmmtSpace(), and SetReserveCmmtSpace().
|
private |
Definition at line 378 of file seqgraphic_conf.hpp.
Referenced by GetSelectionColor(), LoadSettings(), and SetSelectionColor().
|
private |
Definition at line 372 of file seqgraphic_conf.hpp.
Referenced by GetSelHairlineDownColor(), LoadSettings(), SaveSettings(), and SetSelHairlineDownColor().
|
private |
Definition at line 371 of file seqgraphic_conf.hpp.
Referenced by GetSelHairlineManyColor(), LoadSettings(), SaveSettings(), and SetSelHairlineManyColor().
|
private |
Definition at line 370 of file seqgraphic_conf.hpp.
Referenced by GetSelHairlineOneColor(), LoadSettings(), SaveSettings(), and SetSelHairlineOneColor().
|
private |
Definition at line 377 of file seqgraphic_conf.hpp.
Referenced by GetSelLabelColor(), LoadSettings(), and SetSelLabelColor().
|
private |
Definition at line 337 of file seqgraphic_conf.hpp.
Referenced by GetShowCommentBg(), LoadSettings(), and SetShowCommentBg().
|
private |
Definition at line 333 of file seqgraphic_conf.hpp.
Referenced by GetShowComments(), LoadSettings(), and SetShowComments().
|
private |
Definition at line 345 of file seqgraphic_conf.hpp.
Referenced by GetShowDownwardHairlines(), LoadSettings(), SaveSettings(), and SetShowDownwardHairlines().
|
private |
Definition at line 340 of file seqgraphic_conf.hpp.
Referenced by GetShowHorzGrid(), LoadSettings(), and SetShowHorzGrid().
|
private |
Definition at line 335 of file seqgraphic_conf.hpp.
Referenced by GetShowMessage(), LoadSettings(), and SetShowMessage().
|
private |
Definition at line 334 of file seqgraphic_conf.hpp.
Referenced by GetShowSimpleComments(), LoadSettings(), and SetShowSimpleComments().
|
private |
Definition at line 342 of file seqgraphic_conf.hpp.
Referenced by GetShowTrackMinusPlusSign(), LoadSettings(), and SetShowTrackMinusPlusSign().
|
private |
Definition at line 341 of file seqgraphic_conf.hpp.
Referenced by GetShowVertGrid(), LoadSettings(), and SetShowVertGrid().
|
private |
Definition at line 375 of file seqgraphic_conf.hpp.
Referenced by GetTitleBackground(), LoadSettings(), and SetTitleBackground().
|
private |
Definition at line 366 of file seqgraphic_conf.hpp.
Referenced by GetTitleFont(), LoadSettings(), and SetTitleFont().
|
private |
Per pexel of a mouse movement.
Definition at line 354 of file seqgraphic_conf.hpp.
Referenced by GetZoomFactor(), LoadSettings(), and SetZoomFactor().