📄 alnvec_multi_widget.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: alnvec_multi_widget.hpp,v $ * PRODUCTION Revision 1000.3 2004/06/01 19:51:44 gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.8 * PRODUCTION * =========================================================================== */#ifndef GUI_WIDGETS_ALNMULTI___ALNVEC_MULTI_WIDGET__HPP#define GUI_WIDGETS_ALNMULTI___ALNVEC_MULTI_WIDGET__HPP/* $Id: alnvec_multi_widget.hpp,v 1000.3 2004/06/01 19:51:44 gouriano Exp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Authors: Andrey Yazhuk * * File Description: * */#include <corelib/ncbistl.hpp>#include <corelib/ncbistd.hpp>#include <corelib/ncbiobj.hpp>#include <gui/widgets/aln_multiple/alnmulti_widget.hpp>#include <gui/widgets/aln_multiple/aln_scoring.hpp>#include <gui/widgets/aln_multiple/alnvec_multi_ds.hpp>#include <gui/widgets/aln_multiple/trace_graph.hpp>#include <gui/widgets/aln_multiple/alnvec_multi_model.hpp>BEGIN_NCBI_SCOPE/////////////////////////////////////////////////////////////////////////////////// class CAlnVecMultiWidget - specialization of CAlnMultiWidget for /// CAlnVec-based alignments.class NCBI_GUIWIDGETS_ALNMULTIPLE_EXPORT CAlnVecMultiWidget : public CAlnMultiWidget{public: CAlnVecMultiWidget(int x, int y, int w, int h, const char* label = NULL); ~CAlnVecMultiWidget(); void SetTraceGraphStyle(CTraceGraphProperties::ESingnalStyle style); inline CAlnVecMultiModel* GetAlnVecModel(void) { return dynamic_cast<CAlnVecMultiModel*>(m_pModel); }protected: /// factory method creating CAlnVecMultiModel virtual void x_CreateModel(void); virtual void x_UpdateOnDataChanged(bool reset = true); void x_UpdateOnSwitchMaster(TNumrow NewMasterRow); virtual void x_SetSignalStyle(CAlnVecRow* p_row); private: CTraceGraph::ESingnalStyle m_SignalStyle;};END_NCBI_SCOPE#endif // GUI_WIDGETS_ALNMULTI___ALNVEC_MULTI_WIDGET__HPP/* * =========================================================================== * $Log: alnvec_multi_widget.hpp,v $ * Revision 1000.3 2004/06/01 19:51:44 gouriano * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.8 * * Revision 1.8 2004/04/29 21:49:04 johnson * make viewport reset in x_UpdateOnDataChanged optional * * Revision 1.7 2004/04/02 16:25:14 yazhuk * Added GetAlnVecModel(), x_UpdateOnSwitchMaster() * * Revision 1.6 2004/03/29 19:02:41 yazhuk * Added GetAlnVecModel() and Graph style management * * Revision 1.5 2004/03/17 20:09:43 yazhuk * Factored out part of CAlnVecMultiWidget to separate class CAlnVecMultiModel * * Revision 1.4 2004/02/11 17:44:02 yazhuk * Implemented support for multiple scoring methods * * Revision 1.3 2003/12/22 16:37:24 yazhuk * Replaced x_Update() with x_UpdateOnDataChanged() * * Revision 1.2 2003/11/06 20:01:09 dicuccio * Removed USING_SCOPE(objects) * * Revision 1.1 2003/10/29 23:29:38 yazhuk * Initial revision * * =========================================================================== */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -