Canola
0.8.D001
|
#include <prog_mode.h>
Public Member Functions | |
virtual | ~dialog_prog_mode () |
dialog_prog_mode (calculator_gnome *subject) | |
void | on_response (int response_id) |
Private Member Functions | |
dialog_prog_mode () | |
dialog_prog_mode (const dialog_prog_mode &rhs) | |
dialog_prog_mode & | operator= (const dialog_prog_mode &rhs) |
Private Attributes | |
calculator_gnome * | subject |
Gtk::Label | message |
The dialog_prog_mode class is used to represent the UI elements to warn when the program mode is probably wrong, and give the user a chance to change it.
Definition at line 31 of file prog_mode.h.
dialog_prog_mode::~dialog_prog_mode | ( | ) | [virtual] |
The destructor.
Definition at line 23 of file prog_mode.cc.
dialog_prog_mode::dialog_prog_mode | ( | calculator_gnome * | subject | ) |
The constructor.
subject | The calculator instance to be manipulated. |
Definition at line 28 of file prog_mode.cc.
dialog_prog_mode::dialog_prog_mode | ( | ) | [private] |
The default constructor. Do not use.
dialog_prog_mode::dialog_prog_mode | ( | const dialog_prog_mode & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
void dialog_prog_mode::on_response | ( | int | response_id | ) |
Definition at line 52 of file prog_mode.cc.
dialog_prog_mode& dialog_prog_mode::operator= | ( | const dialog_prog_mode & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
Gtk::Label dialog_prog_mode::message [private] |
The message instance variable is used to rememeber the accumulated text of the error messages.
Definition at line 62 of file prog_mode.h.
calculator_gnome* dialog_prog_mode::subject [private] |
The subject instance variable is used to remember the calculator instance to be manipulated.
Definition at line 56 of file prog_mode.h.