Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: DahBlount on December 03, 2018, 08:30:19 pm

Title: Howdy folks!
Post by: DahBlount on December 03, 2018, 08:30:19 pm
Man, when I first joined HLP almost 6 years ago, I never in a million years would have thought I would be where I am right now. Back then, the concept of programming was intimidating and I thought I would barely be able to make it as a 3D modeler, but here we are.

I suppose the most important detail I need to get across is that not much is going to be changing. The "mission" of the SCP is as it has always been. We're still going to actively work on the same projects as before. Anyone is free to give it a shot.

As many of you may know (and are hopefully excited about), there is a project to port FRED to a platform that will offer cross-OS compatibility (QtFRED), meaning users on OS X, Linux, and BSD will be able to finally use FRED! It's been on brief hiatus but work is definitely occurring and we will most likely get to feature parity with FRED2 within the next year.

New projects are also being planned and fleshed out right now, so stay tuned!

Lastly, I would like to thank everyone who thought I would fit in the role of SCP lead. I wouldn't be here without them.

If you have any questions, feel free to ask!
Title: Re: Howdy folks!
Post by: HLD_Prophecy on December 03, 2018, 09:43:12 pm
QtFRED sounds good!

Now, what exactly would change? Will it be the same UI abstracted from a different codebase or will it be radically altered as per modern sensibilities? (Let's face it some of the old FRED functions/menus/options seem a bit weird these days)
Title: Re: Howdy folks!
Post by: Nightmare on December 03, 2018, 10:10:27 pm
UI looks like: https://www.hard-light.net/forums/index.php?topic=94565.0

Aside from a few bug fixes when we find them it will be a straight port of FRED code to qtFRED. Additional features would only slow down development. There are some changes to the architecture of the code which should make it easier to add features in the future but that will not be used to introduce new features at this time.

Can we have GeoMod now pls? ;)
Title: Re: Howdy folks!
Post by: HLD_Prophecy on December 03, 2018, 10:23:49 pm
Is that only the Linux UI though? At first glance seems very much the same, this is good!
Title: Re: Howdy folks!
Post by: Nightmare on December 03, 2018, 11:01:09 pm
I don't know, it just looked much better than the version I'm regularly looking at. :nervous:
Title: Re: Howdy folks!
Post by: DahBlount on December 04, 2018, 12:12:57 am
That is a Linux UI. On Windows, Qt by default uses a similar UI to the old MFC UIs, if we wanted to have a standardized UI across all OSes, we'd need to go through a create a bunch of resource files to do that, which would probably be something the FSU and SCP would have to collaborate on.
Title: Re: Howdy folks!
Post by: ngld on December 06, 2018, 04:34:56 pm
If you don't want to do anything too fancy, a bit of CSS is enough to get a standardized UI or you can just use Qt's Fusion theme. Run QApplication::setStyle("fusion") (https://doc.qt.io/qt-5/qapplication.html#setStyle-1) to switch the UI theme to Fusion.
If you write your own theme, you can use QApplication::setStyleSheet (https://doc.qt.io/qt-5/qapplication.html#styleSheet-prop) to load it. Here's a dark theme you can use as an example (https://github.com/Kojoley/qss-dracula/blob/master/dracula.css) and here's a detailed explanation how CSS works with Qt widgets (https://doc.qt.io/qt-5/stylesheet-examples.html).
Title: Re: Howdy folks!
Post by: Goober5000 on December 15, 2018, 09:55:26 pm
Congrats!

How about getting the ball rolling for a 3.8.2 release? :)