From 48543cb2cb7f440c9a36ac6d66ebd00053e7f657 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 29 Mar 2006 05:42:22 +0000 Subject: r10987@tres: ted | 2006-02-28 01:06:37 -0800 The leg bone is connected to the knee bone The extension bone is connected to the extension-editor bone (bzr r351) --- src/ui/dialog/extension-editor.h | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'src/ui/dialog/extension-editor.h') diff --git a/src/ui/dialog/extension-editor.h b/src/ui/dialog/extension-editor.h index 65eb0c97e..7fb6e87a5 100644 --- a/src/ui/dialog/extension-editor.h +++ b/src/ui/dialog/extension-editor.h @@ -21,6 +21,7 @@ #include #include #include +#include #include "extension/extension.h" @@ -43,23 +44,34 @@ protected: /** \brief The model for the list of extensions */ Glib::RefPtr _page_list_model; /** \brief The notebook page that contains information */ - Gtk::VBox _notebook_info; + Gtk::ScrolledWindow _notebook_info; /** \brief The notebook page that contains help info */ - Gtk::VBox _notebook_help; + Gtk::ScrolledWindow _notebook_help; /** \brief The notebook page that holds all the parameters */ - Gtk::VBox _notebook_params; + Gtk::ScrolledWindow _notebook_params; //Pagelist model columns: class PageListModelColumns : public Gtk::TreeModel::ColumnRecord { public: + /** \brief Creates the Page List model by adding all of the + members of the class as column records. */ PageListModelColumns() { Gtk::TreeModelColumnRecord::add(_col_name); - Gtk::TreeModelColumnRecord::add(_col_page); Gtk::TreeModelColumnRecord::add(_col_id); + Gtk::TreeModelColumnRecord::add(_col_info); + Gtk::TreeModelColumnRecord::add(_col_help); + Gtk::TreeModelColumnRecord::add(_col_params); } + /** \brief Name of the extension */ Gtk::TreeModelColumn _col_name; + /** \brief ID of the extension */ Gtk::TreeModelColumn _col_id; - Gtk::TreeModelColumn _col_page; + /** \brief Info widget for the extension (NULL if unset) */ + Gtk::TreeModelColumn _col_info; + /** \brief Help widget for the extension (NULL if unset) */ + Gtk::TreeModelColumn _col_help; + /** \brief Parameters list of the extension (NULL if unset) */ + Gtk::TreeModelColumn _col_params; }; PageListModelColumns _page_list_columns; -- cgit v1.2.3