XP-style Common Dialogs.

--HG--
branch : develop
This commit is contained in:
dismine 2014-05-11 20:22:11 +03:00
parent c61eab5d7c
commit 1c28bb1da7
4 changed files with 20 additions and 3 deletions

View File

@ -64,7 +64,9 @@ RESOURCES += \
share/resources/theme.qrc \ share/resources/theme.qrc \
share/resources/schema.qrc share/resources/schema.qrc
OTHER_FILES += share/resources/valentina.rc \ OTHER_FILES += \
share/resources/valentina.rc \
share/resources/valentina.manifest \
share/resources/icon/64x64/icon64x64.ico share/resources/icon/64x64/icon64x64.ico
TRANSLATIONS += share/translations/valentina.ts \ TRANSLATIONS += share/translations/valentina.ts \

View File

@ -271,8 +271,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>98</width> <width>939</width>
<height>96</height> <height>411</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">

View File

@ -0,0 +1,8 @@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*' />
</dependentAssembly>
</dependency>
</assembly>

View File

@ -1,5 +1,12 @@
IDI_ICON1 ICON DISCARDABLE "icon/64x64/icon64x64.ico" IDI_ICON1 ICON DISCARDABLE "icon/64x64/icon64x64.ico"
// XP-style Common Dialogs
// If you want XP mode versions then you'll have to add a resource file that
// contains a reference to a magic manifest file which specifies that your
// app using v6 of the MS common controls library.
// http://qtcreator.blogspot.it/2009/10/xp-style-common-dialogs.html
1 24 DISCARDABLE "valentina.manifest"
#include <windows.h> #include <windows.h>
#include "../../version.h" #include "../../version.h"