Ignore:
Timestamp:
04/15/12 11:03:59 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Created an integer entry widget and made use of it for entering the cargo weight and the takeoff speeds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/gui.py

    r81 r84  
    108108        """Get the flight being performed."""
    109109        return self._flight
     110
     111    @property
     112    def zfw(self):
     113        """Get Zero-Fuel Weight calculated for the current flight."""
     114        return self._wizard.zfw
     115       
     116    @property
     117    def cruiseAltitude(self):
     118        """Get cruise altitude calculated for the current flight."""
     119        return self._wizard.cruiseAltitude
     120       
     121    @property
     122    def v1(self):
     123        """Get the V1 speed calculated for the flight."""
     124        return self._wizard.v1
     125       
     126    @property
     127    def vr(self):
     128        """Get the Vr speed calculated for the flight."""
     129        return self._wizard.vr
     130       
     131    @property
     132    def v2(self):
     133        """Get the V2 speed calculated for the flight."""
     134        return self._wizard.v2
    110135       
    111136    def run(self):
     
    234259        self._statusbar.setStage(stage)
    235260        self._statusIcon.setStage(stage)
     261        self._wizard.setStage(stage)
    236262
    237263    def setRating(self, rating):
Note: See TracChangeset for help on using the changeset viewer.