Alternative GUI for FreeCAD: Overlayed Layout (Devs needed)

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

ickby
Posts: 2839
Joined: Wed Oct 05, 2011 7:36 am

Re: Alternative GUI for FreeCAD

Postby ickby » Fri Jun 23, 2017 10:53 am

Kunda1 wrote:
Fri Jun 23, 2017 10:13 am
Could you push the rebase to your github repo?
Thats already done. It is not the newest master I rebased to, but should be trival to do it again
Also would you consider bullet pointing what would need to be done to get it working on Qt5?
Hm thats quite a lot and takes time, so I would prever to do this only if someone is willing to work on this.
User avatar
Kunda1
Posts: 3671
Joined: Thu Jan 05, 2017 9:03 pm

Re: Alternative GUI for FreeCAD: Overlayed Layout (Devs needed)

Postby Kunda1 » Sat Jun 24, 2017 1:31 am

@ickby, understood. Well hopefully this post gets some attention and captivates someone enough to continue your work ;)
Thanks again!
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 3671
Joined: Thu Jan 05, 2017 9:03 pm

Re: Alternative GUI for FreeCAD: Overlayed Layout (Devs needed)

Postby Kunda1 » Sat Jun 24, 2017 10:47 am

agryson wrote:ping
Hey @agryson ltns :)
Would you consider pinning this thread to the UI/UX subdorum?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 3671
Joined: Thu Jan 05, 2017 9:03 pm

Re: Alternative GUI for FreeCAD: Overlayed Layout (Devs needed)

Postby Kunda1 » Tue Jul 25, 2017 8:35 pm

Kunda1 wrote:
Sat Jun 24, 2017 10:47 am
agryson wrote:ping
Hey @agryson ltns :)
Would you consider pinning this thread to the UI/UX subdorum?
ickby wrote:ping
@ickby would you consider pinning this thread to the UI/UX subforum?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
regis
Posts: 570
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Alternative GUI for FreeCAD

Postby regis » Tue Jul 25, 2017 9:03 pm

ickby wrote:
Wed Jun 21, 2017 7:47 pm
It actually used qt4 and was based on qml. I stopped working on this as qt5 was needed to do real interfaces in qml, and that was not available back than in FreeCAD.

But the code is horrible, I suck at JavaScript :)
Hey, I loved that layout and always wondered what happened to it. but I'm curious as I don't understand anything about coding yet, but since I have an interest in learning python, and you said that you code this with javascript, my question is, 1. is it possible to code the interface in python? 2. what is the difference between javascript and python, and I though that everything in freecad was coded in python.
User avatar
kkremitzki
Posts: 1225
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Alternative GUI for FreeCAD

Postby kkremitzki » Tue Jul 25, 2017 10:55 pm

regis wrote:
Tue Jul 25, 2017 9:03 pm
ickby wrote:
Wed Jun 21, 2017 7:47 pm
It actually used qt4 and was based on qml. I stopped working on this as qt5 was needed to do real interfaces in qml, and that was not available back than in FreeCAD.

But the code is horrible, I suck at JavaScript :)
Hey, I loved that layout and always wondered what happened to it. but I'm curious as I don't understand anything about coding yet, but since I have an interest in learning python, and you said that you code this with javascript, my question is, 1. is it possible to code the interface in python? 2. what is the difference between javascript and python, and I though that everything in freecad was coded in python.
Here is a good reference to get you started on JS and how it works with Qt: https://qmlbook.github.io/en/ch14/index.html and this chapter talks about QML itself, which you would use to declare the components of the interface: https://qmlbook.github.io/en/ch04/index.html

You can still do UI with Python if you want, I'd say this is better for replacing C++ and .ui (XML) files.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
regis
Posts: 570
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Alternative GUI for FreeCAD

Postby regis » Tue Jul 25, 2017 11:57 pm

kkremitzki wrote:
Tue Jul 25, 2017 10:55 pm
regis wrote:
Tue Jul 25, 2017 9:03 pm
ickby wrote:
Wed Jun 21, 2017 7:47 pm
It actually used qt4 and was based on qml. I stopped working on this as qt5 was needed to do real interfaces in qml, and that was not available back than in FreeCAD.

But the code is horrible, I suck at JavaScript :)
Hey, I loved that layout and always wondered what happened to it. but I'm curious as I don't understand anything about coding yet, but since I have an interest in learning python, and you said that you code this with javascript, my question is, 1. is it possible to code the interface in python? 2. what is the difference between javascript and python, and I though that everything in freecad was coded in python.
Here is a good reference to get you started on JS and how it works with Qt: https://qmlbook.github.io/en/ch14/index.html and this chapter talks about QML itself, which you would use to declare the components of the interface: https://qmlbook.github.io/en/ch04/index.html

You can still do UI with Python if you want, I'd say this is better for replacing C++ and .ui (XML) files.
hehe cool, but i still don't understand the difference between language selection, why do you do UI in Javascript if you can do it in python forexample?
and why is python better for replacing C++ etc?
User avatar
kkremitzki
Posts: 1225
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Alternative GUI for FreeCAD

Postby kkremitzki » Wed Jul 26, 2017 12:17 am

regis wrote:
Tue Jul 25, 2017 11:57 pm
kkremitzki wrote:
Tue Jul 25, 2017 10:55 pm
regis wrote:
Tue Jul 25, 2017 9:03 pm
ickby wrote:
Wed Jun 21, 2017 7:47 pm
It actually used qt4 and was based on qml. I stopped working on this as qt5 was needed to do real interfaces in qml, and that was not available back than in FreeCAD.

But the code is horrible, I suck at JavaScript :)
Hey, I loved that layout and always wondered what happened to it. but I'm curious as I don't understand anything about coding yet, but since I have an interest in learning python, and you said that you code this with javascript, my question is, 1. is it possible to code the interface in python? 2. what is the difference between javascript and python, and I though that everything in freecad was coded in python.
Here is a good reference to get you started on JS and how it works with Qt: https://qmlbook.github.io/en/ch14/index.html and this chapter talks about QML itself, which you would use to declare the components of the interface: https://qmlbook.github.io/en/ch04/index.html

You can still do UI with Python if you want, I'd say this is better for replacing C++ and .ui (XML) files.
hehe cool, but i still don't understand the difference between language selection, why do you do UI in Javascript if you can do it in python forexample?
and why is python better for replacing C++ etc?
The advantage is separation of concerns. QML is a lightweight declarative language (check out the examples and compare it to a .ui file in the source code). You can declare the structure of your UI in a simple, easy-to-read format and then separate your heavyweight application logic (written in C++ or Python). So, comparing to web's HTML+CSS+JS, QML is like HTML+CSS and then C++/Python is like JS (although you could do scripting with JS, inside the QML, if you wanted to.)
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
pablogil
Posts: 687
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Alternative GUI for FreeCAD: Overlayed Layout (Devs needed)

Postby pablogil » Wed Jul 26, 2017 5:56 am

Just a ping to help finding someone that feels like continuing the work, I love this UI!
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
User avatar
Kunda1
Posts: 3671
Joined: Thu Jan 05, 2017 9:03 pm

Re: Alternative GUI for FreeCAD: Overlayed Layout (Devs needed)

Postby Kunda1 » Thu Jul 27, 2017 10:49 am

pablogil wrote:
Wed Jul 26, 2017 5:56 am
Just a ping to help finding someone that feels like continuing the work, I love this UI!
+1 this would be pretty damn amazing
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features