src/gui/widgets/aln_table/annot_filter_dlg.cpp

Go to the documentation of this file.
00001 /*  $Id: annot_filter_dlg.cpp 14892 2007-08-29 14:14:42Z dicuccio $
00002  * ===========================================================================
00003  *
00004  *                            PUBLIC DOMAIN NOTICE
00005  *               National Center for Biotechnology Information
00006  *
00007  *  This software/database is a "United States Government Work" under the
00008  *  terms of the United States Copyright Act.  It was written as part of
00009  *  the author's official duties as a United States Government employee and
00010  *  thus cannot be copyrighted.  This software/database is freely available
00011  *  to the public for use. The National Library of Medicine and the U.S.
00012  *  Government have not placed any restriction on its use or reproduction.
00013  *
00014  *  Although all reasonable efforts have been taken to ensure the accuracy
00015  *  and reliability of the software and data, the NLM and the U.S.
00016  *  Government do not and cannot warrant the performance or results that
00017  *  may be obtained by using this software or data. The NLM and the U.S.
00018  *  Government disclaim all warranties, express or implied, including
00019  *  warranties of performance, merchantability or fitness for any particular
00020  *  purpose.
00021  *
00022  *  Please cite the author in any work or product based on this material.
00023  *
00024  * ===========================================================================
00025  *
00026  * Authors:  Mike DiCuccio
00027  *
00028  * File Description:
00029  *
00030  */
00031 
00032 #include <ncbi_pch.hpp>
00033 #include "annot_filter_dlg.hpp"
00034 
00035 #include <gui/widgets/fl/input.hpp>
00036 #include <gui/widgets/fl/button.hpp>
00037 #include <gui/widgets/fl/return_button.hpp>
00038 #include <gui/widgets/fl/checkbutton.hpp>
00039 #include <gui/widgets/fl/dialog_back.hpp>
00040 #include <gui/widgets/fl/box.hpp>
00041 
00042 #include <gui/widgets/seq/feature_types_dlg.hpp>
00043 
00044 BEGIN_NCBI_SCOPE
00045 USING_SCOPE(objects);
00046 
00047 #include "annot_filter_dlg_.cpp"
00048 
00049 CAnnotCompareFilterDlg::CAnnotCompareFilterDlg(SAnnotCompareFilter& params)
00050     : m_Params(params)
00051 {
00052     m_Window.reset(x_CreateWindow());
00053     CenterOnActive();
00054 }
00055 
00056 
00057 void CAnnotCompareFilterDlg::LoadSettings()
00058 {
00059 }
00060 
00061 void CAnnotCompareFilterDlg::SaveSettings()
00062 {
00063 }
00064 
00065 
00066 void CAnnotCompareFilterDlg::x_UpdateData(EDDXDirection dir)
00067 {
00068     DDX_CheckButton(m_ShowIdenticalLoc,  m_Params.show_identical_loc,  dir);
00069     DDX_CheckButton(m_ShowIdenticalSeq,  m_Params.show_identical_seq,  dir);
00070     DDX_CheckButton(m_ShowIdenticalProd, m_Params.show_identical_prod, dir);
00071     DDX_CheckButton(m_ShowNotFound,      m_Params.show_not_found,      dir);
00072     DDX_CheckButton(m_ShowMissingExons,  m_Params.show_missing_exons,  dir);
00073     DDX_CheckButton(m_Show5PrimeExt,     m_Params.show_5prime_ext,     dir);
00074     DDX_CheckButton(m_Show3PrimeExt,     m_Params.show_3prime_ext,     dir);
00075     DDX_CheckButton(m_ShowComplex,       m_Params.show_complex,        dir);
00076 }
00077 
00078 
00079 void CAnnotCompareFilterDlg::x_OnChooseFeatTypes()
00080 {
00081     set<CFeatListItem> feat_types;
00082     CFeatureTypesDlg dlg(feat_types, "Select Features to Show");
00083     dlg.CenterOnActive();
00084 
00085     if (dlg.ShowModal() == eOK)  {
00086     }
00087 }
00088 
00089 
00090 END_NCBI_SCOPE
00091 
00092 

Generated on Sun Dec 6 22:30:39 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:21:03 2009 by modify_doxy.py rev. 173732