report_view_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- /*
- * ===========================================================================
- * PRODUCTION $Log: report_view_.hpp,v $
- * PRODUCTION Revision 1000.0 2004/06/01 19:54:16 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [GCC34_MSVC7] Dev-tree R1.1
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef report_view__hpp
- #define report_view__hpp
- #include <FL/Fl.H>
- /* $Id: report_view_.hpp,v 1000.0 2004/06/01 19:54:16 gouriano Exp $ */
- #include <FL/Fl_Double_Window.H>
- #include <FL/Fl_Box.H>
- class NCBI_GUICORE_EXPORT CReportView : public CView {
- public:
- CReportView();
- void SetColumn(size_t col_idx, const string& col_header, Fl_Align align = FL_ALIGN_CENTER, float width = 1.0f);
- void Reserve(size_t rows, size_t cols);
- string& SetCell(size_t row, size_t col);
- const string& GetCell(size_t row, size_t col) const;
- void SetData(size_t row, const CSerialObject& obj);
- const CSerialObject& GetData(size_t row) const;
- void SetTitle(const string& str);
- const string& GetTitle() const;
- void OnSelectionChanged(const CSelectionBuffer& sels);
- void OnVisibleRangeChanged(const objects::CSeq_loc& loc);
- private:
- Fl_Double_Window* x_CreateWindow();
- CReportTable *m_Table;
- string m_Title;
- };
- #endif