Foodolini.Activities.Inventory.ConsumeFoodItem Class Reference

Dialog were the user can select the quantity of food to consume. More...

Collaboration diagram for Foodolini.Activities.Inventory.ConsumeFoodItem:
Collaboration graph

List of all members.

Public Member Functions

 ConsumeFoodItem (FoodItem foodItem, Person person)
 display the selected person and sets the quantity of the spinbutton

Protected Member Functions

virtual void Build ()

Properties

double Quantity [get]

Private Attributes

Gtk.Alignment alignment1
Gtk.VBox vbox2
Gtk.Label lbover
Gtk.Label lbUser
Gtk.HBox hbox1
Gtk.Label lbQuan
Gtk.SpinButton spingram
Gtk.Label lbgram
Gtk.HSeparator hseparator2
Gtk.Button buttonCancel
Gtk.Button buttonOk

Detailed Description

Dialog were the user can select the quantity of food to consume.

Definition at line 15 of file ConsumeFoodItem.cs.


Constructor & Destructor Documentation

Foodolini.Activities.Inventory.ConsumeFoodItem.ConsumeFoodItem ( FoodItem  foodItem,
Person  person 
)

display the selected person and sets the quantity of the spinbutton

Parameters:
foodItem A FoodItem to be consumed
person A Person to consume the FoodItem

Definition at line 27 of file ConsumeFoodItem.cs.


Member Function Documentation

virtual void Foodolini.Activities.Inventory.ConsumeFoodItem.Build (  )  [protected, virtual]

Member Data Documentation


Property Documentation

double Foodolini.Activities.Inventory.ConsumeFoodItem.Quantity [get]

returns the quantity of the spinbutton

Definition at line 45 of file ConsumeFoodItem.cs.


The documentation for this class was generated from the following files:

Foodolini 1.0.0 Documentation, generated with DoxyGen.