@Thorsten,

I forgot to specify in my previous mail that i'm using Qt via PySide,
so i've juste change this in your QColorScheme.py, and tested with the
standarddialogs.py from PySide examples ( see attached png to see the
restult )

Even if your project on QColorScheme is not completed, its work very well !
it is easier to implement my own customization in your SimpleNuke.ini file ?
like button color ( bit lighter in Nuke ) or text field entry etc...

@Hugo, also thanks for your contribution :)

On Wed, May 18, 2011 at 2:59 PM, Hugo Léveillé <[email protected]> wrote:

>  Here is what I have done so far. Its not completed yet, but its a good
> start.
>
>  just import nukeSS
>
>  then pass the mainwindow to it like so
>
>  class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
>     def __init__(self,app, parent=None):
>         app.setStyle(QtGui.QStyleFactory.create("plastique"))
>         super(MainWindow, self).__init__(parent)
>
>         self.setupUi(self)
>         nukeSS.setStyleSheet(self)
>
>
>  ...or jst open the .py file and extract the stylesheet text
>
>  hope this helps
>
>   On Wed, 18 May 2011 14:24 +0200, "Matthieu Cadet" <
> [email protected]> wrote:
>
> Hi Nukers,
>
>  I've created some custom dialog box with PyQt, i am able to launch it
>  from Nuke, but does anyone know the Palette Color used by Nuke ?
>  or the QStyle used ?
>
>  I've set my QApplication to style "Plastique" that seems to be closest
>  than Nuke, but all the rest like Background color or text color uses my
>  Windows 7 color....
>
>  Any idea on how to do this ? how to make your PyQt window looks
>  like Nuke UI ?
>
>  thank for your help ;)
>
> --
> --
> Matthieu Cadet
> Compositor Artist & TD
> nWave Digital
> [email protected]
>
> _______________________________________________
> Nuke-python mailing [email protected], 
> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
>  --
>  Hugo Léveillé
>  TD Compositing, Vision Globale
>  [email protected]
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>


-- 
--
Matthieu Cadet
Compositor Artist & TD
nWave Digital
[email protected]

<<attachment: test_QColorScheme.png>>

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to