Results 1 to 5 of 5

Thread: QMdiArea and styleSheet

  1. #1
    Join Date
    Sep 2007
    Location
    Sant'Elpidio a Mare, Italy
    Posts
    194
    Thanks
    54
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default QMdiArea and styleSheet

    Hi all,

    I searched for it in whole Internet, but I have still that humorous Qt 4 library voice that keeps telling me: "There is no way! There is no way!"
    So I look for light here

    It seems that stylesheets don't handle QMdiArea style yet... sad.
    And it can't handle QMdiSubWindow too. Have you ever tried? It's frustrating.
    Is there a way to stylize a QMdiArea? Even without the CSS (but it would be better)?

    I depend on your illuminating ideas,
    greetings
    --
    raccoon29

    "La mia vita finirà quando non vedrò più la gente ridere...non necessariamente alle mie battute "

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QMdiArea and styleSheet

    J-P Nurmi

  3. #3
    Join Date
    Sep 2007
    Location
    Sant'Elpidio a Mare, Italy
    Posts
    194
    Thanks
    54
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: QMdiArea and styleSheet

    Quote Originally Posted by jpn View Post
    Uhm... it seems that those links are corrupted, or point to unexisting pages...
    Are they correct?
    --
    raccoon29

    "La mia vita finirà quando non vedrò più la gente ridere...non necessariamente alle mie battute "

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QMdiArea and styleSheet

    Quote Originally Posted by Raccoon29 View Post
    Uhm... it seems that those links are corrupted, or point to unexisting pages...
    Are they correct?
    It seems that the task-tracker URL had changed a little bit. It's fixed now thanks to Jacek.
    J-P Nurmi

  5. The following user says thank you to jpn for this useful post:

    Raccoon29 (3rd December 2008)

  6. #5
    Join Date
    Sep 2007
    Location
    Sant'Elpidio a Mare, Italy
    Posts
    194
    Thanks
    54
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: QMdiArea and styleSheet

    Oh yes, now it's ok

    ...but it seems that there is no solution at the moment... sad
    We'll wait for that "some future release" (I fear that it is going to take a looong time...)

    In the task tracker those are posted as "suggestions", but I would talk of them as bugs...
    Have you ever tried to apply a style to the application like:
    Qt Code:
    1. background-color: rgb(128,128,30);
    2. color: white;
    3. font-size: 12px;
    4. font-weight: bold;
    5. }
    To copy to clipboard, switch view to plain text mode 
    when is implemented a MDI system?
    I did and the result is a colorfull application, that has QMdiArea ever gray, everything else olive and (here is the point) the QMdiSubWindow s background transparent! That is you can overlap two windows and you can see both of them... maybe a CSS style could fix, but Qt CSS doesn't support QMdiArea (and "children") style...

    What do you think about that?
    Last edited by Raccoon29; 3rd December 2008 at 17:35. Reason: updated contents
    --
    raccoon29

    "La mia vita finirà quando non vedrò più la gente ridere...non necessariamente alle mie battute "

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.