Commit Graph

66 Commits

Author SHA1 Message Date
DarkPhoenix
a98e898bd8 Cast coordinates passed to various wx objects into ints
See #2391 for more info
2022-04-20 02:12:46 +04:00
zhaoweny
d33976a2ad i18n: more annotation for context menus, stats view tooltips 2020-06-23 15:55:28 +08:00
zhaoweny
889e901cbd i18n: improve string literal annotations
1. annotate more strings for statsViews, itemStats
2. fix raw title and description for preferences
3. fix crash on opening AttributeEditor, characterEditor
2020-06-22 17:55:58 +08:00
blitzmann
9b73f1c221 Final conversion of _t() 2020-06-20 15:13:33 -04:00
zhaoweny
a05e7dbad1 i18n/zh_CN: add more UI translation 2020-06-20 17:42:52 +08:00
blitzmann
c290e9e23a Add various references 2020-06-19 22:25:23 -04:00
zhaoweny
3d9b4c11d4 i18n/zh_CN: reformat code and ignore _
1. update `Pyfa_Inspections.xml` to ignore `_`

i18n module `gettext` will do a `gettext.install(...)` to put `_` function into `builtin` module. Currently PyCharm does not recognize this as a function and report as unresolved reference.

2. reformat code to remove padding for vertical dicts

3. update `Pyfa_CodeStyle.xml` to not pad vertical dicts

(cherry picked from commit e5a570a0078f05fe34c473841af6b7746e06bfca)
2020-06-19 22:17:49 -04:00
zhaoweny
2d3a661442 i18n/zh_CN: update zh_CN translation for lots of StatsViews
(cherry picked from commit bdac2f825fba27000c87f20de8e09e61ae1376d2)
2020-06-19 22:17:21 -04:00
DarkPhoenix
c142a011a0 Show shield HP/EHP based on HP selection in main panel 2019-08-16 09:31:02 +03:00
DarkPhoenix
f3551ce570 Move HP toggled event to global 2019-08-16 08:41:14 +03:00
DarkPhoenix
3a09f4b45c Rework FitChanged command to avoid refreshing graph multiple times in certain cases 2019-07-07 14:25:27 +03:00
DarkPhoenix
7e7b49d2e4 Move shield regen graph to new infrastructure 2019-06-29 10:21:16 +03:00
Ryan Holmes
3c5846a983 Add a menu icon to stat panels which have a context menu associated with them 2019-03-26 09:37:03 -04:00
Ryan Holmes
f16e14e0b4 Fix gauges again, convert remaining IconFromBitmap > Icon 2017-06-14 15:05:12 -04:00
Ryan Holmes
3b546de070 More deprecated fixes, and re-enable a working stats view 2017-06-14 03:51:40 -04:00
Ryan Holmes
6c317d56ee touch up the gauge code 2017-06-12 20:45:58 -04:00
Ryan Holmes
8e4db5a8c3 Do some renaming of some files 2017-06-12 18:08:07 -04:00
Ryan Holmes
828b18d0fd py2to3 automatic conversion. Woot! 2017-06-12 16:12:45 -04:00
Ebag333
8c7682c6d4 Little more OCD on cleaning up imports. 2017-02-10 12:02:23 -08:00
Ebag333
6e524de320 Disable import inspections for wxPython, because it's not installed traditionally and we can't include it in requirements.txt 2017-02-08 20:15:24 -08:00
Ebag333
28404cd8bb bajillion pep8 fixes to pass tox 2016-12-13 23:31:39 -08:00
a-tal
d3b6bc1c93 so many pep8 fixes
(cherry picked from commit bee125d)
2016-12-13 20:16:44 -08:00
Ebag333
d963327ed4 Make it run again 2016-12-02 03:13:54 -08:00
blitzmann
d9fc3d436b Allow EHP toggle to persist between fits (#641) 2016-06-19 23:50:42 -04:00
blitzmann
e9d02ce4c8 Change to use BitmapLoader class 2015-09-24 12:21:50 -04:00
blitzmann
474f270b26 Change to new icon locations 2015-09-24 12:17:17 -04:00
blitzmann
e12b3f3054 Merge tag 'v1.13.2' into wx3
Conflicts:
	config.py
	A lot of icons
2015-07-20 13:21:00 -04:00
Kalu
8a22907940 newline in resist multiplier tooltip and explanation 2015-07-07 20:38:27 +02:00
Kalu
a97847e644 show rr factor in tooltip 2015-07-07 20:38:16 +02:00
blitzmann
5372f31be8 Revert "Revert "Merge branch 'master' into wx3"". So many reverts.
This reverts commit cca7f1112a.
2015-06-27 21:53:59 -04:00
DarkPhoenix
cca7f1112a Revert "Merge branch 'master' into wx3"
This reverts commit 33a0c10650, reversing
changes made to 2077655694.

Reverting merges fucks up git, but oh well - we probably better merge stuff manually rather than fucking up master with wx3 which is apparently buggy
2015-04-30 19:47:15 +03:00
blitzmann
b4f4024903 Fixed some bugs that blocked startup 2014-11-08 16:38:18 +02:00
DarkPhoenix
db64713756 Show EHP restored by AAR/ASB before reload 2013-06-12 13:27:36 +04:00
HomeWorld
adae21452a Moved and splitted util.py into gui.utils.numberFormatter and gui.utils.clipboard; GetPartialText moved into gui.utils.drawUtils.py 2010-12-22 17:57:21 +02:00
DarkPhoenix
243291959f Revert "Resolve 352 (Clean up root folder)"
This reverts commit cede27f1b2.
2010-12-18 13:46:36 +03:00
DarkPhoenix
cede27f1b2 Resolve 352 (Clean up root folder) 2010-12-18 13:34:51 +03:00
Niklas Bölter
ae6c51d244 Fixed some spacing issues in the HP/EHP toggle and a ?typo? 2010-11-20 23:39:58 +01:00
Niklas Bölter
a11e75199a Changed the EHP/HP toggle to a button (GTK doesn't handle StaticText with Border well on certain styles) 2010-11-20 23:18:33 +01:00
Niklas Bölter
efeb24cc3b Fixed some old references to gui.fittingView 2010-11-20 22:30:49 +01:00
cncfanatics
6e1b789fb2 Move some view handling stuff around and do initial work on the
fleetBrowser
2010-11-20 20:32:47 +01:00
HomeWorld
218701be47 Fixed ticket #194 , wx.DOUBLE_BORDER style applies only on wxMSW and wxMAC; using wx.SIMPLE_BORDER for wxMAC and wxGTK 2010-10-28 18:12:43 +03:00
cncfanatics
66431ec7ad Use a single event instead of two of them 2010-10-25 07:42:55 +02:00
cncfanatics
305b32e777 Finish making the EHP/HP switching code work exactly the way we want (not change the active damage pattern, as that has lots of unintended side effects) 2010-10-25 07:31:24 +02:00
cncfanatics
44618d612d Correct a small display bug 2010-10-24 23:21:02 +02:00
cncfanatics
378704356b Fix one more bug related to EHP/HP toggling 2010-10-24 23:11:19 +02:00
cncfanatics
ecc48de635 Fix a set of bugs that prevented EHP/HP switching and passive recharge
numbers to work correctly
2010-10-24 23:06:37 +02:00
Corollax
c35977e407 Fixed a few anal retentive tooltip issues. No biggie. 2010-10-22 22:52:57 +02:00
HomeWorld
cb6e85e50c Minor tooltip text corrections 2010-10-22 18:47:59 +03:00
HomeWorld
c9a77d4678 Some added to EHP/HP text, cant be done otherwise 2010-10-22 18:27:17 +03:00
Weeknie
2b3c1aeaae Added tooltips, ticket 105 2010-10-22 17:23:33 +02:00