Changeset 249:d055e454a7ea


Ignore:
Timestamp:
06/19/12 14:52:44 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Implemented option to control whether to quit or hide when the window close button is pressed

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • MLXMANIFEST

    r235 r249  
    77library/fnmatch.pyc     3414    4d50000f78e903598af06ef1c5cfb3ef
    88library/libexpat-1.dll  143096  701659d3689bf4a8265b669b7d774255
    9 library/gtk/_gtk.pyc    549     7d192d115898cfaaf14a86702681f64c
     9library/gtk/_gtk.pyc    549     62e6ece1b68a9f805ac450b7f4672016
    1010library/encodings/cp858.pyc     7591    02054a0b8e91b9758826eb70cddf096f
    1111library/mlx/pirep.pyc   4829    b10b272e93f3f59d3ac01ac4db9bfe9b
     
    1313library/encodings/unicode_internal.pyc  2022    1e902113491e0c334b44deb0c8940e01
    1414library/libpango-1.0-0.dll      333729  5a14efd93ee27cfe960220fe4a904911
    15 library/mlx/gui/gui.pyc 43184   6e9687c5f3ffaf7d2f0cd7c6994c5a07
     15library/mlx/gui/gui.pyc 43821   ed6a97afa7a2f88731d22fcaf2eaa51f
    1616library/encodings/cp737.pyc     8102    40e61988748e4ca1742a2bad43949f4e
    1717library/stat.pyc        2503    d3b6dc7a54e705219f04d0be75a212de
     
    2222library/encodings/cp932.pyc     1638    e060301989634a7fb30ded375011cb09
    2323library/share/locale/hu/LC_MESSAGES/gtk20.mo    58794   6ee4491ae7bc9d3dfb778578eb29a0b3
    24 library/gobject/_gobject.pyc    573     543d8abb45a9f0c58ce281c6ac1f59be
     24library/gobject/_gobject.pyc    573     b5a9a2cc80613116fdead5bc78858f5f
    2525library/encodings/utf_7.pyc     1747    2beeb059236527197d6c640396476ce8
    2626doc/manual/hu/pirepViewer.png   22216   326127e30fa405919b337cc9920698ed
     
    7272library/_hashlib.pyd    287232  a1a18de0644f481749fcbcf26005eeaf
    7373doc/manual/en/monitorWindow.png 16582   e07cbd4f5b360e1e8e80bc8409ad242b
    74 library/_hashlib.pyc    549     3add2a0626af6dab86527cbe9bafad3e
     74library/_hashlib.pyc    549     dca683337de8bef9aa04c863f7c93ba2
    7575library/libpng14-14.dll 230529  f3a15497e25baaa721f96638d7a4d2f8
    7676library/copy.pyc        11674   30d1745c5e38ab170f8a0486fbebf305
     
    8585library/traceback.pyc   11223   50ace5c2c6c040a923082442da94cd78
    8686library/_weakrefset.pyc 9290    a56e87c491c0511cd329a3c8c4cd9563
    87 library/mlx/flight.pyc  7901    91e5e202e9784e89a2af332171218adf
     87library/mlx/flight.pyc  9126    e29680459d9702b4f4feb5d042bd1fe9
    8888library/urllib2.pyc     43566   7eb57ea0dcd1086d1d9073a5cefb0903
    8989doc/manual/en/flightSelection.png       25456   84e5574bc58ff156da71470550d540d8
     
    111111library/encodings/mac_latin2.pyc        4717    564dbaf5c296a147203eb821dc2466ba
    112112library/encodings/utf_16_be.pyc 1854    84a1d1465453727af051eaeeb853782f
    113 library/mlx/fsuipc.pyc  60342   2c3ef62d8dfc77ff0a465f060cbad262
     113library/mlx/fsuipc.pyc  60440   29d13c6c91ee4613e5492ceb002795f1
    114114library/xml/sax/__init__.pyc    3579    c78222ad1fd4f3dbdea06666fe74e84e
    115115doc/manual/en/connect.png       24272   01e31d899c4ede823423f705c6886f30
     
    123123library/libgdk-win32-2.0-0.dll  931390  a2b46daac3d4140efdf86429f7aea476
    124124library/win32file.pyd   111616  25ecaa0a381c6fd9ba4080bea63b952e
    125 library/mlx/gui/common.pyc      8555    70055ebda63c5f6df823c9f7d5ee926f
     125library/mlx/gui/common.pyc      8866    281ed65f74e184bf6b174832e0f778be
    126126library/dummy_threading.pyc     1265    5ab5c897721aeb346b5bccb84066c5bd
    127 doc/manual/hu/index.html        38998   c6431db1fc1d15f28da5550872208b17
     127doc/manual/hu/index.html        39275   b11d27d11a515e8de5d2a071ea7cd92e
    128128library/encodings/cp1258.pyc    2681    5c09b3b0a82036b0e785422376cb64cc
    129129sounds/767taxi.mp3      160496  4cb43cda6e1214fbe15328a716827345
    130130doc/manual/en/prefsAdvanced.png 13720   d43a6df9991d331ce8fdc9fedae514c3
    131 library/cairo/_cairo.pyc        561     501e6324f79bf0786e7d311ddfa75fba
    132 library/win32file.pyc   552     ccb77380c25fc661333071d87617bdc2
     131library/cairo/_cairo.pyc        561     9bd9e7f10dca7b761d427158ff2930f5
     132library/win32file.pyc   552     591709d47250cb0c37edecf29752c279
    133133library/encodings/cp865.pyc     7868    7d40a7ba053ac23339218be8799e5397
    134134library/lib/gtk-2.0/2.10.0/engines/libwimp.dll  97984   a5bbbe46e1363aba9020a76f2d58e9d6
     
    139139library/share/locale/hu/LC_MESSAGES/gtk20-properties.mo 167125  cd1b1b3693c1e3c74bfcea20be640cc6
    140140sounds/cpt_takeoff.mp3  8255    254edcf79b8b3752d1a7c191c57f615a
    141 library/bz2.pyc 534     8833b5c4c24a70c7bb85e49b8a237b0c
     141library/bz2.pyc 534     8c276a040ef80dd7f37738dca8d2608e
    142142library/xml/sax/expatreader.pyc 13563   4f64c0efb2f1f8dbba84cdb5c6036f2d
    143143library/email/utils.pyc 8840    a7be428df6fddee6121cfce55382d1f8
     
    155155library/mlx/gui/statusbar.pyc   4616    2909310114db08ca8d3162e70ef22519
    156156library/warnings.pyc    12666   9788b5f45765e8204e04c820f2711094
    157 mlxupdate.exe   19456   4a4fa7ae880604d864bdbffcaaae230f
    158 library/mlx/const.pyc   6372    5268ee8d7c68b76ad249bba888c44bdd
     157mlxupdate.exe   19456   17a5088ab4d816795b0e949749b8cb95
     158library/mlx/const.pyc   6433    a4af8abc3baceb244403fd3eb08d36f4
    159159library/email/errors.pyc        3229    cdb78ab237e195ad69f059128bc03b1d
    160160library/linecache.pyc   3091    666e6f81b0ea9a7637f8068493f738d5
     
    169169library/shlex.pyc       7282    cbe1a4823894c97c87d01f9d9faf5b8f
    170170library/cairo/__init__.pyc      142     010dd7cc8485565d5782d60e92e4ba34
    171 library/_ssl.pyc        537     7eab9544da101c653a76a0dcfd6e1373
     171library/_ssl.pyc        537     1388c2dad4eb19e45291a48c82c6e092
    172172library/encodings/iso8859_8.pyc 2717    f3ad6ce58cfac9e3ca86cf5c2fef092b
    173173library/encodings/iso2022_jp_1.pyc      1699    faed9d5747e982cec9fa8b3ad8e1de26
     
    189189library/encodings/cp1252.pyc    2676    b4c43cc72650c911cf3654dbaf565df9
    190190library/share/locale/hu/LC_MESSAGES/atk10.mo    8465    e3f3466da367215aad971d7b0394229d
    191 library/unicodedata.pyc 558     5f269b073ac6e96770020e663d8f3842
     191library/unicodedata.pyc 558     bd46f6a9f988c93894f88e8c8cda5f7b
    192192library/encodings/uu_codec.pyc  4646    5282a5fcb676851224d2924aa3e48a9e
    193193library/ConfigParser.pyc        23857   1d17020dd0000ce0f73de812effa152f
     
    207207library/libfontconfig-1.dll     279059  dd583bedc5efe7bbd21a8ef107dec88d
    208208library/_strptime.pyc   14347   ad17a449b54061177a080e3a21507a39
    209 library/mlx/singleton.pyc       8683    bea8e5c79773e51096594f018bf26a7d
     209library/mlx/singleton.pyc       9071    b845ee7e73b76a52d1c27a7da5d3593f
    210210library/locale.pyc      48754   a51d20267132acc6bc66ac6252cf870f
    211211library/socket.pyc      15488   35f8eb455d6d8df8e19826d1dd7193f2
     
    220220doc/manual/hu/flightInfoTab.png 19400   2de8b79f3d55c21124b6a67772dc946a
    221221library/encodings/utf_8_sig.pyc 4625    1b1405db186e5819fa271ff96c1ca2c5
    222 library/pangocairo.pyc  555     2eef917704c759bc94d6f947f27cd2c6
     222library/pangocairo.pyc  555     0fd682dcb79d1b762e9c3dacb04de39b
    223223library/encodings/cp1255.pyc    2697    b265913c887f2e1c8736632b652c0093
    224224library/encodings/zlib_codec.pyc        4308    319c9073aff840436a03cc1fa0b08fb5
     
    233233library/intl.dll        152489  eb2d4c4d4a527bc88a69a16cc99afcf5
    234234library/encodings/mbcs.pyc      1883    2213911a7dd0deada6799b63e18b695b
    235 library/pyuipc.pyc      543     c418959bd3207a9f141bc28324a96955
     235library/pyuipc.pyc      543     8b82757d08652252e43a055f56f667cd
    236236sounds/TOC.mp3  273032  fae1be2ad25c8b54806bd1d759919705
    237237library/encodings/iso8859_4.pyc 2678    16f2fe7994051752360c533c052b892b
     
    257257doc/manual/hu/flightSelection.png       25456   84e5574bc58ff156da71470550d540d8
    258258library/win32pipe.pyd   24064   de374eded459293b2a7eb8ed8fb38eaa
    259 library/win32pipe.pyc   552     eed99fdb4f07a860795f17e7614e501c
     259library/win32pipe.pyc   552     40fd408ab349bb74f64d14c87cb56832
    260260doc/manual/hu/logTab.png        26304   33ceb3d1ea4c1d899e11c1af8a641c6c
    261261library/encodings/iso2022_jp_2004.pyc   1723    66376e788f3819e781897268c1100986
    262 library/win32event.pyc  555     b7a23dd0cde32e687a8a77c706452b81
     262library/win32event.pyc  555     0caa040adb124fd824caf85fc3dec563
    263263library/encodings/cp866.pyc     8103    f36418dcf93b17b3ced63bd544f44159
    264 library/gio/_gio.pyc    549     bec2b7ba0283dafb6d68d520a0752313
     264library/gio/_gio.pyc    549     a3edb13651ec1de03b38a89e06008fa3
    265265library/encodings/cp437.pyc     7874    63f1278c0a66129c6fb4f504d6b61b66
    266266doc/manual/hu/helpTab.png       22529   741390bfffd1b3e27258d71a4287d5ca
     
    282282library/email/message.pyc       27764   493826f529d17f5a21080a4c98b49369
    283283library/encodings/mac_romanian.pyc      2756    a3b2a0892236bc80c8efe8940e33339e
    284 library/mlx/gui/pirep.pyc       16156   f9005173fe3080930772225d1422280e
     284library/mlx/gui/pirep.pyc       16269   e0727ceb74fafcd827de210206e7481e
    285285library/mimetypes.pyc   17806   927ce6a7079707aaee925e855ed23454
    286 library/_ctypes.pyc     546     cb0728e38563195f247b846ef0db40d5
     286library/_ctypes.pyc     546     433f41316933d89814c4592b910d47ae
    287287sounds/F70taxi.mp3      154854  51332dc691d3519355f61ed06c959d8d
    288288library/encodings/cp857.pyc     7611    1b46c8959ac097b73e1c680d464cdc32
     
    311311doc/manual/en/gatesTab.png      25611   6de724fef235fcdb11a5c960f9f40502
    312312library/bdb.pyc 17708   9a8fdcaa65f595c842689247847879d9
    313 library/mlx/gui/flight.pyc      95319   08dbd0da19666c0e33918ecab45438ac
     313library/mlx/gui/flight.pyc      95651   f6b21da3282b472ee86c9181ec9251d4
    314314library/unittest/case.pyc       37758   1d2235e74c246b562c5c00ddf73c621a
    315315library/subprocess.pyc  38648   c9f749db06dfc9fb32079de51d6efd01
    316 library/mlx/acft.pyc    31020   c994b5c82aa89c0519debe213eaf176d
     316library/mlx/acft.pyc    32103   11f8ab4a00d37f3783ee509e578ef2a5
    317317library/gobject._gobject.pyd    113152  3d05dd191361f83aa247b62c700fa04e
    318318doc/manual/hu/checklistEditor.png       26353   b8963432d1219a2138e22850b1b94b56
     
    322322library/gtk/_lazyutils.pyc      2772    93f9aa41ad4223106d99340cd539a566
    323323library/mlx/gui/statusicon.pyc  5604    0c8c2a27e99ba9dc1a3e6a0ad3976c67
    324 library/mlx/mlx.pyc     2544    3f01c12987dd8d9e7b09a402ea5fd934
     324library/mlx/mlx.pyc     2552    eba7e7f428c0b4248d5f60df6e072e04
    325325library/encodings/cp864.pyc     7999    ca90afae086cb6b8f69b8419cc3cd1cb
    326326library/pyexpat.pyd     152576  5a82e9ec95005aca6130751e5b961cc3
    327327library/encodings/cp863.pyc     7868    fc7ff06dab536b93c68fcb8e7bac713f
    328328library/xml/parsers/__init__.pyc        294     83f6a77ed8cd962b3c75c4779dc557ac
    329 library/pyexpat.pyc     546     da7e88f7ba77559e4fed02caf678f67d
     329library/pyexpat.pyc     546     70fc5780d48ca58c0e45f19bf1c1e67d
    330330doc/manual/hu/gateSelection.png 24178   8cfac257c4023be43ebce93139300f76
    331331logo.png        69816   4a7517b22cfd75cc9c15e3fc1b7ebeec
     
    352352library/_socket.pyd     38400   5d273be76603399e88cf57f2605004bf
    353353sounds/ding.wav 80856   18e639792d3767436ac6955eb60e4f54
    354 library/_socket.pyc     546     655ed071db01af567e52abf2370bfbe7
     354library/_socket.pyc     546     c9511726084d2f71ec52ba2f2dd6eac3
    355355library/encodings/hex_codec.pyc 3520    a8b8d5b7c8810379c7007bcbc253951c
    356 library/mlx/checks.pyc  42152   41b4efee57e9e047e17282316b038291
     356library/mlx/checks.pyc  42507   36eb9ba70c50a37fb249aec7f2ffaad0
    357357doc/manual/en/statusIcon2.png   5875    71fc121823dee0a4c00715fac1b5665c
    358358library/mlx/sound.pyc   6252    d7494805b1e57af97106bc39e666bd27
    359359doc/manual/en/pirepViewer.png   22216   326127e30fa405919b337cc9920698ed
    360360library/encodings/aliases.pyc   8750    75c22196420d0157fec085d285947a71
    361 library/glib/_glib.pyc  555     148163d18620ddd47b9278f249077e15
     361library/glib/_glib.pyc  555     e215ddef62a2ad0236cc7cbe2a3f4360
    362362library/libpangowin32-1.0-0.dll 108945  d07f128828225b7cc38e9e590eb3ba8a
    363363library/encodings/iso8859_10.pyc        2693    5e6cc8f721486ddbc1c99da285e13191
    364 library/win32api.pyc    549     943548962b5eb489dd6767aec6c0d092
     364library/win32api.pyc    549     73c70d58eecea751fc9ab847ff0b721d
    365365library/gobject/constants.pyc   1957    2e9cdc605e7c449ef4fc23f56128acec
    366366library/libgtk-win32-2.0-0.dll  4938115 cc6dca192aca6f91bd96a5b5f86e036d
     
    381381library/mlx/__init__.pyc        103     029f80bd80f880e6ca70ef4ba46f7d06
    382382library/encodings/iso8859_13.pyc        2696    f901ae0bbcfbb78f0c1783e89b2e2dc5
    383 library/mlx/i18n.pyc    76519   fcdd9b2d61ef9ca8d20b1703f096de11
     383library/mlx/i18n.pyc    77375   29d90f0333d1519d094d9ab83460ba07
    384384library/xml/sax/saxutils.pyc    12382   32ed045b3b520234ebea6a508a6569fe
    385385library/share/locale/hu/LC_MESSAGES/glib20.mo   84697   a3167f1c306a43d662f7c261abc69156
     
    388388library/webbrowser.pyc  18138   c85009edebad6d278fe786fec10ebbbe
    389389library/sre_compile.pyc 10792   c58f94fbee661f3bb0c59ecc13c0416e
    390 library/mlx/pyuipc_sim.pyc      47151   9035b1896b6097d0ee5e56516606bc3b
     390library/mlx/pyuipc_sim.pyc      47494   90a1169c5168149cfe6ecf721962f613
    391391library/encodings/iso8859_9.pyc 2678    88880e046738ebd2012c8034416a9adf
    392392library/encodings/cp875.pyc     2636    c72faa5d1cb6105ae81c971448fea479
     
    395395library/difflib.pyc     60869   38d2e1340b64e22d7b1fed90a57fb83a
    396396library/hashlib.pyc     4346    fc9aecaadc9607989e48449f46cbdfd1
    397 doc/manual/en/index.html        38998   c6431db1fc1d15f28da5550872208b17
     397doc/manual/en/index.html        39275   b11d27d11a515e8de5d2a071ea7cd92e
    398398library/encodings/cp1253.pyc    2689    52d4a723e9e86940701cb648b40ed884
    399399library/email/encoders.pyc      2092    cd83727bafdb4145b8fa43dd10ea48f3
    400400library/email/iterators.pyc     2266    b8a0df35815bc00be1ed8ece42aac537
    401401library/encodings/hz.pyc        1614    876bb7c36683358c3e95005619b10541
    402 library/select.pyc      543     6d9f122203b76f2bd4c1ba52f11dbf63
     402library/select.pyc      543     46d21883941e13fcaec982e85f50ec08
    403403library/encodings/iso2022_jp.pyc        1683    40c2b92127f99452f84b250c2b4b2cda
    404404library/libgthread-2.0-0.dll    44287   7ad6f303082b382bff7bafbab246c61f
    405405library/glib._glib.pyd  58368   0de636503e43c4eb00e80927bc9bda97
    406406library/mlx/config.pyc  21895   907e263fb11a9a6d7ec93962413433e4
    407 library/atk.pyc 534     218f9c69868feecd842386ec94696568
     407library/atk.pyc 534     e050119d3d29b5768057a33f204025bd
    408408library/gio._gio.pyd    263168  acb8c95fdc391079bebdf7d8685b0dbc
    409409library/encodings/cp861.pyc     7868    c97a8970ce4d9f40cbafbea6576fbdca
     
    415415library/__future__.pyc  4177    43d264d951ac2085334c7b9dd4558595
    416416library/logging/__init__.pyc    54813   7bcdf2e8da474f5e94d8e499f6fc3ed4
    417 runmlx.exe      64000   0fe13851e1f99fde4c68898a4039da62
     417runmlx.exe      64000   b09a5b19e276da4cbd30d3d692d7f35b
    418418library/optparse.pyc    51253   39594a40bc1222173d57b7d5740e3d92
    419 library/mlx/fs.pyc      9090    ff956cd36ee93d0c2785ec9425add91f
     419library/mlx/fs.pyc      9124    be9a9b5d17812c41135125d4196c0d1a
    420420library/inspect.pyc     38547   836f659fad54f5ee7e8f9d565003aacd
    421421library/pickle.pyc      36348   2b55640f6f4e2fd70d95482fd16bfb73
     
    425425library/glib/option.pyc 11891   bd90183c75d8f473ecf653e3d63a27f9
    426426library/StringIO.pyc    11100   f4eb4a2bb3d6fb0af925681c5375c673
    427 library/pango.pyc       540     db8ca213c624efb3e8e6904994a2892a
     427library/pango.pyc       540     34abce2ca446966968fffba11892350d
    428428Microsoft.VC90.CRT/msvcp90.dll  568832  6de5c66e434a9c1729575763d891c6c2
    429429library/sre_parse.pyc   18380   fe2376a101668be1124f9ee316662bab
  • doc/manual/hu/index.html

    r227 r249  
    11<html>
    22<head>
    3   <title>MAVA Logger X Felhasználói kézikönyv</title>
     3  <title>MAVA Logger X User's Manual</title>
    44  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    55</head>
    66<body>
    7   <div align="center"><h1>MAVA Logger X Felhasználói kézikönyv</h1></div>
    8 
    9   <h2>Overview</h2>
     7  <div align="center"><h1>MAVA Logger X User's Manual</h1></div>
     8
     9  <h2><a name="overview">Overview</a></h2>
    1010
    1111  <p>
     
    123123  </p>
    124124
    125   <h3>Graphical User Interface</h3>
     125  <h3><a name="gui">Graphical User Interface</a></h3>
    126126
    127127  <p>
     
    141141  which looks like the one on the picture below.
    142142  </p>
     143
     144  <div align="center">
     145    <table>
     146      <tr>
     147        <td>
     148          <img src="statusIcon1.png" alt="The status icon" hspace="20"/>
     149        </td>
     150        <td>
     151          <img src="statusIcon2.png" alt="The status icon menu" hspace="20"/>
     152        </td>
     153    </table>
     154  </div>
    143155
    144156  <p>
     
    168180  </p>
    169181 
    170   <h2>The Main Window</h2>
     182  <h2><a name="mainWindow">The Main Window</a></h2>
    171183
    172184  <p>
     
    176188  which is described below.
    177189  </p>
     190
     191  <div align="center"><img src="mainWindow.png" alt="The main window"/></div>
    178192
    179193  <p>
     
    203217  possible that the logger application itself fails, in which case
    204218  you, unfortunately, have to restart the flight. Do not forget to
    205   notify the author if this happens.
     219  notify the author if this happens. In this case, try to copy and
     220  save the debug log and send it with your bug report.
    206221  </p>
    207222
     
    228243  </p>
    229244
    230   <h3>The Flight Tab</h3>
    231  
    232   <p>
    233   The flight tab is the most import tab. It consists of a sequence of
     245  <h3><a name="tabFlight">The Flight Tab</a></h3>
     246
     247  <p>
     248  The flight tab is the most important tab. It consists of a sequence of
    234249  pages similar to wizards found in many programs. The first several of
    235250  these pages guide you through the various steps of the preparations
     
    266281  </p>
    267282
    268   <h4>The <i>Login</i> Page</h4>
     283  <h4><a name="loginPage">The <i>Login</i> Page</a></h4>
    269284
    270285  <p>
     
    300315  </p>
    301316 
    302   <h4>The <i>Flight selection</i> Page</h4>
    303 
     317  <h4><a name="flightSelectionPage">The <i>Flight selection</i> Page</a></h4>
     318
     319  <img src="flightSelection.png" alt="The Flight selection page"/>
     320 
    304321  <p>
    305322  This page displays the list of the flight you have booked previously
     
    337354  </p>
    338355
    339   <h4>The <i>LHBP gate selection</i> Page</h4>
     356  <h4><a name="gataSelectionPage">The <i>LHBP gate selection</i> Page</a></h4>
     357 
     358  <img src="gateSelection.png" alt="The LHBP gate selection page"/>
    340359 
    341360  <p>
     
    350369  </p>
    351370
    352   <h4>The <i>Connect to the simulator</i> Page</h4>
    353 
     371  <h4><a name="connectPage">The <i>Connect to the simulator</i> Page</a></h4>
     372
     373  <img src="connect.png" alt="The Connect to the simulator page"/>
     374 
    354375  <p>
    355376  This page displays some important information about your flight,
     
    372393  </p>
    373394
    374   <h4>The <i>Payload</i> Page</h4>
    375 
     395  <h4><a name="payloadPage">The <i>Payload</i> Page</a></h4>
     396
     397  <img src="payload.png" alt="The Payload page"/>
     398 
    376399  <p>
    377400  This page displays the components of the flight's payload and the
     
    392415  </p>
    393416
    394   <h4>The <i>Time</i> Page</h4>
    395 
     417  <h4><a name="timePage">The <i>Time</i> Page</a></h4>
     418
     419  <img src="time.png" alt="The Time page"/>
     420 
    396421  <p>
    397422  This page displays the departure and arrival times of your
     
    410435  </p>
    411436
    412   <h4>The <i>Fuel</i> Page</h4>
    413 
     437  <h4><a name="fuelPage">The <i>Fuel</i> Page</a></h4>
     438
     439  <img src="fuel.png" alt="The Fuel page"/>
     440 
    414441  <p>
    415442  This page contains a graphical representation of the fuel tanks of
     
    441468  </p>
    442469
    443   <h4>The <i>Route</i> Page</h4>
     470  <h4><a name="routePage">The <i>Route</i> Page</a></h4>
     471 
     472  <img src="route.png" alt="The Route page"/>
    444473 
    445474  <p>
     
    458487  </p>
    459488
    460   <h4>The <i>Briefing</i> Pages</h4>
     489  <h4><a name="briefingPage">The <i>Briefing</i> Pages</a></h4>
     490 
     491  <img src="briefing.png" alt="The Briefing page"/>
    461492 
    462493  <p>
     
    478509  </p>
    479510 
    480   <h4>The <i>Takeoff</i> Page</h4>
    481 
     511  <h4><a name="takeoffPage">The <i>Takeoff</i> Page</a></h4>
     512
     513  <img src="takeoff.png" alt="The Takeoff page"/>
     514 
    482515  <p>
    483516  On this page you have to enter the name of the departure runway, the
     
    488521
    489522  <p>
     523  Note that if you are flying one of the Tupolev or Yak aircraft, the
     524  page will look different, as speeds will have to be entered in
     525  kilometres per hour.
     526  </p>
     527
     528  <p>
    490529  You can proceed to the next page after takeoff, and if all data has
    491530  been entered, by pressing the <b>Next</b> button.
    492531  </p>
    493532
    494   <h4>The <i>Landing</i> Page</h4>
     533  <h4><a name="landingPage">The <i>Landing</i> Page</a></h4>
     534
     535  <img src="landing.png" alt="The Landing page"/>
    495536
    496537  <p>
     
    500541  the name of the landing runway, and the landing reference speed,
    501542  V<sub>ref</sub>. You can enter this data during the flight, or after
    502   you have landed, at your discretion.
     543  you have landed, at your discretion. Note, that if you fly one of
     544  the Tupolev or Yak aircraft, the speed will have to be entered in
     545  km/h.
    503546  </p>
    504547
     
    508551  </p>
    509552
    510   <h4>The <i>Finish</i> Page</h4>
     553  <h4><a name="finishPage">The <i>Finish</i> Page</a></h4>
     554
     555  <img src="finish.png" alt="The Finish page"/>
    511556
    512557  <p>
     
    543588  </p>
    544589 
    545   <h3>The Flight info Tab</h3>
     590  <h3><a name="flightInfoTab">The Flight info Tab</a></h3>
     591
     592  <img src="flightInfoTab.png" alt="The Flight info tab"/>
    546593
    547594  <p>
     
    569616  </p>
    570617
    571   <h3>The Help Tab</h3>
     618  <h3><a name="helpTab">The Help Tab</a></h3>
     619
     620  <img src="helpTab.png" alt="The Help tab"/>
    572621
    573622  <p>
     
    595644  </p>
    596645 
    597   <h3>The Log Tab</h3>
     646  <h3><a name="logTab">The Log Tab</a></h3>
     647
     648  <img src="logTab.png" alt="The Log tab"/>
    598649
    599650  <p>
     
    612663  fault points have been awarded. For example, you may even decide to
    613664  abort the flight, if you think some of the faults are to
    614   embarrassing :)
    615   </p>
    616 
    617   <h3>The Gates Tab</h3>
     665  embarrassing :) For quick identification, the lines containing the
     666  fault messages are highlighted.
     667  </p>
     668
     669  <h3><a name="gatesTab">The Gates Tab</a></h3>
     670
     671  <img src="gatesTab.png" alt="The Gates tab"/>
    618672
    619673  <p>
     
    646700  </p>
    647701
    648   <h3>The Debug log</h3>
     702  <h3><a name="debugLog">The Debug log</a></h3>
     703
     704  <img src="debugLogTab.png" alt="The Debug log tab"/>
    649705
    650706  <p>
     
    657713  </p>
    658714
    659   <h2>Loading PIREPs</h2>
     715  <h2><a name="loadingPIREPs">Loading PIREPs</a></h2>
    660716
    661717  <p>
     
    677733  </p>
    678734
    679   <h2>Editing checklists</h2>
     735  <div align="center">
     736    <img src="pirepLoaded.png" alt="The loaded PIREP window"/>
     737  </div>
     738
     739  <p>
     740  You may also want to view a saved PIREP, for example, if it is a
     741  PIREP about an entrance exam flight. To do so, click the <b>View
     742  PIREP...</b> button. This displays the PIREP viewer window, which
     743  groups the data into three tabs. The <i>Data</i> tab contains the
     744  itemized data of the flight. The <i>Comments & defects</i> tab
     745  displays the comments and or flight defects entered by the
     746  user. The <i>Log</i> tab contains the flight log.
     747
     748  <div align="center">
     749    <img src="pirepViewer.png" alt="The PIREP Viewer"/>
     750  </div>
     751
     752  <h2><a name="checklistEditor">Editing checklists</a></h2>
     753
     754  <img src="checklistEditor.png" alt="The Checklist Editor"/>
    680755
    681756  <p>
     
    717792  </p>
    718793 
    719   <h2>The Preferences Window</h2>
     794  <h2><a name="prefs">The Preferences Window</a></h2>
    720795
    721796  </p>
     
    727802  </p>
    728803 
    729   <h3>The <i>General</i> Tab</h3>
    730  
     804  <h3><a name="prefsGeneral">The <i>General</i> Tab<a></h3>
     805 
     806  <img src="prefsGeneral.png" alt="The General Tab of Preferences"/>
     807
    731808  <p>
    732809  These are some general settings for various parts of the
     
    769846  </p>
    770847
    771   <h3>The <i>Messages</i> Tab</h3>
     848  <h3><a name="prefsMessages">The <i>Messages</i> Tab</a></h3>
    772849 
     850  <img src="prefsMessages.png" alt="The Messages Tab of Preferences"/>
     851
    773852  <p>
    774853  The program can display messages about certain events in the
     
    814893  </p>
    815894
    816   <h3>The <i>Sounds</i> Tab</h3>
    817  
     895  <h3><a name="prefsSounds">The <i>Sounds</i> Tab</a></h3>
     896 
     897  <img src="prefsSounds.png" alt="The Sounds Tab of Preferences"/>
     898
    818899  <p>
    819900  This tab controls how the sounds are played by the application.
     
    853934  </p>
    854935
    855   <h3>The <i>Advanced</i> Tab</h3>
     936  <h3><a name="prefsAdvanced">The <i>Advanced</i> Tab</a></h3>
     937
     938  <img src="prefsAdvanced.png" alt="The Advanced Tab of Preferences"/>
    856939
    857940  <p>
     
    867950  </p>
    868951
    869   <h2>The Monitor Window</h2>
     952  <h2><a name="monitorWindow">The Monitor Window</a></h2>
     953
     954  <img src="monitorWindow.png" alt="The Monitor Window"/>
    870955
    871956  <p>
  • src/mlx/config.py

    r197 r249  
    121121        self._language = ""
    122122        self._hideMinimizedWindow = True
     123        self._quitOnClose = False
    123124        self._onlineGateSystem = True
    124125        self._onlineACARS = True
     
    211212        if hideMinimizedWindow!=self._hideMinimizedWindow:
    212213            self._hideMinimizedWindow = hideMinimizedWindow
     214            self._modified = True
     215   
     216    @property
     217    def quitOnClose(self):
     218        """Get whether the application should quit when the close button is
     219        clicked."""
     220        return self._quitOnClose
     221
     222    @quitOnClose.setter
     223    def quitOnClose(self, quitOnClose):
     224        """Set whether the application should quit when the close button is
     225        clicked."""
     226        if quitOnClose!=self._quitOnClose:
     227            self._quitOnClose = quitOnClose
    213228            self._modified = True
    214229   
     
    482497
    483498        self._language = self._get(config, "general", "language", "")
     499
    484500        self._hideMinimizedWindow = self._getBoolean(config, "general",
    485501                                                     "hideMinimizedWindow",
    486502                                                     True)
     503        self._quitOnClose = self._getBoolean(config, "general",
     504                                             "quitOnClose", False)
     505       
    487506        self._onlineGateSystem = self._getBoolean(config, "general",
    488507                                                  "onlineGateSystem",
     
    557576        config.set("general", "hideMinimizedWindow",
    558577                   "yes" if self._hideMinimizedWindow else "no")
     578        config.set("general", "quitOnClose",
     579                   "yes" if self._quitOnClose else "no")
    559580        config.set("general", "onlineGateSystem",
    560581                   "yes" if self._onlineGateSystem else "no")
  • src/mlx/gui/gui.py

    r246 r249  
    8383        window.set_icon_from_file(os.path.join(iconDirectory, "logo.ico"))
    8484        window.set_resizable(False)
    85         window.connect("delete-event",
    86                        lambda a, b: self.hideMainWindow())
     85        window.connect("delete-event", self.deleteMainWindow)
    8786        window.connect("window-state-event", self._handleMainWindowState)
    8887        accelGroup = gtk.AccelGroup()
     
    568567            self.showMainWindow()
    569568        self._mainWindow.present()
     569
     570    def deleteMainWindow(self, window, event):
     571        """Handle the delete event for the main window."""
     572        if self.config.quitOnClose:
     573            self._quit()
     574        else:
     575            self.hideMainWindow()
     576        return True
    570577
    571578    def hideMainWindow(self, savePosition = True):
  • src/mlx/gui/prefs.py

    r233 r249  
    225225        self._setLanguage(config.language)
    226226        self._hideMinimizedWindow.set_active(config.hideMinimizedWindow)
     227        self._quitOnClose.set_active(config.quitOnClose)
    227228        self._onlineGateSystem.set_active(config.onlineGateSystem)
    228229        self._onlineACARS.set_active(config.onlineACARS)
     
    270271        config.language = self._getLanguage()
    271272        config.hideMinimizedWindow = self._hideMinimizedWindow.get_active()
     273        config.quitOnClose = self._quitOnClose.get_active()
    272274        config.onlineGateSystem = self._onlineGateSystem.get_active()
    273275        config.onlineACARS = self._onlineACARS.get_active()
     
    347349        self._hideMinimizedWindow.set_tooltip_text(xstr("prefs_hideMinimizedWindow_tooltip"))
    348350        guiBox.pack_start(self._hideMinimizedWindow, False, False, 4)
     351
     352        self._quitOnClose = gtk.CheckButton(xstr("prefs_quitOnClose"))
     353        self._quitOnClose.set_use_underline(True)
     354        self._quitOnClose.set_tooltip_text(xstr("prefs_quitOnClose_tooltip"))
     355        guiBox.pack_start(self._quitOnClose, False, False, 4)
    349356
    350357        onlineBox = self._createFrame(mainBox, xstr("prefs_frame_online"))       
  • src/mlx/i18n.py

    r241 r249  
    702702                 "when minimized. You can still make it appear by "
    703703                 "clicking on the status icon or using its popup menu.")
     704        self.add("prefs_quitOnClose",
     705                 "_Quit when the window close button is clicked")
     706        self.add("prefs_quitOnClose_tooltip",
     707                 "If checked, the application will quit when the window close "
     708                 "button is clicked. Before quitting, the confirmation "
     709                 "will be asked. If not checked, the window will be hidden "
     710                 "to the tray.")
    704711        self.add("prefs_onlineGateSystem",
    705712                 "_Use the Online Gate System")
     
    15721579                 "ha minimalizálod. A státuszikonra kattintással vagy annak "
    15731580                 "menüje segítségével újra meg tudod jeleníteni.")
     1581        self.add("prefs_quitOnClose",
     1582                 "_Kilépés az ablakzáró gomb megnyomásakor")
     1583        self.add("prefs_quitOnClose_tooltip",
     1584                 "Ha ezt kijelölöd, a program az ablakzáró gomb megnyomására "
     1585                 "kilép, ha ebbéli szándékát megerősíted. Ha nem jelölöd "
     1586                 "ki, a főablak eltűnik, de a tálcaikon a helyén marad.")
    15741587        self.add("prefs_onlineGateSystem",
    15751588                 "Az Online _Gate System használata")
Note: See TracChangeset for help on using the changeset viewer.