Hi All
I need u peoples help.
I want Qlable area part of my windows to be supressed, for which i've to add QFrame::WinPanel | QFrame::Sunken. I want to add it in default.qss.
But its not working.
Can any body help me?
Thanx.
Hi All
I need u peoples help.
I want Qlable area part of my windows to be supressed, for which i've to add QFrame::WinPanel | QFrame::Sunken. I want to add it in default.qss.
But its not working.
Can any body help me?
Thanx.
Cheers,
Phillip
--- Please post the solution you got to solve your problem. It may help others.
Hi,
Default painter/brush for the widget can be retrieved using
But do you really have the same problem as I had?Qt Code:
To copy to clipboard, switch view to plain text mode
I had problem with setting default window color(the same as system colors).
Kacper
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
phillip_Qt (9th April 2008)
My problem is that i'm applying color through qss files. when i select default.qss o/p window is coming but it ig little bit different than the default window. colour is same only QLable part shd b supresswed but its not supressed. I checked in designer. when i'm changing stylesheet the frameshape and frameshawod is changing.
Cheers,
Phillip
--- Please post the solution you got to solve your problem. It may help others.
Maybe try setting QLabel style too, depending on needed features.
Kacper
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
I would devide changing appearance to 2 methods:
1) setting qss files
2) setting widget attributes(QFrame::Sunken),etc.
Kacper
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
Hi,
But why you have to change the attributes in the qss?
Why not to set appropriate qss file( no matter which) and then set the label attributes in your code?
Kacper
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
Thanx i solved that. But its not affecting to the other exe i've linked. Means I ve some 10 buttons 1-0 in my o/p window. if ill press 0 it ll connect to another exe and another window ll show. But its color is not getting changed.
What to do for it? Do u ve any idea?
Cheers,
Phillip
--- Please post the solution you got to solve your problem. It may help others.
I am not sure, but I suppose that every "exe" need qss file to be set. If you set a default.qss for the main app and you invoke a child app, the child also need to be assigned default.qss before being executed.
But I am not sure. Just trying to help : )
Kacper
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
Bookmarks