Commit Graph

43 Commits

Author SHA1 Message Date
Ryan Holmes
8fed78d596 Add a few conditionals in case menu is spawned without a fit being loaded 2019-03-26 09:44:43 -04:00
Ryan Holmes
fa0892032f Develop method for context menu classes to signal that they should be displayed, but disabled. This will allow us to determine if a context menu exists for a certain context (stats panel, for example) without relying on old logic of not displaying them if fitting is not loaded. 2019-03-26 09:36:31 -04:00
blitzmann
dd3bc66896 Remove old py<2.6 OrderedDict compat module 2017-11-25 22:40:23 -05:00
blitzmann
cc9b6ea04b More deprecation fixes 2017-11-13 00:18:24 -05: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
68e75025be Finish migrate from #868. Lots of tox/formatting/inspection fixes to the files touched. 2017-02-26 09:54:58 -08:00
Ebag333
23c6f2add5 We have two of the exact same backported file. Get rid of one. Also, handle the except if we can't import so we don't get stacktraces. (Currently the three functions affected are not used.) 2017-02-08 22:42:19 -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
d061a13b58 Move ID pool to context menu class rather than individual menu items 2016-05-15 12:18:56 -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
blitmann
487f65d62b Fix #233 2015-01-04 17:19:53 -06:00
blitzmann
ac18c58a0a fix menu bindings 2014-12-08 12:12:50 -05:00
blitzmann
892c5c5b60 Various event binding fixes for context menus. It's still a mess, but it's not as bad of a mess.
(cherry picked from commit 081e32da6f)
2014-11-30 01:19:10 -05:00
blitzmann
90369b679c Fix #179 2014-10-03 21:25:28 -04:00
blitzmann
030e6aa9db Instead of sending id, send parent item (which contains ID). This allows us to access the item to modify bitmap or any other value for it. 2014-09-15 15:48:26 -04:00
blitzmann
da047106f3 Implements support for child menus for damage patterns. 2014-09-08 01:11:38 -04:00
DarkPhoenix
3c48839569 Rework context menus 2011-04-24 21:58:07 +04:00
HomeWorld
f3729f0287 Updated FitChanged in all files 2010-11-28 22:51:08 +02:00
cncfanatics
6e1b789fb2 Move some view handling stuff around and do initial work on the
fleetBrowser
2010-11-20 20:32:47 +01:00
Corollax
5225647278 Performance fix for Damage Editors
Also fixed a chmod divot
2010-10-28 14:11:15 -05:00
Corollax
8f259501ed Re-ordered the Damage Profile menus
Changed name of the selected ammo damage profile
2010-10-28 13:24:15 -05:00
cncfanatics
c90dab16ba Implement "Set as damage pattern" for ammo 2010-10-28 16:16:59 +02:00
DarkPhoenix
9f9aff0c39 Fix file permissions 2010-10-14 20:32:54 +04:00
HomeWorld
cd7fc555cb Merge branch 'master' of evefit.org:pyfa 2010-10-12 09:30:38 +03:00
HomeWorld
1cd2202db0 Added requested feature from ticket #99 2010-10-12 09:30:18 +03:00
cncfanatics
0b6d11c5c2 replace a silly for loop by * 2010-10-11 23:02:33 +02:00
cncfanatics
37c34a32f3 Add a V in front of the active damage pattern and allow different
bitmaps per menu item when multiple are passed
2010-10-11 21:54:53 +02:00
cncfanatics
3e41d413c9 Don't spawn menu if fitID is None 2010-10-11 11:04:18 +02:00
cncfanatics
982d02b451 Remove some useless imports 2010-10-11 11:01:55 +02:00
cncfanatics
58dfb8ba85 Add "Raw" damage pattern, which'll display raw health without resistance 2010-10-11 10:22:26 +02:00
cncfanatics
fe68ffacfe Implement damage pattern switching 2010-10-11 10:11:24 +02:00
cncfanatics
7b47a70c71 Bind the main menu entry for the damage pattern editor 2010-10-10 12:03:25 +02:00
HomeWorld
8fc7ab895b Changed dmgpattern editor to modal dialog 2010-10-09 20:09:34 +03:00
HomeWorld
71c0ed4b93 Missing changes in contextmenu dmgpattern 2010-10-09 19:51:47 +03:00
HomeWorld
c0fee80773 Revert "test comit"
This reverts commit 2d3868dea9.
2010-10-09 17:07:15 +03:00
HomeWorld
2d3868dea9 test comit 2010-10-09 17:02:46 +03:00
cncfanatics
b8ac74e373 Fixup the damage pattern menu to actualy show the damage pattern list
instead of bullcrap now
2010-10-08 11:20:11 +02:00
cncfanatics
c0b739b8f7 Fix item stats for skills and move some stuff around 2010-10-06 13:58:42 +02:00