Search found 177 matches

by smf
Fri Jan 09, 2015 11:46 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 130
Views: 2726171

Re: model railroad track planning

Tataaaa. :D

New version attached has icons with radius dependent background color in TrackWidget. :D Unfortunately, this slows down loading and refreshing "a bit", because the icon is always created from scratch. I will have to look at the item-db used in the library-browser...
by smf
Fri Jan 09, 2015 11:44 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 130
Views: 2726171

Re: model railroad track planning

However there is an issue for me - I don't get the dialog window opening as you describe in step 2.
Oh, tutorial 2 or step 2 in tutorial 3? The create-dialog should appear immediately after QCTrack / Create... :?
by smf
Fri Jan 09, 2015 10:56 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 130
Views: 2726171

Re: model railroad track planning

Well, I have read through your documentation and tutorials and so far. I have downloaded your current version of QTrack and it is very impressive, sure there are one or two improvements need - but hey , great work so far :) . Thanks. :) The scripts are very basic at the moment, so if you miss somet...
by smf
Fri Jan 09, 2015 10:50 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 130
Views: 2726171

Re: model railroad track planning

attached is version 64 with fixed Move / DupMove (in the file there was an insertion by accident).
by smf
Fri Jan 09, 2015 8:10 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 130
Views: 2726171

Re: model railroad track planning

Question: I tried the function "Select ... duplicate and move". The tool is asking for "Select end of track" but after picking the end of a track .... nothing happens. I'm doing something wrong? It was working in a predecessor version. Uh, I have to check this out soon. "It should not be different ...
by smf
Thu Jan 08, 2015 11:04 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 130
Views: 2726171

Tutorial step 7: create plans superfast with TrackWidget

In the new version, Consecutive Extension is removed. Instead of that there is a Track Widget that can be enabled / disabled via menu item QCTrack / View track widget or QV. You then get something like the Block list but with some more information about the tracks you may add. TrackWidgetBase.png To...
by smf
Thu Jan 08, 2015 10:52 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 130
Views: 2726171

Re: model railroad track planning

:D :D :D Question: I tried the function "Select ... duplicate and move". The tool is asking for "Select end of track" but after picking the end of a track .... nothing happens. I'm doing something wrong? It was working in a predecessor version. Uh, I have to check this out soon. "It should not be di...
by smf
Thu Jan 08, 2015 8:46 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: model railroad track planning
Replies: 130
Views: 2726171

Re: model railroad track planning

Finally... :D Thanks to Andrew and his perfect support, a first version of a TrackWidget is implemented. :D Attached there is the current version. Consecutive Exectution is removed - TrackWidget replaces it with the benefit of a better user interface and better integration into QCad. You'll need at ...
by smf
Thu Jan 08, 2015 8:21 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] RGuiAction.getByScriptFile
Replies: 10
Views: 9228

Re: RGuiAction.getByScriptFile

Thanks again Andrew for the fast help. Disabling the icon will print the full menu item text, so my widget "explodes" in terms of size. :shock: But I think I found a "workaround": I will use a mini-function that uses something like var action = RGuiAction.getByScriptFile("scripts/Block/EditBlock/Edi...
by smf
Thu Jan 08, 2015 5:20 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] RGuiAction.getByScriptFile
Replies: 10
Views: 9228

Re: RGuiAction.getByScriptFile

:) 8) :)

postInit did it. Thanks a lot! :) :) :)

One (little?) thing remaining: the text of the butten is replaced by the icon, but as I don't have one, the button becomes empty. Is there a "good" way to have a text on it?

Again: many thanks, Andrew! :)
by smf
Thu Jan 08, 2015 5:00 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] RGuiAction.getByScriptFile
Replies: 10
Views: 9228

Re: RGuiAction.getByScriptFile

The widget that uses the other function is called before (i.e. query before action). :(
by smf
Thu Jan 08, 2015 4:34 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] RGuiAction.getByScriptFile
Replies: 10
Views: 9228

Re: RGuiAction.getByScriptFile

Thank you Andrew! :) There is a menu item for the script, starting the script via short cut also works. At the moment, I see two differences: (1) On QCad start, the script is disabled because no document is existing. (2) I have no icon. The init function of TrackWidgetInsert is: var action = new RGu...
by smf
Thu Jan 08, 2015 1:41 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] RGuiAction.getByScriptFile
Replies: 10
Views: 9228

[SOLVED] RGuiAction.getByScriptFile

Hi there, I'm still trying to connect a QToolButton (inside a widget) to a script (see first question at http://www.qcad.org/rsforum/viewtopic.php?f=30&t=3187 which was not solved because I changed the complete concept after understanding the answer to my former second question - now having the same...
by smf
Tue Jan 06, 2015 9:13 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] menu item order
Replies: 5
Views: 8256

Re: menu item order

Thanks a lot! :) Then I will use something like 1612340 to prevent collision.

Go to advanced search