Commit Graph

156 Commits

Author SHA1 Message Date
Master3See
fb20847920 Added new supported items in itemRemove item class.
Added the ability to remove charges and projected items using the
itemRemove built in context menu.

In this commit I fixed a minor bug in the projected view that caused the
right clicked item not to be SHOWN as selected until after the context
menu had been spawned and closed.

I also removed all parent references from the ContextMenu class and sub
classes. I am instead using the fit service to do all the work of
removing the items in the itemRemove class.
2013-08-01 14:14:50 -06:00
Master3See
0a162b30e6 Feature Added Remove <item> from Context Menu 2013-07-30 20:06:32 -06:00
DarkPhoenix
db64713756 Show EHP restored by AAR/ASB before reload 2013-06-12 13:27:36 +04:00
DarkPhoenix
3c48839569 Rework context menus 2011-04-24 21:58:07 +04:00
HomeWorld
1c820e3859 Fixed PFNotebook not sending PageChanged event when deleting a tab (if it's the case); multiSwitch uses a smarter BlankPage that responds to PageChanged event, now pyfa is behaving correctly when switching betwen fittingView tabs and empty tabs; FIT_CHANGED event moved to globalEvents.py since it is used a lot in different locations;... 2010-11-28 20:04:45 +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
HomeWorld
8470a31d64 Fix minimal size of statspane 2010-10-30 19:02:19 +03:00
cncfanatics
95e90d0ce9 Comment out useless? SetMinSize call 2010-10-30 16:19:03 +02:00
cncfanatics
b66cfd06ea Make sure we can display context menus when clicks are anywhere on the
panel
2010-10-06 11:48:17 +02:00
cncfanatics
8f21a25da6 Implement the start of stat view menus 2010-10-06 09:29:47 +02:00
cncfanatics
c41525ff4a Make a slight redesign of the builtins 2010-10-04 09:17:52 +02:00
cncfanatics
993c79f4f5 Rename controller to service 2010-09-18 12:31:22 +02:00
HomeWorld
3d0fa7eeef Small deprecated stuff fix 2010-09-16 17:56:21 +03:00
HomeWorld
85148cb87f Font size fix for mac (not the best fix around) 2010-09-16 17:07:48 +03:00
HomeWorld
4b3a9c7438 Added staticlines between toggle panels 2010-09-16 13:56:41 +03:00
HomeWorld
0ce9dd9ee2 Commented the lines where we set the bk colour in statspane/pyfatogglepanel 2010-09-16 12:39:27 +03:00
HomeWorld
dd582d8397 Revert "Background colour test"
This reverts commit 8d5e7b6159.
2010-09-16 12:33:40 +03:00
HomeWorld
8d5e7b6159 Background colour test 2010-09-16 12:29:22 +03:00
HomeWorld
d60a8c22dd Fix attempt for statspanel wrong background (on macs) 2010-09-16 12:20:38 +03:00
cncfanatics
21e4ae2a52 Remove some debug code and fixup Layout() calls in statviews 2010-09-11 14:53:27 +02:00
cncfanatics
2bb7abca11 First draft of price fetching code, as well as a bugfix fixing fitting calculations being done twice 2010-09-11 14:05:04 +02:00
HomeWorld
1a494cac37 Major rework in statspane take 2 (no mini statspane yet) 2010-09-10 18:23:10 +03:00
HomeWorld
d27a180845 Revert "Major statspane rework -- (ministats panel isnt available for now)"
This reverts commit 99d6a6b2c2.
2010-09-10 18:21:04 +03:00
HomeWorld
99d6a6b2c2 Major statspane rework -- (ministats panel isnt available for now) 2010-09-10 18:09:41 +03:00
HomeWorld
091b9be48c Revert "Rework the stats pane to be modular, add a short sample on how it works too"
This reverts commit c0bc0c6fe7.
2010-09-09 18:53:23 +03:00
cncfanatics
c0bc0c6fe7 Rework the stats pane to be modular, add a short sample on how it works too 2010-09-09 17:22:27 +02:00
HomeWorld
bc56fe976f Fix attempt nr.2 for EHP values alignment 2010-09-09 17:38:12 +03:00
HomeWorld
a49d4d4c74 Fix attempt for EHP values alignment 2010-09-09 17:30:41 +03:00
HomeWorld
ee3e00611f Moved Resources section into a togglepanel 2010-09-09 17:23:05 +03:00
HomeWorld
6c6756e3f4 Moved resistances into a toggle panel (painful task to get things aligned correctly - now, the toggle panel content panel doesn't hide/show when toggling - we set height 0 if collapsed and height = normal size when expanded that also prevents artefacts from appearing in fullPanel [it happened on winxp] ) ; modified labelEhp.SetLabel in fitchanged to include full text - (effective hp: xxx) because I couldn't make the custom header stuff behave as it should 2010-09-08 15:30:40 +03:00
HomeWorld
22360d9d2d Moved recharge rates section into a toggle panel 2010-09-08 12:00:18 +03:00
HomeWorld
868ef2e39d Some alignment changes in togglepanels content for fullpanel + removed the border size param (set to 0) in TogglePanel AddSizer 2010-09-07 21:49:31 +03:00
HomeWorld
c090c2df11 Moved firepower section into a togglepanel, modified pyfatogglepanel to have the added sizer with full gap (wx.ALL) in contentpanel 2010-09-07 20:53:46 +03:00
HomeWorld
76764dd4cc Moved capacitor section into a togglepanel 2010-09-07 19:58:30 +03:00
HomeWorld
87f0aa54b4 Moved targeting-misc into a togglepanel 2010-09-07 19:26:11 +03:00
HomeWorld
1d570ceefe Splited statspane initWithTogglePanels into small funcs. for each section 2010-09-07 19:00:44 +03:00
HomeWorld
c066624215 Splitted the init of statspane in 2 functions - initNormal and initWithTogglePanels - don't want to frack up the endless hours invested in stats pane while implementing togglepanels. 2010-09-07 17:43:39 +03:00
HomeWorld
b01e3260e2 StatsPane: removed the increase in width for fullpanel 2010-09-06 20:29:58 +03:00
HomeWorld
506f256e82 Revert "StatsPane: removed the increase in width for full/mini panel"
This reverts commit c9bd5ef91e.
2010-09-06 20:22:29 +03:00
HomeWorld
c9bd5ef91e StatsPane: removed the increase in width for full/mini panel 2010-09-06 20:18:21 +03:00
HomeWorld
b1d7e8f365 TogglePanel: EYECANDY stuff added 2010-09-05 23:40:10 +03:00
DarkPhoenix
9e954f364a Fix commit clash 2010-09-05 20:13:04 +04:00
HomeWorld
c4f7fded7f Added a custom collapsible panel class and a demo in statspanel 2010-09-05 19:08:10 +03:00
DarkPhoenix
30729ecdee Add controllable number of decimal places for gauge percentages 2010-09-05 19:58:47 +04:00
DarkPhoenix
e6f24eaae5 Rework functions in util.py 2010-09-05 17:41:09 +04:00
HomeWorld
0b5c5efec3 Reworked the Resistances section: moved the incoming dmg profile stats at the end of Resistances section and have it separated from ship resistance stats 2010-09-04 23:12:33 +03:00
cncfanatics
8ee2f651be Revert "Remove the call to GetTextExtents and try to align in another way (that won't crash macs)"
This reverts commit 1a9517071e.
2010-09-04 20:15:54 +02:00
cncfanatics
7458a05802 Don't create a dummy dc, instead call GetTextExtend on the pannel itself 2010-09-04 20:04:32 +02:00
cncfanatics
1a9517071e Remove the call to GetTextExtents and try to align in another way (that won't crash macs) 2010-09-04 19:58:42 +02:00
DarkPhoenix
893c48812f Fix PG measure units. We should use values taken from db actually... 2010-09-04 12:47:57 +04:00