|
|
28-10-2015, 14:39
|
#451
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Development Debugging Environment - Setup Help
Found dbcopy.bat. Sorry.
|
|
|
15-01-2016, 17:16
|
#453
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Crowdin Language Process (pot)
Hakan wrote:
Quote:
This is my picture of the process.
In VS2013 you can build the "ocpn_draw-pot-update" project only to create a fresh pot file. (How this is done in Linux I don't know but something similar I suppose). Then give Pavel a hint that there's a pot file to copy into Crowdin. It can be done now though all texts may not be in its final version. The translators can then work on what's there. Short before a final version the last pot update, if any _("text") has been changed or added, can be copied to Crowdin and there will not be much to do for the translators.
A fully translated language use to render a pull request including .mo files from Pavel to your Github.
Pavel use to watch so any corrections needed may follow this post.
Håkan
|
|
|
|
15-01-2016, 17:27
|
#454
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Compile Plugins with SVG
This ODraw-readme.txt.doc will help others understand what is required to compile plugins with SVG
|
|
|
15-01-2016, 17:53
|
#455
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Process for supporting crowdin and Language Files
|
|
|
03-02-2016, 03:36
|
#456
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Form Builder to change some menus in Windows
The menus in Weather_routing_pi are cramped and illegible. I would like to use Form Builder to change them and make a new form file, but I've forgotten how to do that.
Can anyone help get me started?
|
|
|
03-02-2016, 16:43
|
#457
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
Re: Development Debugging Environment - Setup Help
Rick,
If you have formbuilder installed all you need to do is go to the root directory for your weather_routing_pi, then look for 'WeatherRouting.fbp' and double click it. This will open formbuilder with the forms loaded. Make the changes you want then you have to click on the save icon, little diskette icon, and the generate icon, little blue gear cog. Now you have updated the fbp file and updated the cpp and h files for the code. These will have been updated in the src directory. Now just build the project and it should all be there.
Jon
|
|
|
04-02-2016, 09:50
|
#458
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Development Debugging Environment - Setup Help
Thank you Jon,
1. Downloaded wxformbuilder as Hakan suggested wxFormBuilder download | SourceForge.net
2. Went to root directory for your weather_routing_pi, and found 'WeatherRouting.fbp' and double click it.
3. This will open formbuilder with the forms loaded.
4. Make the changes you want.
5. Then click on the save icon, little diskette icon, and the generate icon, little blue gear cog.
6. Now you have updated the fbp file and updated the cpp and h files for the code. These will have been updated in the src directory.
7. Now just build the project and it should all be there.
-----
Jon I got as far as #4 and am having trouble making changes in the width allotted for values. I tried clicking on the Expand button and the Stretch button, but nothing seems to happen. I think it is due to a value of -1 which as I recall means something like automatically adjust the width, but it is not happening that way. I was going to hard code a width. However I have found no good instructions about this except yours!
|
|
|
04-02-2016, 12:09
|
#459
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Development Debugging Environment - Setup Help
Once the weather_routing.fbp file is open,
I am able to stretch the main frame fgSizer95:wxflexGridSizer by grabbing the corner with a left button mouse and pulling it wider.
Then I want to make the left side wider, so that hopefully everything shows properly. That would be fgSizer83:wxFlexGridSizer.
When I highlight fgSizer83:wxFlexGridSizer, there is a partial red outline showing on the bottom left. I assume I have the left panel selected. I try to grab it with the left mouse button and cannot do anything. It does not work.
I want to make the left panel wider so that under Courses the "To" shows the entire "180" degrees.
Is there another way that I can make this change?
|
|
|
04-02-2016, 12:15
|
#460
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Development Debugging Environment - Setup Help
I then try to highlight on the right column, the "fgSizer112:wxFlexGridSizer"
I want to widen this right panel so that "Wind strength is "10"" shows properly as Wind Strength is "100" as it should be.
I cannot drag that column wider. There is also no readily apparent control that I have tried (and I have tried many) that will expose the parameters so that I can change them, nor is there any instruction whatsoever that is comprehensible on the internet.
If someone has a half a clue as to what to do to make this change I would appreciate a post.
Thank you.,
|
|
|
04-02-2016, 19:28
|
#461
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
Re: Development Debugging Environment - Setup Help
Rick,
For what you want to do I don't think it will work using formbuilder, you will need to do it in the C++ code itself. When the fields are filled in but before they are displayed I think you are going to have to cause the dialog to be resized. The following should do it, but......
Code:
this->GetSizer()->Fit( this );
this->Layout();
It takes quite a bit of trial and error to get it right for all platforms, normally windows being the most difficult to get working. I am currently working on OD, so don't really have time to play with that at the moment, sorry.
Jon
Quote:
Originally Posted by rgleason
Once the weather_routing.fbp file is open,
I am able to stretch the main frame fgSizer95:wxflexGridSizer by grabbing the corner with a left button mouse and pulling it wider.
Then I want to make the left side wider, so that hopefully everything shows properly. That would be fgSizer83:wxFlexGridSizer.
When I highlight fgSizer83:wxFlexGridSizer, there is a partial red outline showing on the bottom left. I assume I have the left panel selected. I try to grab it with the left mouse button and cannot do anything. It does not work.
I want to make the left panel wider so that under Courses the "To" shows the entire "180" degrees.
Is there another way that I can make this change?
|
|
|
|
05-02-2016, 04:43
|
#462
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Development Debugging Environment - Setup Help
Weather_routing thread with some frustration/notes about using wxformbuilder
http://www.cruisersforum.com/forums/...ml#post2035259
Several messages following this one.
Jon, thank you for the helpful hints. I will continue to try to get the fields showing.
|
|
|
05-02-2016, 06:34
|
#463
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Development Debugging Environment - Setup Help
Now I understand that wxFormBuilder is just a graphical front end to wxWidgets and is intended to allow easier graphical control or organization of menus etc.
For example the underlying objects like wxsizer are direct from wxWidgets
wxWidgets: Sizers Overview
Quote:
What makes sizers so well fitted for use in wxWidgets is the fact that every control reports its own minimal size and the algorithm can handle differences in font sizes or different window (dialog item) sizes on different platforms without problems. For example, if the standard font as well as the overall design of Linux/GTK widgets requires more space than on Windows, the initial dialog size will automatically be bigger on Linux/GTK than on Windows.
|
This is apparently not working to well for Weather_routing plugin
|
|
|
08-02-2016, 11:46
|
#464
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Plugin Internationalization - Weather_routing_pi example
We would like to know how to update the weather_routing_pi.POT file with current labels and phrases.
Also we would like to know what the internationalization (Language) process is for plugins.
Please see this post about Weather_routing_pi Languange.
http://www.cruisersforum.com/forums/...ml#post2039986
|
|
|
08-02-2016, 12:32
|
#465
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,112
|
Re: Development Debugging Environment - Setup Help
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|