Go to the SVN repository for this file.
1 #ifndef GUI_WIDGETS_WX___UI_TOOL__HPP 2 #define GUI_WIDGETS_WX___UI_TOOL__HPP 4 /* $Id: ui_tool.hpp 25706 2012-04-25 00:21:04Z voronov $ 5 * =========================================================================== 8 * National Center for Biotechnology Information 10 * This software/database is a "United States Government Work" under the 11 * terms of the United States Copyright Act. It was written as part of 12 * the author's official duties as a United States Government employee and 13 * thus cannot be copyrighted. This software/database is freely available 14 * to the public for use. The National Library of Medicine and the U.S. 15 * Government have not placed any restriction on its use or reproduction. 17 * Although all reasonable efforts have been taken to ensure the accuracy 18 * and reliability of the software and data, the NLM and the U.S. 19 * Government do not and cannot warrant the performance or results that 20 * may be obtained by using this software or data. The NLM and the U.S. 21 * Government disclaim all warranties, express or implied, including 22 * warranties of performance, merchantability or fitness for any particular 25 * Please cite the author in any work or product based on this material. 27 * =========================================================================== 29 * Authors: Andrey Yazhuk 31 * File Description: Defines base interfaces and classes 32 * (i.e. for Alignment Scoring Methods). 49 //////////////////////////////////////////////////////////////////////////////// 50 /// IUITool represents an abstract algorithm that is bound to a UI component. 51 /// IUITool has a unique Name that identifies the algorithm and Description that 52 /// can contain provide detailed information. Both Name and Description are 53 /// supposed to be human-readable so that they can be used in UI. 54 /// IUITool serves as a base class for the hierarchy of interfaces representing 55 /// various types of algorithms such as alignment scoring methods, functions 56 /// calculated along the sequence, search methods etc. 66 /// returns unique name of the method that is used in UI to identify it 69 /// returns a detailed description of the method that is used in UI 73 //////////////////////////////////////////////////////////////////////////////// 80 /// loads only descriptive information 83 // loads all information 86 /// @name Edit interface 88 virtual void SetName(
const string& s) = 0;
91 /// saves only descriptive information 94 // saves all information 99 //////////////////////////////////////////////////////////////////////////////// 100 /// IUIToolWithGUI - represents a method that can be integrated in GUI. 106 /// Returns a pointer to the submenu. If the pointer is not NULL, then this 107 /// submenu is integrated into the application's menu. If method is derived 108 /// from CCommandTarget it will recieve command events. 111 /// returns true if the method supports properties dialog 114 /// This a factory method that shall produce a CPropertiesPanel 115 /// representing properties of the method; the panel Apply() must take care 116 /// of appying changes to the method. 122 #endif // GUI_WIDGETS_WX___UI_TOOL__HPPCMenuItem - represents a menu items in IMenu-style menus.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
Defines to provide correct exporting from DLLs in Windows.
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