# HG changeset patch # User John Kern # Date 1282174770 25200 # Node ID 93c5a58496b629b933c239dd0e8d4b98da427940 # Parent f6cf541961ad0212b39af8d520aebf3928ca321c add graphics view which presents contacts details diff -r f6cf541961ad -r 93c5a58496b6 Seafood/SeafoodTabbed.pro.user --- a/Seafood/SeafoodTabbed.pro.user Mon Aug 16 15:57:18 2010 -0700 +++ b/Seafood/SeafoodTabbed.pro.user Wed Aug 18 16:39:30 2010 -0700 @@ -1,308 +1,395 @@ - RunConfiguration0-BaseEnvironmentBase - 2 - - - RunConfiguration0-CommandLineArguments - - - - RunConfiguration0-ProFile - SeafoodTabbed.pro - - - RunConfiguration0-RunConfiguration.name - SeafoodTabbed - - - RunConfiguration0-UseDyldImageSuffix - false - - - RunConfiguration0-UseTerminal - false - - - RunConfiguration0-UserEnvironmentChanges - - - - RunConfiguration0-UserSetName - false - - - RunConfiguration0-UserSetWorkingDirectory - false - - - RunConfiguration0-UserWorkingDirectory - - - - RunConfiguration0-type - Qt4ProjectManager.Qt4RunConfiguration - - - activeRunConfiguration + ProjectExplorer.Project.ActiveTarget 0 - activebuildconfiguration - Release - - - buildConfiguration-Release + ProjectExplorer.Project.EditorSettings - Release - 5 - 6 - - 1 + System - buildconfiguration-Release-buildstep0 + ProjectExplorer.Project.Target.0 - Release - - /M=RVCT22_ASMOPT - ALLUSERSPROFILE=C:\Documents and Settings\All Users - APPDATA=C:\Documents and Settings\johnk\Application Data - ARMLMD_LICENSE_FILE=C:\Symbian\ARM\Licenses\license40.bat - ARMROOT=C:\Symbian\ARM - COMMONPROGRAMFILES=C:\Program Files\Common Files - COMPUTERNAME=PC213502752220 - COMSPEC=C:\WINDOWS\system32\cmd.exe - DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection - EPOCDEVICE=S60_5th_Edition_SDK_v1.0:com.nokia.s60 - EPOCROOT=\S60\devices\S60_5th_Edition_SDK_v1.0\ - FP_NO_HOST_CHECK=NO - HELIUM_HOME=C:\Symbian\Tools\PDT_1.0\helium - HGMERGE="C:\Program Files\WinMerge\WinMergeU.exe" - HOMEDRIVE=C: - HOMEPATH=\Documents and Settings\johnk - LOGONSERVER=\\PC213502752220 - MWCSYM2INCLUDES=C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK - MWSYM2LIBRARIES=C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Runtime\Runtime_x86\Runtime_Win32\Libs - MWSYM2LIBRARYFILES=MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib; - NUMBER_OF_PROCESSORS=2 - ONLINESERVICES=Online Services - OS=Windows_NT - PATH=C:\Program Files\CSL Arm Toolchain\bin;C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\gcc\bin;C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools;C:\Qt\4.6.2\bin;C:\Program Files\PC Connectivity Solution\;C:\Symbian\ARM\bin\win_32-pentium;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Tools\Command_Line_Tools;C:\Python25\;C:\Perl\bin\;C:\Program Files\Common Files\Symbian\Tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\ActivIdentity\ActivClient\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Symbian\Tools\ADT_1.0\raptor\bin;C:\Program Files\Mercurial;%EPOCROOT%epoc32\tools;C:\Symbian\Tools\PDT_1.0\;C:\Symbian\Tools\PDT_1.0\cdb;C:\Symbian\Tools\PDT_1.0\CBR tools;C:\Symbian\Tools\PDT_1.0\raptor\bin;C:\Symbian\Tools\PDT_1.0\STAT\stat;C:\Symbian\Tools\PDT_1.0\SVS Test Development;C:\Symbian\Tools\PDT_1.0\Test Driver;C:\Symbian\Tools\PDT_1.0\Use Case Controller\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller\syncservice\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller\testdriverservice\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller;C:\Program Files\Support Tools\;C:\Symbian\ARM\RVCT\Programs\4.0\591\multi1\win_32-pentium;C:\Program Files\yagarto\bin;C:\Program Files\Google\google_appengine\ - PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw - PLATFORM=BNB - PROCESSOR_ARCHITECTURE=x86 - PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel - PROCESSOR_LEVEL=6 - PROCESSOR_REVISION=1706 - PROGRAMFILES=C:\Program Files - QTDIR=C:/Qt/4.6.2 - RVCT40BIN=C:\Symbian\ARM\RVCT\Programs\4.0\591\multi1\win_32-pentium - RVCT40INC=C:\Symbian\ARM\RVCT\Data\4.0\591\include\windows - RVCT40LIB=C:\Symbian\ARM\RVCT\Data\4.0\591\lib - SBS_HOME=C:\Symbian\Tools\PDT_1.0\raptor - SESSIONNAME=Console - SYSTEMDRIVE=C: - SYSTEMROOT=C:\WINDOWS - TEMP=C:\DOCUME~1\johnk\LOCALS~1\Temp - TMP=C:\DOCUME~1\johnk\LOCALS~1\Temp - USERDOMAIN=PC213502752220 - USERNAME=JohnK - USERPROFILE=C:\Documents and Settings\johnk - VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection - WINDIR=C:\WINDOWS - __COMPAT_LAYER=EnableNXShowUI - - - C:/workspace/QtExamples/Seafood/SeafoodTabbed.pro - -spec - symbian-abld - -r - CONFIG+=release - - c:/qt/4.6.2/bin/qmake.exe - false - C:/workspace/QtExamples/Seafood + Qt Simulator + Qt4ProjectManager.Target.QtSimulatorTarget + 0 + 0 + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + 2 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + false + + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + C:/workspace/qt/QtExamples/SeafoodTabbed-build-simulator + 28 + 2 + true + + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + 2 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + false + + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + C:/workspace/qt/QtExamples/SeafoodTabbed-build-simulator + 28 + 2 + true + + 2 + + SeafoodTabbed + Qt4ProjectManager.Qt4RunConfiguration + 2 + + SeafoodTabbed.pro + false + false + + false + false + + + 1 - buildconfiguration-Release-buildstep1 + ProjectExplorer.Project.Target.1 - Release - - /M=RVCT22_ASMOPT - ALLUSERSPROFILE=C:\Documents and Settings\All Users - APPDATA=C:\Documents and Settings\johnk\Application Data - ARMLMD_LICENSE_FILE=C:\Symbian\ARM\Licenses\license40.bat - ARMROOT=C:\Symbian\ARM - COMMONPROGRAMFILES=C:\Program Files\Common Files - COMPUTERNAME=PC213502752220 - COMSPEC=C:\WINDOWS\system32\cmd.exe - DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection - EPOCDEVICE=S60_5th_Edition_SDK_v1.0:com.nokia.s60 - EPOCROOT=\S60\devices\S60_5th_Edition_SDK_v1.0\ - FP_NO_HOST_CHECK=NO - HELIUM_HOME=C:\Symbian\Tools\PDT_1.0\helium - HGMERGE="C:\Program Files\WinMerge\WinMergeU.exe" - HOMEDRIVE=C: - HOMEPATH=\Documents and Settings\johnk - LOGONSERVER=\\PC213502752220 - MWCSYM2INCLUDES=C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK - MWSYM2LIBRARIES=C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Runtime\Runtime_x86\Runtime_Win32\Libs - MWSYM2LIBRARYFILES=MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib; - NUMBER_OF_PROCESSORS=2 - ONLINESERVICES=Online Services - OS=Windows_NT - PATH=C:\Program Files\CSL Arm Toolchain\bin;C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\gcc\bin;C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools;C:\Qt\4.6.2\bin;C:\Program Files\PC Connectivity Solution\;C:\Symbian\ARM\bin\win_32-pentium;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Tools\Command_Line_Tools;C:\Python25\;C:\Perl\bin\;C:\Program Files\Common Files\Symbian\Tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\ActivIdentity\ActivClient\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Symbian\Tools\ADT_1.0\raptor\bin;C:\Program Files\Mercurial;%EPOCROOT%epoc32\tools;C:\Symbian\Tools\PDT_1.0\;C:\Symbian\Tools\PDT_1.0\cdb;C:\Symbian\Tools\PDT_1.0\CBR tools;C:\Symbian\Tools\PDT_1.0\raptor\bin;C:\Symbian\Tools\PDT_1.0\STAT\stat;C:\Symbian\Tools\PDT_1.0\SVS Test Development;C:\Symbian\Tools\PDT_1.0\Test Driver;C:\Symbian\Tools\PDT_1.0\Use Case Controller\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller\syncservice\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller\testdriverservice\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller;C:\Program Files\Support Tools\;C:\Symbian\ARM\RVCT\Programs\4.0\591\multi1\win_32-pentium;C:\Program Files\yagarto\bin;C:\Program Files\Google\google_appengine\ - PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw - PLATFORM=BNB - PROCESSOR_ARCHITECTURE=x86 - PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel - PROCESSOR_LEVEL=6 - PROCESSOR_REVISION=1706 - PROGRAMFILES=C:\Program Files - QTDIR=C:/Qt/4.6.2 - RVCT40BIN=C:\Symbian\ARM\RVCT\Programs\4.0\591\multi1\win_32-pentium - RVCT40INC=C:\Symbian\ARM\RVCT\Data\4.0\591\include\windows - RVCT40LIB=C:\Symbian\ARM\RVCT\Data\4.0\591\lib - SBS_HOME=C:\Symbian\Tools\PDT_1.0\raptor - SESSIONNAME=Console - SYSTEMDRIVE=C: - SYSTEMROOT=C:\WINDOWS - TEMP=C:\DOCUME~1\johnk\LOCALS~1\Temp - TMP=C:\DOCUME~1\johnk\LOCALS~1\Temp - USERDOMAIN=PC213502752220 - USERNAME=JohnK - USERPROFILE=C:\Documents and Settings\johnk - VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection - WINDIR=C:\WINDOWS - __COMPAT_LAYER=EnableNXShowUI - - false - - release-gcce - -w - - C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/tools/make.exe - true - C:/workspace/QtExamples/Seafood + Symbian Device + Qt4ProjectManager.Target.S60DeviceTarget + 0 + 0 + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + + Create SIS Package + Qt4ProjectManager.S60SignBuildStep + false + + + + + 0 + + 3 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + false + + 4.6.3 Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + C:/workspace/qt/QtExamples/Seafood + 34 + 6 + false + + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + + Create SIS Package + Qt4ProjectManager.S60SignBuildStep + false + + + + + 0 + + 3 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + false + + 4.6.3 Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + C:/workspace/qt/QtExamples/Seafood + 34 + 6 + false + + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + + Create SIS Package + Qt4ProjectManager.S60SignBuildStep + false + + + + + 0 + + 3 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + false + + S60_5th_Edition_SDK_v1.0 (Qt 4.6.3) Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + C:/workspace/qt/QtExamples/Seafood + 42 + 6 + false + + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + + Create SIS Package + Qt4ProjectManager.S60SignBuildStep + false + + + + + 0 + + 3 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + false + + S60_5th_Edition_SDK_v1.0 (Qt 4.6.3) Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + C:/workspace/qt/QtExamples/Seafood + 42 + 6 + false + + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + + Create SIS Package + Qt4ProjectManager.S60SignBuildStep + false + + + + + 0 + + 3 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + false + + S60_3rd_FP2_SDK_v1.1 (Qt 4.6.3) Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + C:/workspace/qt/QtExamples/Seafood + 44 + 6 + false + + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + + Create SIS Package + Qt4ProjectManager.S60SignBuildStep + false + + + + + 0 + + 3 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + false + + S60_3rd_FP2_SDK_v1.1 (Qt 4.6.3) Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + C:/workspace/qt/QtExamples/Seafood + 44 + 6 + false + + 6 + + SeafoodTabbed on Symbian Device + Qt4ProjectManager.S60DeviceRunConfiguration + + SeafoodTabbed.pro + COM5 + + 1 - buildconfiguration-Release-cleanstep0 - - Release - - /M=RVCT22_ASMOPT - ALLUSERSPROFILE=C:\Documents and Settings\All Users - APPDATA=C:\Documents and Settings\johnk\Application Data - ARMLMD_LICENSE_FILE=C:\Symbian\ARM\Licenses\license40.bat - ARMROOT=C:\Symbian\ARM - CLIENTNAME=Console - COMMONPROGRAMFILES=C:\Program Files\Common Files - COMPUTERNAME=PC213502752220 - COMSPEC=C:\WINDOWS\system32\cmd.exe - DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection - EPOCDEVICE=S60_5th_Edition_SDK_v1.0:com.nokia.s60 - EPOCROOT=\S60\devices\S60_5th_Edition_SDK_v1.0\ - FP_NO_HOST_CHECK=NO - HELIUM_HOME=C:\Symbian\Tools\PDT_1.0\helium - HGMERGE="C:\Program Files\WinMerge\WinMergeU.exe" - HOMEDRIVE=C: - HOMEPATH=\Documents and Settings\johnk - LOGONSERVER=\\PC213502752220 - MWCSYM2INCLUDES=C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK - MWSYM2LIBRARIES=C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Support\Runtime\Runtime_x86\Runtime_Win32\Libs - MWSYM2LIBRARYFILES=MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib; - NUMBER_OF_PROCESSORS=2 - ONLINESERVICES=Online Services - OS=Windows_NT - PATH=C:\Program Files\CSL Arm Toolchain\bin;C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\gcc\bin;C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools;C:\Qt\4.6.2\bin;C:\Program Files\PC Connectivity Solution\;C:\Symbian\ARM\bin\win_32-pentium;C:\Symbian\Tools\ADT_1.0\Carbide.c++\x86Build\Symbian_Tools\Command_Line_Tools;C:\Python25\;C:\Perl\bin\;C:\Program Files\Common Files\Symbian\Tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\ActivIdentity\ActivClient\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Symbian\Tools\ADT_1.0\raptor\bin;C:\Program Files\Mercurial;%EPOCROOT%epoc32\tools;C:\Symbian\Tools\PDT_1.0\;C:\Symbian\Tools\PDT_1.0\cdb;C:\Symbian\Tools\PDT_1.0\CBR tools;C:\Symbian\Tools\PDT_1.0\raptor\bin;C:\Symbian\Tools\PDT_1.0\STAT\stat;C:\Symbian\Tools\PDT_1.0\SVS Test Development;C:\Symbian\Tools\PDT_1.0\Test Driver;C:\Symbian\Tools\PDT_1.0\Use Case Controller\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller\syncservice\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller\testdriverservice\bin;C:\Symbian\Tools\PDT_1.0\Use Case Controller;C:\Program Files\Support Tools\;C:\Symbian\ARM\RVCT\Programs\4.0\591\multi1\win_32-pentium;C:\Program Files\yagarto\bin;C:\Program Files\Google\google_appengine\ - PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw - PLATFORM=BNB - PROCESSOR_ARCHITECTURE=x86 - PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel - PROCESSOR_LEVEL=6 - PROCESSOR_REVISION=1706 - PROGRAMFILES=C:\Program Files - QTDIR=C:/Qt/4.6.2 - RVCT40BIN=C:\Symbian\ARM\RVCT\Programs\4.0\591\multi1\win_32-pentium - RVCT40INC=C:\Symbian\ARM\RVCT\Data\4.0\591\include\windows - RVCT40LIB=C:\Symbian\ARM\RVCT\Data\4.0\591\lib - SBS_HOME=C:\Symbian\Tools\PDT_1.0\raptor - SESSIONNAME=Console - SYSTEMDRIVE=C: - SYSTEMROOT=C:\WINDOWS - TEMP=C:\DOCUME~1\johnk\LOCALS~1\Temp - TMP=C:\DOCUME~1\johnk\LOCALS~1\Temp - USERDOMAIN=PC213502752220 - USERNAME=JohnK - USERPROFILE=C:\Documents and Settings\johnk - VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection - WINDIR=C:\WINDOWS - __COMPAT_LAYER=EnableNXShowUI - - true - - clean - -w - - C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/tools/make.exe - true - C:/workspace/QtExamples/Seafood - true - - clean - - + ProjectExplorer.Project.TargetCount + 2 - buildconfigurations - - Release - - - - buildstep0 - - - - - - - buildstep1 - - - - - - buildsteps - - trolltech.qt4projectmanager.qmake - trolltech.qt4projectmanager.make - - - - cleanstep0 - - - true - - - - cleansteps - - trolltech.qt4projectmanager.make - - - - defaultFileEncoding - System - - - project - + ProjectExplorer.Project.Updater.FileVersion + 4 diff -r f6cf541961ad -r 93c5a58496b6 contactengine/contactengine.pro --- a/contactengine/contactengine.pro Mon Aug 16 15:57:18 2010 -0700 +++ b/contactengine/contactengine.pro Wed Aug 18 16:39:30 2010 -0700 @@ -1,47 +1,49 @@ -#------------------------------------------------- -# -# Project created by QtCreator 2010-08-03T16:15:24 -# -#------------------------------------------------- - -QT += core gui sql - -TARGET = contactengine -TEMPLATE = app - -CONFIG += debug - -SOURCES += main.cpp\ - mainwindow.cpp \ - contactsengine.cpp \ - dbtools.cpp - -HEADERS += mainwindow.h \ - contactsengine.h \ - database.h \ - dbtools.h \ - database.h - - -FORMS += mainwindow.ui - -CONFIG += mobility -MOBILITY = contacts - -unix:INCLUDEPATH += /home/johnk/libs/include/QtContacts /home/johnk/libs/include/ -unix:LIBS += -L/home/johnk/libs/lib -lQtContacts - -databasefiles.sources = contacts.csv -databasefiles.path = . - -DEPLOYMENT += databasefiles - -symbian { - TARGET.UID3 = 0xec200759 - TARGET.CAPABILITY += ReadUserData WriteUserData - TARGET.EPOCSTACKSIZE = 0x14000 - TARGET.EPOCHEAPSIZE = 0x020000 0x800000 -} - -RESOURCES += \ - resouce.qrc +#------------------------------------------------- +# +# Project created by QtCreator 2010-08-03T16:15:24 +# +#------------------------------------------------- + +QT += core gui sql svg + +TARGET = contactengine +TEMPLATE = app + +CONFIG += debug + +SOURCES += main.cpp\ + mainwindow.cpp \ + contactsengine.cpp \ + dbtools.cpp \ + detailsgv.cpp + +HEADERS += mainwindow.h \ + contactsengine.h \ + database.h \ + dbtools.h \ + database.h \ + detailsgv.h + + +FORMS += mainwindow.ui + +CONFIG += mobility +MOBILITY = contacts + +unix:INCLUDEPATH += /home/johnk/libs/include/QtContacts /home/johnk/libs/include/ +unix:LIBS += -L/home/johnk/libs/lib -lQtContacts + +databasefiles.sources = contacts.csv +databasefiles.path = . + +DEPLOYMENT += databasefiles + +symbian { + TARGET.UID3 = 0xec200759 + TARGET.CAPABILITY += ReadUserData WriteUserData + TARGET.EPOCSTACKSIZE = 0x14000 + TARGET.EPOCHEAPSIZE = 0x020000 0x800000 +} + +RESOURCES += \ + resouce.qrc diff -r f6cf541961ad -r 93c5a58496b6 contactengine/contactsengine.h --- a/contactengine/contactsengine.h Mon Aug 16 15:57:18 2010 -0700 +++ b/contactengine/contactsengine.h Wed Aug 18 16:39:30 2010 -0700 @@ -42,7 +42,9 @@ private: QMap m_availableManagers; + // this is the default mgr. On device, it pull info from contacts as expected. QPointer m_manager; + // this one is simply in memory. Put the Symbian Foundation contacts here. QPointer m_manager_sf; }; diff -r f6cf541961ad -r 93c5a58496b6 contactengine/detailsgv.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contactengine/detailsgv.cpp Wed Aug 18 16:39:30 2010 -0700 @@ -0,0 +1,96 @@ +#include "detailsgv.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +DetailsGV::DetailsGV(QObject *parent,QGraphicsView *gv) : + QObject(parent), view(gv) +{ + scene = new QGraphicsScene(this); + gv->setScene(scene); + this->createWidgets(); + this->createProxyWidgets(); + this->createLayout(); + this->createConnections(); + this->customizeView(); +} + + +void DetailsGV::createWidgets() +{ + QString styleSheet("background-color:red"); + callMe = new QPushButton(tr("call us")); + callMe->setStyleSheet(styleSheet); + textMe = new QPushButton(tr("text us")); + textMe->setStyleSheet(styleSheet); + back = new QPushButton (tr("back")); + back->setStyleSheet(styleSheet); + exitApp = new QPushButton(tr("exit")); + exitApp->setStyleSheet(styleSheet); +} + +void DetailsGV::createProxyWidgets() +{ + proxyForName["callMe"] = scene->addWidget(callMe); + proxyForName["textMe"] = scene->addWidget(textMe); + proxyForName["back"] = scene->addWidget(back); + proxyForName["exitApp"] = scene->addWidget(exitApp); +} + +void DetailsGV::createLayout() +{ + // row of buttons + QGraphicsLinearLayout *leftLayout = new QGraphicsLinearLayout(Qt::Vertical); + leftLayout->addItem(proxyForName["callMe"]); + leftLayout->addItem(proxyForName["textMe"]); + leftLayout->addItem(proxyForName["back"]); + leftLayout->addItem(proxyForName["exitApp"]); + + // looks like there is a bug with respect to displaying jpeg's in a scene on Symbian^1. + // I've asked about it on the mailing list QtS60-feedback@trolltech.com. + //QGraphicsPixmapItem *profile = new QGraphicsPixmapItem( QPixmap(":/images/MadProf_thumb.jpg")); + // strange returns width of screen not button ? + // int w = this->callMe->width(); + // profile->setX(100); + + // svg from open clipart (http://www.openclipart.org/detail/959) + QGraphicsSvgItem *profile = new QGraphicsSvgItem(":/images/johnny_automatic_marching_band_1.svg"); + profile->scale(0.5,0.5); + profile->setX(32); + + QGraphicsAnchorLayout *aLayout = new QGraphicsAnchorLayout; + aLayout->addAnchor(leftLayout,Qt::AnchorLeft,aLayout,Qt::AnchorLeft); + aLayout->addAnchor(leftLayout,Qt::AnchorTop,aLayout,Qt::AnchorTop); + + // address + QGraphicsTextItem *address = new QGraphicsTextItem(); + address->setDefaultTextColor(QColor(Qt::darkRed)); + address->setHtml("Symbian Foundation West
Foster City
California"); + address->setPos(25, 225); + + QGraphicsWidget *widget = new QGraphicsWidget; + widget->setLayout(aLayout); + scene->addItem(profile); + scene->addItem(address); + scene->addItem(widget); +} + + +void DetailsGV::customizeView() +{ + view->setBackgroundBrush(QColor("bisque")); + view->setRenderHints(QPainter::Antialiasing|QPainter::TextAntialiasing); +} + +void DetailsGV::createConnections() +{ + // if someone clicks on the exit button, propogate it to the QMainWindow. + connect(this->exitApp, SIGNAL(clicked()),this,SIGNAL(closeMe())); +} diff -r f6cf541961ad -r 93c5a58496b6 contactengine/detailsgv.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contactengine/detailsgv.h Wed Aug 18 16:39:30 2010 -0700 @@ -0,0 +1,53 @@ +#ifndef DETAILSGV_H +#define DETAILSGV_H + +#include +#include +#include +#include +#include + +/* + * This class is a mock up of how the Graphics View architecture might be + * used to present the details of a contact. It encapsulates all information + * about Graphics View except the UI Design defines and asks the view itself to the + * QStackedView. + * + * It has no knowledge of the QMainWindow. Widgets in this calls can emit a signal to + * communicate with the QMainWindow. + */ + +class DetailsGV : public QObject +{ + Q_OBJECT +public: + explicit DetailsGV(QObject *parent, QGraphicsView *gv); + +signals: + void closeMe(); + void backToList(); + +public slots: + +private: + // We can use normal widgets in a Graphics View. This one creates some push buttons. + void createWidgets(); + // If you use normal widgets, you'll need to use a proxy to communite between them and the graphics view. + void createProxyWidgets(); + void createLayout(); + // customize the view + void customizeView(); + void createConnections(); + +private: + QGraphicsScene *scene; + QGraphicsView *view; + QPushButton *callMe; + QPushButton *textMe; + QPushButton *back; + QPushButton *exitApp; + + QHash proxyForName; +}; + +#endif // DETAILSGV_H diff -r f6cf541961ad -r 93c5a58496b6 contactengine/images/johnny_automatic_marching_band_1.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contactengine/images/johnny_automatic_marching_band_1.svg Wed Aug 18 16:39:30 2010 -0700 @@ -0,0 +1,1224 @@ + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r f6cf541961ad -r 93c5a58496b6 contactengine/main.cpp --- a/contactengine/main.cpp Mon Aug 16 15:57:18 2010 -0700 +++ b/contactengine/main.cpp Wed Aug 18 16:39:30 2010 -0700 @@ -31,6 +31,7 @@ disableContextMenu(); + w.setWindowTitle("Qt Study App"); #if defined(Q_WS_S60) w.showMaximized(); #else diff -r f6cf541961ad -r 93c5a58496b6 contactengine/mainwindow.cpp --- a/contactengine/mainwindow.cpp Mon Aug 16 15:57:18 2010 -0700 +++ b/contactengine/mainwindow.cpp Wed Aug 18 16:39:30 2010 -0700 @@ -13,6 +13,8 @@ ui(new Ui::MainWindow) { ui->setupUi(this); + this->createMenus(); + this->ce = new ContactsEngine(this); connect(this->ce, SIGNAL(errorOccurred(QString)), @@ -26,11 +28,20 @@ ui->comboBox->addItems(this->ce->dataSources()); ui->listView->setModel(this->ce); - this->createMenus(); + this->details = new DetailsGV(this,ui->graphicsView); + connect(this->details,SIGNAL(closeMe()),this,SLOT(close())); + connect(this->details,SIGNAL(backToList()),this, SLOT(displayList())); + + ui->stackedWidget->setCurrentIndex(MainWindow::EListPage); + } void MainWindow::createMenus() { + detailsAction = new QAction(tr("&Details"),this); + menuBar()->addAction(detailsAction); + connect(detailsAction, SIGNAL(triggered()),this, SLOT(displayDetails())); + verAction = new QAction(tr("&Version"),this); menuBar()->addAction(verAction); connect(verAction, SIGNAL(triggered()),this, SLOT(displayVersion())); @@ -40,6 +51,16 @@ connect(exitAction, SIGNAL(triggered()),this, SLOT(close())); } +void MainWindow::displayDetails() +{ + ui->stackedWidget->setCurrentIndex(MainWindow::EDetailsGV); +} + +void MainWindow::displayList() +{ + ui->stackedWidget->setCurrentIndex(MainWindow::EListPage); +} + void MainWindow::displayVersion() { QMessageBox::information(this,"Qt Version", qVersion()); diff -r f6cf541961ad -r 93c5a58496b6 contactengine/mainwindow.h --- a/contactengine/mainwindow.h Mon Aug 16 15:57:18 2010 -0700 +++ b/contactengine/mainwindow.h Wed Aug 18 16:39:30 2010 -0700 @@ -3,6 +3,7 @@ #include #include "contactsengine.h" +#include "detailsgv.h" namespace Ui { class MainWindow; @@ -13,6 +14,10 @@ Q_OBJECT public: + // this enum is used as in index for the QStackedWidget. + enum {EListPage = 0, // lists of contacts + EDetailsGV}; // presents list of details for a contact based on Graphics View + explicit MainWindow(QWidget *parent = 0); ~MainWindow(); void createMenus(); @@ -20,11 +25,15 @@ public slots: void errorOccurred(QString errMsg); void displayVersion(); - + void displayDetails(); + void displayList(); private: + DetailsGV *details; + QAction *detailsAction; QAction *verAction; QAction *exitAction; + Ui::MainWindow *ui; ContactsEngine *ce; }; diff -r f6cf541961ad -r 93c5a58496b6 contactengine/mainwindow.ui --- a/contactengine/mainwindow.ui Mon Aug 16 15:57:18 2010 -0700 +++ b/contactengine/mainwindow.ui Wed Aug 18 16:39:30 2010 -0700 @@ -14,29 +14,55 @@ MainWindow - + 0 0 - 361 - 641 + 359 + 621 - - - - - - 12 - - - - - - - - + + + + + -10 + -10 + 361 + 641 + + + + + + + + 12 + + + + + + + + + + listView + layoutWidget + + + + + + -10 + 0 + 371 + 711 + + + + diff -r f6cf541961ad -r 93c5a58496b6 contactengine/resouce.qrc --- a/contactengine/resouce.qrc Mon Aug 16 15:57:18 2010 -0700 +++ b/contactengine/resouce.qrc Wed Aug 18 16:39:30 2010 -0700 @@ -1,5 +1,6 @@ contacts.csv + images/johnny_automatic_marching_band_1.svg