Search found 8 matches
- Fri May 30, 2014 2:26 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Singleton modeless dialog to execute script SelectContour.js
- Replies: 11
- Views: 30151
Re: Singleton modeless dialog to execute script SelectContou
Hello Riverbuoy, Thank you for your help. Yes, I have radio buttons that i could arrange in a dropdown list. The main problem is a Table where I need to show all the elements of the selected contour, including their corresponding start and end points. At last i am afraid I would have to arrange this...
- Mon May 26, 2014 10:31 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Singleton modeless dialog to execute script SelectContour.js
- Replies: 11
- Views: 30151
Re: Singleton modeless dialog to execute script SelectContou
Hello riverbuoy, Thank you for your help. I answer to your question Q1) Is there a reason why you cannot put your command button in the options toolbar? A) in my widget there are some other ui objects as the example below: many_ui_objects.png In the toolbar all the objects will be horizontally squee...
- Fri May 23, 2014 1:17 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Singleton modeless dialog to execute script SelectContour.js
- Replies: 11
- Views: 30151
Re: Singleton modeless dialog to execute script SelectContou
Thank you for the suggestion Riverbuoy.
I can now see the command selectcontour in the Command Line but it appear that it is not executed as the SelectContour.ui widget is not displayed. Can you get the above widget displayed, please?
Thank you for your help.
Plane
I can now see the command selectcontour in the Command Line but it appear that it is not executed as the SelectContour.ui widget is not displayed. Can you get the above widget displayed, please?
Thank you for your help.
Plane
- Wed May 21, 2014 5:44 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Singleton modeless dialog to execute script SelectContour.js
- Replies: 11
- Views: 30151
Re: Singleton modeless dialog to execute script SelectContou
Andrew. Riverbuoy thank you both for your help. I modifed the fucntion as you correctly pointed out. I have also fixed the error "TypeError: Result of expression 'button.triggered' [undefined] is not an object.", by changing the button Class from QPushButton to QToolButton. Unfortunately when pushin...
- Tue May 20, 2014 5:47 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Singleton modeless dialog to execute script SelectContour.js
- Replies: 11
- Views: 30151
Re: Singleton modeless dialog to execute script SelectContou
Andrew, thank you for the answer. I have tried the suggestion but I does not work yet, as i get error: Uncaught exception at scripts/MyScripts/Test/Test.js:77: TypeError: Result of expression 'button.triggered' [undefined] is not an object. Below is my entire function so far. Test.prototype.beginEve...
- Thu May 15, 2014 6:02 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: Singleton modeless dialog to execute script SelectContour.js
- Replies: 11
- Views: 30151
Singleton modeless dialog to execute script SelectContour.js
I would like to create a script to execute the script Select Contour on the document being edited. Select Contour.png The script Select Contour should be launched by a push button on my dialog (QDialog). dialog.png I have this code in the script but there is not reaction when i push the button TEST....
- Mon Apr 28, 2014 10:26 am
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: My UI widget is not displayed
- Replies: 2
- Views: 14345
Re: My UI widget is not displayed
Andrew thank you for your reply.
it works with following statement
Thank you again for your prompt answer.
it works with following statement
// Display and execute the dialog: dialog.show();in
MyWidgets.prototype.beginEvent = function()My next step is now how to capture events from my dialog.
Thank you again for your prompt answer.
- Wed Apr 23, 2014 5:51 pm
- Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- Topic: My UI widget is not displayed
- Replies: 2
- Views: 14345
My UI widget is not displayed
Hello Everybody, I have programming experince but I am new with Qt, JavaScript and QCAD. So far I was able to replicate all the examples described in the web site. I am trying to replicate the example PersistentWidgets as described at following link http://www.qcad.org/doc/qcad/3.0/developer/_persis...