DarkPhoenix
4821bd1c72
Mass-replace modules when dragging something from market and dropping over another module while holding alt
2019-04-21 15:33:00 +03:00
DarkPhoenix
6694caafa0
Do not unselect on removing modules with delete key
2019-04-21 14:38:01 +03:00
DarkPhoenix
7b71c16cec
Remove bunch of modules on alt-double click
2019-04-21 14:35:52 +03:00
DarkPhoenix
7abc14eb7f
Take into consideration effects as well
2019-04-21 11:30:24 +03:00
DarkPhoenix
4d21fa517a
Reformat code a little
2019-04-21 11:22:59 +03:00
DarkPhoenix
f2a82c31c4
Add ability to fill fit with item, and fix some charge-related stuff
2019-04-21 10:53:26 +03:00
DarkPhoenix
f0b3aafd54
Change state of similar mods when you have alt pressed
2019-04-21 00:32:37 +03:00
DarkPhoenix
4c736de598
Revert change which allowed to use alt key as modifier to open fits in new tabs or switch modules to offline
2019-04-20 23:47:23 +03:00
DarkPhoenix
9eaeb60af7
Add ability to fill with modules by ctrl+alt+dragging
2019-04-20 22:54:19 +03:00
DarkPhoenix
edc1ef0e38
Do not choke on context menu spawning when module cannot be found
2019-04-20 16:28:12 +03:00
DarkPhoenix
c6bfd0bc05
Do not refetch mouse state
2019-04-20 14:44:24 +03:00
DarkPhoenix
c2d309430e
Make sure cargo-module drag commands are using actual fit data too
2019-04-20 04:10:32 +03:00
DarkPhoenix
8c40489049
Fix wrong log message
2019-04-20 03:59:08 +03:00
DarkPhoenix
051800bc16
Do not break selection on delimiters when generating context menus
2019-04-20 03:49:09 +03:00
DarkPhoenix
d1a3e5c0e8
Fix some module-related command calls
2019-04-20 03:43:15 +03:00
DarkPhoenix
68a13a6bb8
Use alt key in more actions as alternative or replacement to ctrl
2019-04-19 16:59:30 +03:00
DarkPhoenix
91a46a2dd4
Move some code around
2019-04-17 16:22:09 +03:00
DarkPhoenix
64bba0cfdb
Rework cargo to module command
2019-04-16 01:41:19 +03:00
DarkPhoenix
c7ed6367f9
Rework clone/swap modules
2019-04-15 21:00:34 +03:00
DarkPhoenix
3fa5ac7858
As commands now commit/recalc even in case of failure (as they do not know about exact reason of failure and we're not sure if rollback was succeeded), do not run them for every item added via double-click
2019-04-15 18:44:26 +03:00
DarkPhoenix
801f51b89c
Rework projected GUI commands
2019-04-15 11:34:52 +03:00
DarkPhoenix
0b49bf201f
Rework local module GUI commands
2019-04-14 22:47:00 +03:00
Ryan Holmes
9c5fe56981
Fix right click on state not toggling overheat
2019-03-26 18:46:26 -04:00
Ryan Holmes
253d3107a0
First pass at cleaning up context menu events ( #1895 )
2019-03-24 18:55:25 -04:00
DarkPhoenix
48ac6cb2af
Remove debugging prints or move them to pyfalog
2019-03-23 14:01:43 +03:00
Ryan Holmes
61da8be732
Few import fixes and some bug fixes
2019-03-14 14:46:01 -04:00
Indiction
bd33efa875
Changed FittingSlot to IntEnum
2019-03-09 18:45:28 +01:00
Indiction
6333a0c74b
Adding descriptions to enums.
...
Renaming Enums into more useful names.
2019-03-07 22:30:51 +01:00
Tony Cook
9bdb4ea967
move the item slot colours to config and use it from there
2019-03-01 19:52:02 +11:00
blitzmann
fd7c5c1580
Remove some old debugging prints
2018-10-08 12:50:07 -04:00
blitzmann
5850026aa9
docstring fixes
2018-09-16 01:09:55 -04:00
blitzmann
b4b8a158f5
Bunch of import optimizations
2018-09-16 00:05:36 -04:00
blitzmann
621672bf34
Some tox fixes
2018-09-15 20:38:08 -04:00
Ryan Holmes
513e9d14d8
Moved the default fighter ability to the __init__()
2018-08-13 18:53:30 -04:00
Ryan Holmes
efbf2e7432
Make sure we recalc during swaps from cargo to module
2018-08-13 18:50:00 -04:00
blitzmann
aa282990a5
Fix the state change command to not store the modules themselves, but the positions
2018-08-03 01:42:20 -04:00
blitzmann
984978a80d
move some files around and create a context manager for fit recalclation
2018-07-28 00:07:10 -04:00
blitzmann
d5aeb0913d
Start refactoring the refactor that was started with command pattern refactoring.
...
Instead of attempting to keep all the Fit service functionality, move these into specific "Fitting Commands" that are designed to define a unit of work and it's undo. Then, we will have "GUI Commands" which are defined as actions taken by the user themselves - these will usually use one or more "Fitting Commands".
2018-07-24 01:29:57 -04:00
blitzmann
2ccad2a358
Handle use case of moving a module from market to fitting view
2018-07-21 19:52:28 -04:00
blitzmann
a66eb059e2
Convert module swap to command pattern
2018-07-21 18:20:24 -04:00
blitzmann
5d0342ee2d
Convert module charge handling to command pattern (adding charges and removing charges)
2018-07-21 18:04:07 -04:00
blitzmann
9309ddff07
Created undo/redo command for module remove, along with reapplying some module-specific attributes (state, charge). Fixed a bug when trying to add a module that doesn't fit
2018-07-21 15:34:58 -04:00
blitzmann
0c3fa53bcf
Support undo/redo module add
2018-07-21 14:46:25 -04:00
blitzmann
926e0a9035
Start working on some undo / redo functionality. this is just the start, only module state changes and fit rename is implemented, and probably not very well x_x
2018-07-21 00:12:28 -04:00
surculus12
b7b60e4ea6
resolves #1633
2018-06-11 15:24:17 +00:00
WatchMeCalculate
a5b5cec919
Fixed flake8 issues
2018-06-01 13:08:25 -07:00
WatchMeCalculate
cbb8545c30
If module had previously violated fitting restrictions, but now is a valid module, recolor background
2018-06-01 02:22:29 -07:00
DarkPhoenix
408e1246c7
Reduce font size for chrome tabs
2018-05-31 14:47:38 +03:00
DarkPhoenix
051e601f14
Use system font for fitting pane
2018-05-31 13:26:54 +03:00
blitzmann
cb509a832e
Add number of slots in the rack heading ( #1535 )
2018-05-19 17:55:17 -04:00