Sunday, 2011-11-13

*** tpb has joined #freeorion00:00
fixIttOh so I probably was trying to connect with signals that occur when the user changes the window which then would select a system? So are you saying there currently is no signal that is emitted that occurs when a user selects a different system? Or actually are the systems apart of a window?00:02
GeofftheMediooh, I think I was misreading your question00:03
GeofftheMedioI thought you were asking about changing the system object itself00:03
GeofftheMediorather than changing which system is selected00:03
fixIttOh no I am just trying to get notified when a system is selected00:03
GeofftheMedioThere are a few different signals from windows (eg. the sidepanel, probably the encyclopedia) that are emitted when the user changes the system in those windows00:05
GeofftheMediothe MapWnd handles these signals, and changes the selected system00:05
GeofftheMediofor example in MapWnd::MapWnd:00:06
GeofftheMedioGG::Connect(SidePanel::SystemSelectedSignal,            &MapWnd::SelectSystem, this);00:06
fixIttBut what happens if the side panel is not open and a system is changed? how does mapwnd know?00:07
GeofftheMediohow is the system being changed in this scenario?00:07
fixIttthat line is like exactly what I have been looking at trying to get to work lol00:07
fixIttlike if you click off into space the side panel will hide. I'm assuming its not considered open. and then you select an unknown system00:09
GeofftheMediothere are also signals for when system icons are clicked on which connect to MapWnd::SetSystem00:09
fixIttokay. well I guess I am a bit confused lol. So I want to update the total/wasted empire PP in the production window, which signal would you recommend I try to connect with? I was figuring that it should be updated whenever a system is changed regardless of what window its in but maybe thats not necessary.00:12
GeofftheMediowhen the system is changed, or when which system is selected is changed?00:13
fixIttsorry my wording has been confusing probably a reflection of my own confusion. But I believe when a system is changed, like the system icon that the user has selected.00:14
fixIttso if they select kithrup it will show the system pps for that, if they select something different then it will know to update the values for that system00:15
GeofftheMediothat doesn't make sense; which system a user is viewing / has selected, doesn't change the system itself00:15
GeofftheMedioyou appear to want to respond to user selecting a system00:15
GeofftheMedioprobably you should add something to ProductionWnd::SelectSystem to update info in to the production screen00:16
fixIttokay I probably am mixed up. So on the start up I see kithrup and 3 unknowns, are these not all different systems? I thought when you select one of them then in the side panel what appears are the planets of the systems.00:16
GeofftheMedioyes.  but the systems themselves are not changed in any way by the user selecting them.00:17
fixIttbut when you click on one the white circle appers roatating around it. Isn't that what I am interested in, when that is changed update the values?00:18
GeofftheMedioyes... but again, the system itself has not changed.  just which system is selected has changed.00:19
fixIttOk. I think I have a slightly better understanding lol. But so ProductionWnd::SelectSystem already subscribes to the system selected signal right? So I should just use that to update the values instead of trying to actually catch the system selected changed signal myself? It sounds like I have been making this unnecessarily hard lol00:22
GeofftheMedioyes, I think if you want to update a value shown in the production screen when which system is selected changes, doing so from ProductionWnd::SelectSystem makes senes00:23
GeofftheMediosense00:23
fixIttOkay tyvm for the help Geoff I will try that out00:24
*** lethu has quit IRC03:45
*** lethu has joined #freeorion03:57
*** lethu has joined #freeorion03:57
*** StrangerDanger has quit IRC04:11
*** STalKer-Y has joined #freeorion04:50
*** STalKer-X has quit IRC04:50
CIA-32FreeOrion: geoffthemedio * r4483 /trunk/FreeOrion/msvc2010/ (6 files in 3 dirs): MSVC 2010 project file updating.04:55
*** VargaD has joined #freeorion08:17
*** neoneurone has joined #freeorion09:13
*** theTroy has quit IRC10:47
*** theTroy has joined #freeorion10:49
*** neoneurone has quit IRC11:00
*** __alex has joined #freeorion11:35
*** tpb has joined #freeorion12:43
*** GeofftheMedio has quit IRC13:24
*** CIA-32 has quit IRC13:24
*** welterde has quit IRC13:24
*** STalKer-Y has quit IRC13:24
*** eristikophiles has quit IRC13:24
*** Mikoto has quit IRC13:24
*** guini has quit IRC13:25
*** Ingmar has quit IRC13:25
*** __alex has quit IRC13:25
*** Digit01 has quit IRC13:25
*** dansan has quit IRC13:25
*** VargaD has quit IRC13:25
*** lethu has quit IRC13:25
*** theTroy has quit IRC13:25
*** welterde has joined #freeorion13:31
*** CIA-32 has joined #freeorion13:31
*** eristikophiles has joined #freeorion13:31
*** GeofftheMedio has joined #freeorion13:31
*** STalKer-Y has joined #freeorion13:31
*** lethu has joined #freeorion13:31
*** theTroy has joined #freeorion13:31
*** VargaD has joined #freeorion13:31
*** dansan has joined #freeorion13:31
*** Digit01 has joined #freeorion13:31
*** __alex has joined #freeorion13:31
*** Mikoto has joined #freeorion13:31
*** guini has joined #freeorion13:31
*** Ingmar has joined #freeorion13:31
*** lethu has quit IRC13:44
*** GeofftheMedio has quit IRC13:44
*** CIA-32 has quit IRC13:44
*** welterde has quit IRC13:44
*** STalKer-Y has quit IRC13:44
*** eristikophiles has quit IRC13:44
*** VargaD has quit IRC13:44
*** VargaD has joined #freeorion13:46
*** lethu has joined #freeorion13:48
*** STalKer-Y has joined #freeorion13:48
*** GeofftheMedio has joined #freeorion13:48
*** eristikophiles has joined #freeorion13:48
*** CIA-32 has joined #freeorion13:48
*** welterde has joined #freeorion13:48
CIA-32FreeOrion: geoffthemedio * r4484 /trunk/FreeOrion/ (UI/ProductionWnd.cpp universe/ShipDesign.cpp):13:54
CIA-32FreeOrion: -Moved bulk of PartType constructor code into Init function.13:54
CIA-32FreeOrion: -Grooming13:54
*** CIA-32 has quit IRC15:16
*** Digit01 has quit IRC15:17
*** CIA-11 has joined #freeorion15:20
*** neoneurone has joined #freeorion15:30
*** StrangerDanger has joined #freeorion16:25
*** neoneurone has quit IRC17:28
*** Digit01 has joined #freeorion17:58
*** JohnSGalt has joined #freeorion18:15
*** StrangerDanger has quit IRC18:17
*** Digit01 has quit IRC18:17
*** Xenux has joined #freeorion19:41
*** neoneurone has joined #freeorion19:52
*** __alex has quit IRC19:56
*** Xenux has quit IRC20:41
*** neoneurone has quit IRC21:34
*** GeofftheMedio has quit IRC22:39
*** GeofftheMedio has joined #freeorion22:41
*** VargaD has quit IRC23:46
*** Mikoto has quit IRC23:49
*** Mikoto has joined #freeorion23:50

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!