VectorChooser Class Reference

A dialog used to choose a vector. More...

#include <vectorchooser.h>

List of all members.

Public Member Functions

 VectorChooser (Glib::RefPtr< Gtk::TreeStore > lstore)
 VectorChooser (Glib::RefPtr< Gtk::TreeStore > lstore, Glib::ustring &lt)
 ~VectorChooser ()
GVectors::gvid_t get_parent_id () const
 Get the vector store id of the vector selected.
Gtk::TreeModel::iterator get_iterator () const
 Get the tree view iterator of the item selected.
bool is_cancelled () const
 Indicates whether or not the user canceled the dialog.

Protected Member Functions

void on_button_choose_click ()
void on_button_cancel_click ()

Private Member Functions

void setup_window ()

Private Attributes

Gtk::VBox vbox
Gtk::ScrolledWindow sw
Gtk::Label label
Gtk::HButtonBox bbox
Gtk::Button bchoose
Gtk::Button bcancel
Gtk::TreeView vectorview
Gtk::TreeModel::iterator it
Glib::ustring labeltext
Glib::RefPtr< Gtk::TreeStore > liststore
VectorList vectorlist
GVectors::gvid_t parent_id
 The vector store id of the vector chosen.
bool cancelled
 Flag indicating whether or not the user canceled the dialog.


Detailed Description

A dialog used to choose a vector.

Currently, this dialog is only used in conjunction with the cross product of vectors to choose were to add the product.


Constructor & Destructor Documentation

VectorChooser::VectorChooser ( Glib::RefPtr< Gtk::TreeStore >  lstore  ) 

VectorChooser::VectorChooser ( Glib::RefPtr< Gtk::TreeStore >  lstore,
Glib::ustring &  lt 
)

VectorChooser::~VectorChooser (  )  [inline]


Member Function Documentation

void VectorChooser::setup_window (  )  [private]

void VectorChooser::on_button_choose_click (  )  [protected]

void VectorChooser::on_button_cancel_click (  )  [protected]

GVectors::gvid_t VectorChooser::get_parent_id (  )  const [inline]

Get the vector store id of the vector selected.

Gtk::TreeModel::iterator VectorChooser::get_iterator (  )  const [inline]

Get the tree view iterator of the item selected.

bool VectorChooser::is_cancelled (  )  const [inline]

Indicates whether or not the user canceled the dialog.


Member Data Documentation

Gtk::VBox VectorChooser::vbox [private]

Gtk::ScrolledWindow VectorChooser::sw [private]

Gtk::Label VectorChooser::label [private]

Gtk::HButtonBox VectorChooser::bbox [private]

Gtk::Button VectorChooser::bchoose [private]

Gtk::Button VectorChooser::bcancel [private]

Gtk::TreeView VectorChooser::vectorview [private]

Gtk::TreeModel::iterator VectorChooser::it [private]

Glib::ustring VectorChooser::labeltext [private]

Glib::RefPtr<Gtk::TreeStore> VectorChooser::liststore [private]

VectorList VectorChooser::vectorlist [private]

GVectors::gvid_t VectorChooser::parent_id [private]

The vector store id of the vector chosen.

Todo:
Rename. The name may be missleading.

bool VectorChooser::cancelled [private]

Flag indicating whether or not the user canceled the dialog.

Todo:
Decide whether we are using British or American English.


The documentation for this class was generated from the following files:
Generated on Tue Sep 11 01:14:33 2007 for gvectors by  doxygen 1.4.7