Page 220 of 331 < 1 2 ... 218 219 220 221 222 ... 330 331 >
Topic Options
#78506 - 04/13/12 06:26 AM Re: QMC2 - MAME/MESS Frontend [Re: qmc2]
qmc2 Offline
Very Senior Member

Registered: 05/29/08
Posts: 3028
Loc: Germany
Originally Posted By: qmc2
Especially when you want to directly address any widgets / objects in a style-sheet you need to know the names of their classes.

That was not quite correct... when you address a class, ALL objects of that type would change. But you can also address a single object-instance, in which case you need to know its variable name (which Qt internally handles through the objectName-property, or QObject::objectName()).

A simple example for this is the "qmc2-oxygen" style-sheet, which is just addressing a specific QLabel instance:

Code:
QLabel#labelGamelistStatus {
    background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 0, 0, 64), stop:1 rgba(255, 255, 255, 0));
}

Yeah, that's really a cool feature of Qt smile!


Edited by qmc2 (04/13/12 07:38 AM)
Edit Reason: some typo-corrections :)
_________________________
We're searching for QMC2 translators & support for existing translations. Interested? See here!

Top
#78507 - 04/13/12 06:48 AM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
Anna Wu Offline
Very Senior Member

Registered: 07/28/07
Posts: 3938
May this will be helpful too.
_________________________
Anna's Playground for QMC2

Top
#78508 - 04/13/12 08:29 AM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
qmc2 Offline
Very Senior Member

Registered: 05/29/08
Posts: 3028
Loc: Germany
With regard to GUI styles / style-sheet combinations, please also see this section in the README.
_________________________
We're searching for QMC2 translators & support for existing translations. Interested? See here!

Top
#78558 - 04/18/12 02:44 PM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
qmc2 Offline
Very Senior Member

Registered: 05/29/08
Posts: 3028
Loc: Germany
FYI... since SVN r3672 QMC2 has experimental support for Qt 5 (which is at alpha-stage right now and supposed to be released in June/July this year). The changes weren't too drastic, however, Phonon support is not available in Qt 5 at the moment, so it only works with PHONON=0.

Note that Qt 4 support hasn't changed in any way.
_________________________
We're searching for QMC2 translators & support for existing translations. Interested? See here!

Top
#78559 - 04/18/12 04:10 PM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
qmc2 Offline
Very Senior Member

Registered: 05/29/08
Posts: 3028
Loc: Germany
OK, I found the reason for the issue with Phonon in Qt 5 (caused by some "make install" bug in Qt-git) and fixed my Qt 5 installation... QMC2 also builds fine WITH enabled Phonon features in case of Qt 5 smile.
_________________________
We're searching for QMC2 translators & support for existing translations. Interested? See here!

Top
#78560 - 04/18/12 08:11 PM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
qmc2 Offline
Very Senior Member

Registered: 05/29/08
Posts: 3028
Loc: Germany
Here's a screen-shot of QMC2 / Qt 5 (nothing spectacular, but it proves that it's working wink ):



However, they dropped the QX11EmbedContainer class (and friends), which means there's no embedding on Linux with Qt 5. But there's a sub-project working on this, so it should reappear at some point.
_________________________
We're searching for QMC2 translators & support for existing translations. Interested? See here!

Top
#78561 - 04/18/12 08:14 PM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13172
Loc: USA
Nice!

That reminds me, I need to move my butt on making MAME's GTK stuff work with GTK 3.

Top
#78562 - 04/18/12 08:37 PM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
qmc2 Offline
Very Senior Member

Registered: 05/29/08
Posts: 3028
Loc: Germany
Thanks -- caused me a few headaches, though smile.

Qt 4 will continue to be supported by QMC2 for at least a year or so, well, at least until all major Linux distributions have Qt 5 in their "portfolio" and the embedder-stuff in Qt 5 / X11 (or, actually XCB now) is sorted out.
_________________________
We're searching for QMC2 translators & support for existing translations. Interested? See here!

Top
#78567 - 04/19/12 07:52 PM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
qmc2 Offline
Very Senior Member

Registered: 05/29/08
Posts: 3028
Loc: Germany
I just received a number of updates from our French translator (finally smile ) and had to sync his changes (to the MAME template) to all the other templates. It's probably all OK, but as it was a rather major change esp. for MAME & MESS on Windows I'd appreciate if someone from the Windows faction could test / confirm that it's all OK. You don't need to test the French translation (which isn't fully complete anyway, ~90% done), but of course you can (well, perhaps) wink.

I only want to make sure there are no syntax errors and that no options got lost. Please check with Tools -> Clean up -> Check template map from the menu and report any suspicious output. Thanks!
_________________________
We're searching for QMC2 translators & support for existing translations. Interested? See here!

Top
#78583 - 04/21/12 10:59 AM Re: QMC2 - MAME/MESS Frontend [Re: Anna Wu]
qmc2 Offline
Very Senior Member

Registered: 05/29/08
Posts: 3028
Loc: Germany
SVN r3684:
  • imp: MESS device configurator: sort slot-options alphanumerically, add a separator between 'not used' and available options
Sorting seemed reasonable since some drivers meanwhile have many slot-options... like the C64, for example -- I was searching for the ide64 option when testing Curt's latest additions smile.
_________________________
We're searching for QMC2 translators & support for existing translations. Interested? See here!

Top
Page 220 of 331 < 1 2 ... 218 219 220 221 222 ... 330 331 >


Who's Online
2 registered (Just Desserts, B2K24), 15 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4345 Members
9 Forums
7228 Topics
87112 Posts

Max Online: 183 @ 03/06/12 06:21 PM