#include <vectorwindow.h>
Public Member Functions | |
| VectorWindow (bool isedit=false) | |
| bool | is_cancelled () const |
| Indicates whether or not the dialog was canceled. | |
| void | set_vector (const GVectors::GVector &vec) |
| Fill the widgets from the values provided by the GVector. | |
| void | set_name (const Glib::ustring &n) |
| Set the name text entry value. | |
| const GVectors::GVector & | get_vector () const |
| Get the GVector composed from the user input. | |
| const Glib::ustring & | get_name () const |
| Get the name of the vector. | |
Protected Member Functions | |
| void | on_button_add_click () |
| void | on_button_close_click () |
Private Attributes | |
| Gtk::VBox | vbox |
| Gtk::HBox | namebox |
| Gtk::HBox | xbox |
| Gtk::HBox | ybox |
| Gtk::HBox | zbox |
| Gtk::HButtonBox | bbox |
| Gtk::Label | namelabel |
| Gtk::Label | xlabel |
| Gtk::Label | ylabel |
| Gtk::Label | zlabel |
| Gtk::Entry | nameentry |
| Gtk::Adjustment | xadj |
| Gtk::Adjustment | yadj |
| Gtk::Adjustment | zadj |
| Gtk::SpinButton | xspin |
| Gtk::SpinButton | yspin |
| Gtk::SpinButton | zspin |
| Gtk::Button | badd |
| Gtk::Button | bclose |
| GVectors::GVector | vector |
| The vector composed from the user input. | |
| Glib::ustring | name |
| The name of the vector. | |
| bool | cancelled |
| Indicates whether or not the dialog was canceled. | |
| VectorWindow::VectorWindow | ( | bool | isedit = false |
) |
| isedit | Pass true to set the label of the confirm button to 'edit'. Pass false to set the label to 'add'. |
| void VectorWindow::on_button_add_click | ( | ) | [protected] |
| void VectorWindow::on_button_close_click | ( | ) | [protected] |
| bool VectorWindow::is_cancelled | ( | ) | const |
Indicates whether or not the dialog was canceled.
| void VectorWindow::set_vector | ( | const GVectors::GVector & | vec | ) |
Fill the widgets from the values provided by the GVector.
| void VectorWindow::set_name | ( | const Glib::ustring & | n | ) |
Set the name text entry value.
| const GVectors::GVector & VectorWindow::get_vector | ( | ) | const |
Get the GVector composed from the user input.
| const Glib::ustring & VectorWindow::get_name | ( | ) | const |
Get the name of the vector.
Gtk::VBox VectorWindow::vbox [private] |
Gtk::HBox VectorWindow::namebox [private] |
Gtk::HBox VectorWindow::xbox [private] |
Gtk::HBox VectorWindow::ybox [private] |
Gtk::HBox VectorWindow::zbox [private] |
Gtk::HButtonBox VectorWindow::bbox [private] |
Gtk::Label VectorWindow::namelabel [private] |
Gtk::Label VectorWindow::xlabel [private] |
Gtk::Label VectorWindow::ylabel [private] |
Gtk::Label VectorWindow::zlabel [private] |
Gtk::Entry VectorWindow::nameentry [private] |
Gtk::Adjustment VectorWindow::xadj [private] |
Gtk::Adjustment VectorWindow::yadj [private] |
Gtk::Adjustment VectorWindow::zadj [private] |
Gtk::SpinButton VectorWindow::xspin [private] |
Gtk::SpinButton VectorWindow::yspin [private] |
Gtk::SpinButton VectorWindow::zspin [private] |
Gtk::Button VectorWindow::badd [private] |
Gtk::Button VectorWindow::bclose [private] |
GVectors::GVector VectorWindow::vector [private] |
The vector composed from the user input.
Glib::ustring VectorWindow::name [private] |
The name of the vector.
bool VectorWindow::cancelled [private] |
Indicates whether or not the dialog was canceled.
1.4.7