Results 1 to 11 of 11

Thread: Qt style...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt style...

    My dream ( ) write a new QStyle such as Mac OS X Baghira.
    I want to write native qt style (as Plastique).
    Anybody know when I can read this information...
    I look QStyle example in qtdemo, but there isn't native QtStyle...

  2. #2
    Join Date
    Jan 2006
    Posts
    371
    Thanks
    14
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt style...

    Look for "arthurstyle.h" in your Qt 4.1 source to see an example of a new style.

  3. #3
    Join Date
    Jan 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt style...

    Quote Originally Posted by elcuco
    Look for "arthurstyle.h" in your Qt 4.1 source to see an example of a new style.
    Thank's I look that 01.20, next two days my holidays.
    At first I looked at Plastique.h && Plastique.cpp ... but don't understant...
    I wanted replace some code in standart Qt files, than after rebuild or build a style plugin Qt draw widgets so as I want. A think it's a shortests way...
    But thanks, I look at arthur... May be that more good and powerfull...
    Sorry my English, I am russian native speaker...

    If somebody have any ideas, welcom...

  4. #4
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt style...

    Hi I see that you talk of a Qstyle named baghira could you tell me if could run it under Windows or if there's a Windows Version??

  5. #5
    Join Date
    Jan 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt style...

    Quote Originally Posted by SkripT
    Hi I see that you talk of a Qstyle named baghira could you tell me if could run it under Windows or if there's a Windows Version??
    I don't know about this style on Windows, that I want write like this style

  6. #6
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Unhappy Re: Qt style...

    Quote Originally Posted by SkripT
    Hi I see that you talk of a Qstyle named baghira could you tell me if could run it under Windows or if there's a Windows Version??
    Here is the shameful truth about baghira : it doesn't work under M$ Win, I downloaded for nothing!!!

    I hope Sergey will release its own, under windows, soon!
    Current Qt projects : QCodeEdit, RotiDeCode

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,371
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt style...

    Quote Originally Posted by fullmetalcoder
    Here is the shameful truth about baghira : it doesn't work under M$ Win, I downloaded for nothing!!!
    I think it is based on KDE, that's why it's not working. And it's based on Qt3, so no wonder it doesn't work on your Qt4 installation.

  8. #8
    Join Date
    Jan 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt style...

    Quote Originally Posted by fullmetalcoder
    Here is the shameful truth about baghira : it doesn't work under M$ Win, I downloaded for nothing!!!

    I hope Sergey will release its own, under windows, soon!

    I hope too...

  9. #9
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt style...

    I hope it too

  10. #10
    Join Date
    Jan 2006
    Location
    N.B. Canada
    Posts
    47
    Thanked 8 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt style...

    There is already a baghira style: http://baghira.sourceforge.net/
    You can look at the source code and see how it's done.

    Bojan
    The march of progress:
    C:
    printf("%10.2f", x);
    C++:
    cout << setw(10) << setprecision(2) << showpoint << x;
    Java:
    java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
    formatter.setMinimumFractionDigits(2);
    formatter.setMaximumFractionDigits(2);
    String s = formatter.format(x);
    for (int i = s.length(); i < 10; i++) System.out.print(' ');
    System.out.print(s);

  11. #11
    Join Date
    Jan 2006
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt style...

    Quote Originally Posted by Bojan
    There is already a baghira style: http://baghira.sourceforge.net/
    You can look at the source code and see how it's done.

    Bojan
    I'm using these kde style, but baghira based on qt3 series...

Similar Threads

  1. QScrollArea misbehaving background style
    By Cruz in forum Qt Programming
    Replies: 6
    Last Post: 7th March 2021, 21:46
  2. Performace problem with style sheets
    By Cruz in forum Qt Programming
    Replies: 0
    Last Post: 7th February 2009, 13:20
  3. Mac Style for Qt Application---help needed
    By swamyonline in forum Qt Programming
    Replies: 3
    Last Post: 15th June 2008, 21:49
  4. Loading / setting custom style on win-xp
    By mpotocnik in forum Newbie
    Replies: 0
    Last Post: 29th April 2008, 11:38
  5. Qt 4.3 Style sheet, new features
    By Angelo Moriconi in forum Qt Programming
    Replies: 2
    Last Post: 12th June 2007, 15:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.