mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Refresh qetapp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3282 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -940,7 +940,9 @@ void QETApp::invertMainWindowVisibility(QWidget *window) {
|
|||||||
Autodetec Windows style
|
Autodetec Windows style
|
||||||
@param Windows style
|
@param Windows style
|
||||||
*/
|
*/
|
||||||
#ifdef defined(Q_WS_WIN)
|
#if defined(Q_WS_WIN) && defined(Q_WS_WINCE)
|
||||||
|
|
||||||
|
if defined(Q_WS_WIN)
|
||||||
if ((QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA
|
if ((QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA
|
||||||
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
|
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
|
||||||
style = QLatin1String("WindowsVista");
|
style = QLatin1String("WindowsVista");
|
||||||
@@ -951,6 +953,7 @@ void QETApp::invertMainWindowVisibility(QWidget *window) {
|
|||||||
style = QLatin1String("Windows"); // default styles for Windows
|
style = QLatin1String("Windows"); // default styles for Windows
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Change la palette de l'application
|
Change la palette de l'application
|
||||||
@param use true pour utiliser les couleurs du systeme, false pour utiliser celles du theme en cours
|
@param use true pour utiliser les couleurs du systeme, false pour utiliser celles du theme en cours
|
||||||
|
|||||||
Reference in New Issue
Block a user