📄 plugin_table.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: plugin_table.hpp,v $ * PRODUCTION Revision 1000.1 2004/04/12 19:07:39 gouriano * PRODUCTION PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.8 * PRODUCTION * =========================================================================== */#ifndef GUI_GBENCH___PLUGIN_TABLE__HPP#define GUI_GBENCH___PLUGIN_TABLE__HPP/* $Id: plugin_table.hpp,v 1000.1 2004/04/12 19:07:39 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: Mike DiCuccio * * File Description: * CPluginTable - multi-column list display for plugin information */#include <gui/widgets/fl/table_panel.hpp>#include <gui/core/plugin_handle.hpp>BEGIN_NCBI_SCOPEclass CPluginTable : public CTablePanel<CPluginHandle>{public: // enumerated list of our columns enum EColumn { eLibName, // library from whence the plugin came eDescription, // basic description of the library (tooltip) eClassName, // unique class name identifying the plugin ePluginType, // view, data loader, algorithm eLoaded, // flag: is the plugin actually loaded? eEnabled, // flag: is the plugin enabled? eVersion, // version (including revision) of the plugin eBuildDate, // build date for the plugin // this must be last! eMaxCols }; CPluginTable(int x, int y, int w, int h, const char* label = NULL); ~CPluginTable(); // Update the table relative to the current list(s) of plugins void Update();protected: // FLTK overload: event handler virtual int handle(int event);};END_NCBI_SCOPE#endif // GUI_GBENCH___PLUGIN_TABLE__HPP/* * =========================================================================== * $Log: plugin_table.hpp,v $ * Revision 1000.1 2004/04/12 19:07:39 gouriano * PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.8 * * Revision 1.8 2003/12/09 15:51:22 dicuccio * Deprecated Fl_Toggle_Tree - replaced with Flu_Tree_Browser. Added CTreeBrowser * as a standard tree interface * * Revision 1.7 2003/07/28 11:51:47 dicuccio * Rewrote CTablePanel<> to be more flexible and better contained. Added standard * multicolumn list dialog. Deprecated use of COutputDlg. * * Revision 1.6 2003/06/25 17:02:56 dicuccio * Split CPluginHandle into a handle (pointer-to-implementation) and * implementation file. Lots of #include file clean-ups. * * Revision 1.5 2003/02/25 14:48:16 dicuccio * Implemented most of the plugin manager dialog features. * * Revision 1.4 2003/02/20 19:50:47 dicuccio * Created new plugin architecture, based on ASN.1 spec. Moved GBENCH framework * over to use new architecture. * * Revision 1.3 2003/01/17 19:01:16 dicuccio * Added plugin description column * * Revision 1.2 2003/01/13 13:10:10 dicuccio * Namespace clean-up. Retired namespace gui -> converted all to namespace ncbi. * Moved all FLUID-generated code into namespace ncbi. * * Revision 1.1 2003/01/10 17:27:15 dicuccio * Added first pass at plugin manager dialog - displays information about the * currently loaded plugins, allows setting plugin paths via GUI * * =========================================================================== */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -