Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

filepicker and placepicker projects added

  • Loading branch information...
commit 2ad0c512b8fed4c0a0ad7c3ad886e4422b13b7b0 1 parent 8834dd1
@johodgson johodgson authored
Showing with 1,835 additions and 0 deletions.
  1. +210 −0 filepicker/.cproject
  2. +91 −0 filepicker/.project
  3. +25 −0 filepicker/.settings/org.eclipse.cdt.core.prefs
  4. +35 −0 filepicker/Makefile
  5. 0  filepicker/arm/.gitignore
  6. BIN  filepicker/assets/images/background.png
  7. +249 −0 filepicker/assets/main.qml
  8. +114 −0 filepicker/bar-descriptor.xml
  9. +4 −0 filepicker/device-assets.xml
  10. +51 −0 filepicker/filepicker.pro
  11. BIN  filepicker/icon.png
  12. +35 −0 filepicker/readme.txt
  13. +60 −0 filepicker/src/main.cpp
  14. +12 −0 filepicker/translations/Makefile
  15. +1 −0  filepicker/translations/filepicker.pro
  16. 0  filepicker/x86/.gitignore
  17. +210 −0 placepicker/.cproject
  18. +91 −0 placepicker/.project
  19. +25 −0 placepicker/.settings/org.eclipse.cdt.core.prefs
  20. +35 −0 placepicker/Makefile
  21. 0  placepicker/arm/.gitignore
  22. +65 −0 placepicker/assets/FieldLabel.qml
  23. +63 −0 placepicker/assets/FieldNumber.qml
  24. BIN  placepicker/assets/images/background.png
  25. +189 −0 placepicker/assets/main.qml
  26. +114 −0 placepicker/bar-descriptor.xml
  27. +4 −0 placepicker/device-assets.xml
  28. BIN  placepicker/icon.png
  29. +51 −0 placepicker/placepicker.pro
  30. +36 −0 placepicker/readme.txt
  31. +52 −0 placepicker/src/main.cpp
  32. +12 −0 placepicker/translations/Makefile
  33. +1 −0  placepicker/translations/placepicker.pro
  34. 0  placepicker/x86/.gitignore
View
210 filepicker/.cproject
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+ <storageModule moduleId="org.eclipse.cdt.core.settings">
+ <cconfiguration id="com.qnx.qcc.toolChain.1304355077">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.1304355077" moduleId="org.eclipse.cdt.core.settings" name="Default">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.1304355077" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.1304355077.1408800999" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.1535390367" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.1461395519" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.808167392" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.282223289" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1174891814" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.363698832" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.1304355077.41167749" incrementalBuildTarget="Device-Debug" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.273977328" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.1881015303" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1006106378" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.1303664117" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.699145065" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1457696172" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.93869627" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.1598764895" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.735933262">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.735933262" moduleId="org.eclipse.cdt.core.settings" name="Device-Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.735933262" name="Device-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.735933262.1260181434" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.1208841785" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.946598606" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.1619159222" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.266680074" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.571795449" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1777190015" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.735933262.334509738" incrementalBuildTarget="Device-Debug" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.768552597" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.1142625657" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1035564882" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.504311570" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.2004920063" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1188569762" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.301066272" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.1941989891" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.951592207">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.951592207" moduleId="org.eclipse.cdt.core.settings" name="Device-Release">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.951592207" name="Device-Release" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.951592207.1483999974" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.1018793640" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.461690622" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.801179727" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.676993274" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1672888668" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.2121653805" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Release" enableAutoBuild="true" id="com.qnx.qcc.toolChain.951592207.1302030734" incrementalBuildTarget="Device-Release" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.1868998152" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.1694558247" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1079245654" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.648618500" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.54211437" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1787199206" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.376687108" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.2134526157" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.139210246">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.139210246" moduleId="org.eclipse.cdt.core.settings" name="Simulator-Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.139210246" name="Simulator-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.139210246.1980608691" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.1624235597" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.413892076" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.1858339971" name="Target CPU:" superClass="com.qnx.qcc.option.cpu"/>
+ <option id="com.qnx.qcc.option.compiler.1229228261" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1603945805" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1113682241" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Simulator-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.139210246.1881903455" incrementalBuildTarget="Simulator-Debug" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.1453040736" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.1484918598" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1532813928" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.1362682739" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.712054273" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.874841418" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.131734340" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.137869942" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="filepicker.null.22683766" name="filepicker"/>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.139210246">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.735933262">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.1304355077">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.951592207">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ </storageModule>
+ <storageModule moduleId="refreshScope"/>
+</cproject>
View
91 filepicker/.project
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>filepicker</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <arguments>
+ <dictionary>
+ <key>?name?</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.append_environment</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
+ <value>Device-Debug</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildArguments</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildCommand</key>
+ <value>make</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
+ <value>clean</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.contents</key>
+ <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableFullBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
+ <value>Device-Debug</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.stopOnError</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+ <value>true</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.rim.tad.tools.qml.core.qmlFileBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.qnx.tools.bbt.xml.core.bbtXMLValidationBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.rim.tad.tools.wst.jsdt.core.jsNature</nature>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ <nature>com.qnx.tools.ide.bbt.core.bbtnature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ <nature>com.rim.tad.tools.qml.core.qmlNature</nature>
+ </natures>
+</projectDescription>
View
25 filepicker/.settings/org.eclipse.cdt.core.prefs
@@ -0,0 +1,25 @@
+eclipse.preferences.version=1
+environment/project/com.qnx.qcc.toolChain.139210246/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.139210246/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.139210246/CPULIST/value=x86
+environment/project/com.qnx.qcc.toolChain.139210246/VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.139210246/VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.139210246/VARIANTLIST/value=g
+environment/project/com.qnx.qcc.toolChain.139210246/append=true
+environment/project/com.qnx.qcc.toolChain.139210246/appendContributed=true
+environment/project/com.qnx.qcc.toolChain.735933262/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.735933262/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.735933262/CPULIST/value=arm
+environment/project/com.qnx.qcc.toolChain.735933262/VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.735933262/VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.735933262/VARIANTLIST/value=g
+environment/project/com.qnx.qcc.toolChain.735933262/append=true
+environment/project/com.qnx.qcc.toolChain.735933262/appendContributed=true
+environment/project/com.qnx.qcc.toolChain.951592207/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.951592207/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.951592207/CPULIST/value=arm
+environment/project/com.qnx.qcc.toolChain.951592207/EXCLUDE_VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.951592207/EXCLUDE_VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.951592207/EXCLUDE_VARIANTLIST/value=r
+environment/project/com.qnx.qcc.toolChain.951592207/append=true
+environment/project/com.qnx.qcc.toolChain.951592207/appendContributed=true
View
35 filepicker/Makefile
@@ -0,0 +1,35 @@
+QMAKE_TARGET = filepicker
+QMAKE = $(QNX_HOST)/usr/bin/qmake
+TARGET = $(QMAKE_TARGET)
+
+
+all: Makefile $(QMAKE_TARGET)
+
+clean:
+ $(MAKE) -C ./arm -f Makefile sureclean
+ $(MAKE) -C ./x86 -f Makefile sureclean
+
+
+Makefile: FORCE
+ $(QMAKE) -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile $(QMAKE_TARGET).pro CONFIG+=device
+ $(QMAKE) -spec unsupported/blackberry-x86-g++ -o x86/Makefile $(QMAKE_TARGET).pro CONFIG+=simulator
+ $(MAKE) -C ./translations -f Makefile update release
+
+FORCE:
+
+$(QMAKE_TARGET): device simulator
+
+device:
+ $(MAKE) -C ./arm -f Makefile all
+
+Device-Debug: Makefile
+ $(MAKE) -C ./arm -f Makefile debug
+
+Device-Release: Makefile
+ $(MAKE) -C ./arm -f Makefile release
+
+simulator:
+ $(MAKE) -C ./x86 -f Makefile all
+
+Simulator-Debug: Makefile
+ $(MAKE) -C ./x86 -f Makefile debug
View
0  filepicker/arm/.gitignore
No changes.
View
BIN  filepicker/assets/images/background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
249 filepicker/assets/main.qml
@@ -0,0 +1,249 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import bb.cascades 1.0
+import bb.cascades.pickers 1.0
+
+Page {
+ titleBar: TitleBar {
+ title: qsTr ("File Picker")
+ }
+
+ Container {
+ layout: DockLayout {}
+
+ // The background image
+ ImageView {
+ horizontalAlignment: HorizontalAlignment.Fill
+ verticalAlignment: VerticalAlignment.Fill
+
+ imageSource: "asset:///images/background.png"
+ }
+
+ Container {
+ horizontalAlignment: HorizontalAlignment.Fill
+ verticalAlignment: VerticalAlignment.Fill
+
+ topPadding: 50
+ leftPadding: 30
+ rightPadding: 30
+
+//! [0]
+ // The file picker mode selector
+ DropDown {
+ id: pickerMode
+
+ horizontalAlignment: HorizontalAlignment.Center
+ topMargin: 50
+
+ title: qsTr ("Mode")
+
+ Option {
+ text: qsTr ("Picker")
+ value: FilePickerMode.Picker
+ selected: true
+ }
+
+ Option {
+ text: qsTr ("Saver")
+ value: FilePickerMode.Saver
+ }
+
+ Option {
+ text: qsTr ("PickerMultiple")
+ value: FilePickerMode.PickerMultiple
+ }
+
+ Option {
+ text: qsTr ("SaverMultiple")
+ value: FilePickerMode.SaverMultiple
+ }
+ }
+//! [0]
+
+ // The file picker type selector
+ DropDown {
+ id: pickerType
+
+ horizontalAlignment: HorizontalAlignment.Center
+
+ title: qsTr ("Type")
+
+ Option {
+ text: qsTr ("Picture")
+ value: FileType.Picture
+ }
+
+ Option {
+ text: qsTr ("Document")
+ value: FileType.Document
+ }
+
+ Option {
+ text: qsTr ("Music")
+ value: FileType.Music
+ }
+
+ Option {
+ text: qsTr ("Video")
+ value: FileType.Video
+ }
+
+ Option {
+ text: qsTr ("Other")
+ value: FileType.Other
+ selected: true
+ }
+ }
+
+ // The file picker view mode selector
+ DropDown {
+ id: pickerViewMode
+
+ horizontalAlignment: HorizontalAlignment.Center
+
+ title: qsTr ("View Mode")
+
+ Option {
+ text: qsTr ("Default")
+ value: ViewMode.Default
+ selected: true
+ }
+
+ Option {
+ text: qsTr ("List View")
+ value: ViewMode.ListView
+ }
+
+ Option {
+ text: qsTr ("Grid View")
+ value: ViewMode.GridView
+ }
+ }
+
+ // The file picker sort criterion selector
+ DropDown {
+ id: pickerSortBy
+
+ horizontalAlignment: HorizontalAlignment.Center
+
+ title: qsTr ("Sort by")
+
+ Option {
+ text: qsTr ("Default")
+ value: FilePickerSortFlag.Default
+ selected: true
+ }
+
+ Option {
+ text: qsTr ("Name")
+ value: FilePickerSortFlag.Name
+ }
+
+ Option {
+ text: qsTr ("Date")
+ value: FilePickerSortFlag.Date
+ }
+
+ Option {
+ text: qsTr ("Suffix")
+ value: FilePickerSortFlag.Suffix
+ }
+
+ Option {
+ text: qsTr ("Size")
+ value: FilePickerSortFlag.Size
+ }
+ }
+
+ // The file picker sort order selector
+ DropDown {
+ id: pickerSortOrder
+
+ horizontalAlignment: HorizontalAlignment.Center
+
+ title: qsTr ("Sort order")
+
+ Option {
+ text: qsTr ("Default")
+ value: FilePickerSortOrder.Default
+ selected: true
+ }
+
+ Option {
+ text: qsTr ("Ascending")
+ value: FilePickerSortOrder.Ascending
+ }
+
+ Option {
+ text: qsTr ("Descending")
+ value: FilePickerSortOrder.Descending
+ }
+ }
+
+//! [1]
+ // The 'Show' button
+ Button {
+ horizontalAlignment: HorizontalAlignment.Center
+ topMargin: 100
+
+ text: qsTr ("Show")
+ onClicked: picker.open()
+ }
+//! [1]
+
+//! [2]
+ // The result label
+ Label {
+ id: resultLabel
+
+ horizontalAlignment: HorizontalAlignment.Center
+ topMargin: 30
+
+ text: qsTr ("Selected file: %1").arg(picker.selectedFile)
+
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
+
+ multiline: true
+ visible: (picker.selectedFile != "")
+ }
+//! [2]
+ }
+ }
+
+//! [3]
+ attachedObjects: [
+ FilePicker {
+ id: picker
+
+ property string selectedFile
+
+ title: qsTr ("File Picker")
+ mode: pickerMode.selectedValue
+ type: pickerType.selectedValue
+ viewMode: pickerViewMode.selectedValue
+ sortBy: pickerSortBy.selectedValue
+ sortOrder: pickerSortOrder.selectedValue
+
+ onFileSelected: {
+ selectedFile = selectedFiles[0]
+ }
+ }
+ ]
+//! [3]
+}
View
114 filepicker/bar-descriptor.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+ Copyright (c) 2011, 2012 Research In Motion Limited.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<qnx xmlns="http://www.qnx.com/schemas/application/1.0">
+
+<!-- BlackBerry Tablet OS application descriptor file.
+
+ Specifies parameters for identifying, installing, and launching native applications on BlackBerry Tablet OS.
+
+-->
+
+ <!-- A universally unique application identifier. Must be unique across all BlackBerry Tablet OS applications.
+ Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
+ <id>com.example.bb10samples.pickers.filepicker</id>
+
+ <!-- The name that is displayed in the BlackBerry Tablet OS application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>filepicker</name>
+
+ <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
+ Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
+ An updated version of application must have a versionNumber value higher than the previous version. Required. -->
+ <versionNumber>1.0.0</versionNumber>
+
+ <!-- Fourth digit segment of the package version. First three segments are taken from the
+ <versionNumber> element. Must be an integer from 0 to 2^16-1 -->
+ <buildId>1</buildId>
+
+ <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
+ <!-- <versionLabel></versionLabel> -->
+
+ <!-- Description, displayed in the BlackBerry Tablet OS application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <description>The filepicker application</description>
+
+ <!-- Copyright information. Optional. -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Name of author which is used for signing. Must match the developer name of your development certificate. -->
+ <author>Example Inc.</author>
+
+ <!-- Unique author ID assigned by signing authority. Required if using debug tokens. -->
+ <!-- <authorId>ABC1234YjsnUk235h</authorId> -->
+
+ <initialWindow>
+ <systemChrome>none</systemChrome>
+ <transparent>false</transparent>
+ </initialWindow>
+
+ <!-- The category where the application appears. Either core.games or core.media. -->
+ <category>core.games</category>
+ <configuration id="com.qnx.qcc.toolChain.1304355077" name="Default">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7-g/filepicker" entry="true" type="Qnx/Elf">filepicker</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.735933262" name="Device-Debug">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7-g/filepicker" entry="true" type="Qnx/Elf">filepicker</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.951592207" name="Device-Release">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7/filepicker" entry="true" type="Qnx/Elf">filepicker</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.139210246" name="Simulator-Debug">
+ <platformArchitecture>x86</platformArchitecture>
+ <asset path="x86/o-g/filepicker" entry="true" type="Qnx/Elf">filepicker</asset>
+ </configuration>
+
+ <!-- The icon for the application, which should be 86x86. -->
+ <icon>
+ <image>icon.png</image>
+ </icon>
+
+ <asset path="icon.png">icon.png</asset>
+ <asset path="assets">assets</asset>
+ <!-- The splash screen that will appear when your application is launching. Should be 1024x600. -->
+ <!-- <splashscreen></splashscreen> -->
+
+ <!-- Locale support -->
+ <asset path="translations" dest="qm">
+ <include name="*.qm"/>
+ </asset>
+
+ <!-- Request permission to execute native code. Required for native applications. -->
+ <action system="true">run_native</action>
+ <env var="LD_LIBRARY_PATH" value="app/native/lib:/usr/lib/qt4/lib"/>
+
+ <!-- The permissions requested by your application. -->
+ <!-- <action>access_shared</action> -->
+ <!-- <action>record_audio</action> -->
+ <!-- <action>read_geolocation</action> -->
+ <!-- <action>use_camera</action> -->
+ <!-- <action>access_internet</action> -->
+ <!-- <action>play_audio</action> -->
+ <!-- <action>post_notification</action> -->
+ <!-- <action>set_audio_volume</action> -->
+ <!-- <action>read_device_identifying_information</action> -->
+
+</qnx>
View
4 filepicker/device-assets.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<assets>
+ <target-device width="768" height="1280" ppi="356" class="phone"/>
+</assets>
View
51 filepicker/filepicker.pro
@@ -0,0 +1,51 @@
+TEMPLATE = app
+TARGET = filepicker
+
+CONFIG += qt warn_on debug_and_release cascades
+
+INCLUDEPATH += ../src
+SOURCES += ../src/*.cpp
+HEADERS += ../src/*.hpp ../src/*.h
+LIBS += -lfilepicker
+
+lupdate_inclusion {
+ SOURCES += ../assets/*.qml
+}
+
+device {
+ CONFIG(release, debug|release) {
+ DESTDIR = o.le-v7
+ }
+ CONFIG(debug, debug|release) {
+ DESTDIR = o.le-v7-g
+ }
+}
+
+simulator {
+ CONFIG(release, debug|release) {
+ DESTDIR = o
+ }
+ CONFIG(debug, debug|release) {
+ DESTDIR = o-g
+ }
+}
+
+OBJECTS_DIR = $${DESTDIR}/.obj
+MOC_DIR = $${DESTDIR}/.moc
+RCC_DIR = $${DESTDIR}/.rcc
+UI_DIR = $${DESTDIR}/.ui
+
+suredelete.target = sureclean
+suredelete.commands = $(DEL_FILE) $${MOC_DIR}/*; $(DEL_FILE) $${RCC_DIR}/*; $(DEL_FILE) $${UI_DIR}/*
+suredelete.depends = distclean
+
+QMAKE_EXTRA_TARGETS += suredelete
+
+TRANSLATIONS = \
+ $${TARGET}_en_GB.ts \
+ $${TARGET}_fr.ts \
+ $${TARGET}_it.ts \
+ $${TARGET}_de.ts \
+ $${TARGET}_es.ts \
+ $${TARGET}.ts
+
View
BIN  filepicker/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
35 filepicker/readme.txt
@@ -0,0 +1,35 @@
+FilePicker
+
+========================================================================
+Sample Description.
+
+The FilePicker example demonstrates how to use the FilePicker class to let
+the user select a file or directory from the file system.
+
+You will learn how to:
+- Use the FilePicker class
+- Register C++ types to QML
+- Create property bindings
+
+========================================================================
+Requirements:
+
+BlackBerry 10 Native SDK Beta 2
+
+========================================================================
+Running the example:
+
+1. Clone the Sample repository.
+2. Launch BlackBerry 10 Native SDK Beta 2, and from the File menu, select Import.
+3. Expand General, and select Existing Projects into Workspace. Click Next.
+4. Browse to the location of your sample directory, and then click OK.
+5. The sample project should display in the Projects section.
+ Click Finish to import the project into your workspace.
+6. In the Project Explorer pane, Right-click the project (for example hellocascades)
+ and select Build Project.
+7. In the Project Explorer pane, Right-click the project (for example hellocascades)
+ and select Run As > BlackBerry C/C++ Application.
+8. The application will now install and launch on your device if not you might
+ have to set up your environment:
+ http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html
+
View
60 filepicker/src/main.cpp
@@ -0,0 +1,60 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+#include <bb/cascades/AbstractPane>
+#include <bb/cascades/Application>
+#include <bb/cascades/pickers/FilePicker>
+#include <bb/cascades/pickers/FilePickerMode>
+#include <bb/cascades/pickers/FilePickerSortFlag>
+#include <bb/cascades/pickers/FilePickerSortOrder>
+#include <bb/cascades/pickers/FileType>
+#include <bb/cascades/pickers/ViewMode>
+#include <bb/cascades/QmlDocument>
+
+#include <QLocale>
+#include <QTranslator>
+
+using namespace bb::cascades;
+
+int main(int argc, char **argv)
+{
+//! [0]
+ qmlRegisterType<bb::cascades::pickers::FilePicker>("bb.cascades.pickers", 1, 0, "FilePicker");
+ qmlRegisterUncreatableType<bb::cascades::pickers::FilePickerMode>("bb.cascades.pickers", 1, 0, "FilePickerMode", "");
+ qmlRegisterUncreatableType<bb::cascades::pickers::FilePickerSortFlag>("bb.cascades.pickers", 1, 0, "FilePickerSortFlag", "");
+ qmlRegisterUncreatableType<bb::cascades::pickers::FilePickerSortOrder>("bb.cascades.pickers", 1, 0, "FilePickerSortOrder", "");
+ qmlRegisterUncreatableType<bb::cascades::pickers::FileType>("bb.cascades.pickers", 1, 0, "FileType", "");
+ qmlRegisterUncreatableType<bb::cascades::pickers::ViewMode>("bb.cascades.pickers", 1, 0, "ViewMode", "");
+//! [0]
+
+ Application app(argc, argv);
+
+ // localization support
+ QTranslator translator;
+ const QString locale_string = QLocale().name();
+ const QString filename = QString::fromLatin1("filepicker_%1").arg(locale_string);
+ if (translator.load(filename, "app/native/qm")) {
+ app.installTranslator(&translator);
+ }
+
+ // Load the UI description from main.qml
+ QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(&app);
+
+ // Create the application scene
+ AbstractPane *appPage = qml->createRootObject<AbstractPane>();
+ Application::instance()->setScene(appPage);
+
+ return Application::exec();
+}
View
12 filepicker/translations/Makefile
@@ -0,0 +1,12 @@
+QMAKE_TARGET = filepicker
+LUPDATE = $(QNX_HOST)/usr/bin/lupdate
+LRELEASE = $(QNX_HOST)/usr/bin/lrelease
+
+update: $(QMAKE_TARGET).pro FORCE
+ $(LUPDATE) $(QMAKE_TARGET).pro
+
+release: $(QMAKE_TARGET).pro $(QMAKE_TARGET).ts
+ $(LRELEASE) $(QMAKE_TARGET).pro
+
+FORCE:
+
View
1  filepicker/translations/filepicker.pro
@@ -0,0 +1 @@
+include (../filepicker.pro)
View
0  filepicker/x86/.gitignore
No changes.
View
210 placepicker/.cproject
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+ <storageModule moduleId="org.eclipse.cdt.core.settings">
+ <cconfiguration id="com.qnx.qcc.toolChain.1087113848">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.1087113848" moduleId="org.eclipse.cdt.core.settings" name="Default">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.1087113848" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.1087113848.661444477" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.1457449251" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.2126544084" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.333019779" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.1272628601" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1094830451" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.411070370" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.1087113848.1412372431" incrementalBuildTarget="Device-Debug" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.920461950" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.1292232176" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1201243032" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.233236782" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.1520836350" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.21659475" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.1329883916" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.435937094" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.547175953">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.547175953" moduleId="org.eclipse.cdt.core.settings" name="Device-Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.547175953" name="Device-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.547175953.2099441469" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.654896001" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.843923027" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.1378653117" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.981845214" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1018017138" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.916624553" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.547175953.1905171850" incrementalBuildTarget="Device-Debug" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.1869459122" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.1070486116" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1924295575" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.1326491093" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.1184230792" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1881356193" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.781377579" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.1961540612" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.1423209736">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.1423209736" moduleId="org.eclipse.cdt.core.settings" name="Device-Release">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.1423209736" name="Device-Release" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.1423209736.17333136" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.2051997011" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.947634543" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.1978993201" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.638385378" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.2078751888" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1334329177" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Release" enableAutoBuild="true" id="com.qnx.qcc.toolChain.1423209736.135049625" incrementalBuildTarget="Device-Release" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.1653018226" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.1038372143" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.693618471" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.686130543" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.1758699923" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1409350488" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.2139121307" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.351976876" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.1912959911">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.1912959911" moduleId="org.eclipse.cdt.core.settings" name="Simulator-Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.1912959911" name="Simulator-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.1912959911.340111742" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.459438684" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.362119421" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.2079071324" name="Target CPU:" superClass="com.qnx.qcc.option.cpu"/>
+ <option id="com.qnx.qcc.option.compiler.1043235202" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1723498057" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1684040382" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Simulator-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.1912959911.2179338" incrementalBuildTarget="Simulator-Debug" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.411825169" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.862705636" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.2142227744" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.1085059127" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.1036743559" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.219647182" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.137150873" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.274087490" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="placepicker.null.1565672970" name="placepicker"/>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.1423209736">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.1087113848">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.1912959911">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.547175953">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ </storageModule>
+ <storageModule moduleId="refreshScope"/>
+</cproject>
View
91 placepicker/.project
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>placepicker</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <arguments>
+ <dictionary>
+ <key>?name?</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.append_environment</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
+ <value>Device-Debug</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildArguments</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildCommand</key>
+ <value>make</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
+ <value>clean</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.contents</key>
+ <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableFullBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
+ <value>Device-Debug</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.stopOnError</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+ <value>true</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.rim.tad.tools.qml.core.qmlFileBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.qnx.tools.bbt.xml.core.bbtXMLValidationBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.rim.tad.tools.wst.jsdt.core.jsNature</nature>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ <nature>com.qnx.tools.ide.bbt.core.bbtnature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ <nature>com.rim.tad.tools.qml.core.qmlNature</nature>
+ </natures>
+</projectDescription>
View
25 placepicker/.settings/org.eclipse.cdt.core.prefs
@@ -0,0 +1,25 @@
+eclipse.preferences.version=1
+environment/project/com.qnx.qcc.toolChain.1423209736/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.1423209736/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.1423209736/CPULIST/value=arm
+environment/project/com.qnx.qcc.toolChain.1423209736/EXCLUDE_VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.1423209736/EXCLUDE_VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.1423209736/EXCLUDE_VARIANTLIST/value=r
+environment/project/com.qnx.qcc.toolChain.1423209736/append=true
+environment/project/com.qnx.qcc.toolChain.1423209736/appendContributed=true
+environment/project/com.qnx.qcc.toolChain.1912959911/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.1912959911/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.1912959911/CPULIST/value=x86
+environment/project/com.qnx.qcc.toolChain.1912959911/VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.1912959911/VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.1912959911/VARIANTLIST/value=g
+environment/project/com.qnx.qcc.toolChain.1912959911/append=true
+environment/project/com.qnx.qcc.toolChain.1912959911/appendContributed=true
+environment/project/com.qnx.qcc.toolChain.547175953/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.547175953/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.547175953/CPULIST/value=arm
+environment/project/com.qnx.qcc.toolChain.547175953/VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.547175953/VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.547175953/VARIANTLIST/value=g
+environment/project/com.qnx.qcc.toolChain.547175953/append=true
+environment/project/com.qnx.qcc.toolChain.547175953/appendContributed=true
View
35 placepicker/Makefile
@@ -0,0 +1,35 @@
+QMAKE_TARGET = placepicker
+QMAKE = $(QNX_HOST)/usr/bin/qmake
+TARGET = $(QMAKE_TARGET)
+
+
+all: Makefile $(QMAKE_TARGET)
+
+clean:
+ $(MAKE) -C ./arm -f Makefile sureclean
+ $(MAKE) -C ./x86 -f Makefile sureclean
+
+
+Makefile: FORCE
+ $(QMAKE) -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile $(QMAKE_TARGET).pro CONFIG+=device
+ $(QMAKE) -spec unsupported/blackberry-x86-g++ -o x86/Makefile $(QMAKE_TARGET).pro CONFIG+=simulator
+ $(MAKE) -C ./translations -f Makefile update release
+
+FORCE:
+
+$(QMAKE_TARGET): device simulator
+
+device:
+ $(MAKE) -C ./arm -f Makefile all
+
+Device-Debug: Makefile
+ $(MAKE) -C ./arm -f Makefile debug
+
+Device-Release: Makefile
+ $(MAKE) -C ./arm -f Makefile release
+
+simulator:
+ $(MAKE) -C ./x86 -f Makefile all
+
+Simulator-Debug: Makefile
+ $(MAKE) -C ./x86 -f Makefile debug
View
0  placepicker/arm/.gitignore
No changes.
View
65 placepicker/assets/FieldLabel.qml
@@ -0,0 +1,65 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import bb.cascades 1.0
+
+//! [0]
+Container {
+ id: root
+
+ property alias title : titleLabel.text
+ property string field
+ property variant selectedPlace
+
+ visible: (selectedPlace ? (selectedPlace[field] != "") : false)
+
+ layout: StackLayout {
+ orientation: LayoutOrientation.LeftToRight
+ }
+
+ // The title label
+ Label {
+ id: titleLabel
+
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
+
+ opacity: 0.7
+
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ fontStyle: FontStyle.Italic
+ }
+ }
+
+ // The field value label
+ Label {
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
+
+ text: selectedPlace ? selectedPlace[field] : ""
+
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
+
+ multiline: true
+ }
+}
+//! [0]
View
63 placepicker/assets/FieldNumber.qml
@@ -0,0 +1,63 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import bb.cascades 1.0
+
+Container {
+ id: root
+
+ property alias title : titleLabel.text
+ property string field
+ property variant selectedPlace
+
+ visible: (selectedPlace ? !((selectedPlace[field] > 1000000) || (selectedPlace[field] == -1)) : false)
+
+ layout: StackLayout {
+ orientation: LayoutOrientation.LeftToRight
+ }
+
+ // The title label
+ Label {
+ id: titleLabel
+
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
+
+ opacity: 0.7
+
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ fontStyle: FontStyle.Italic
+ }
+ }
+
+ // The field value label
+ Label {
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
+
+ text: selectedPlace ? selectedPlace[field] : ""
+
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
+
+ multiline: true
+ }
+}
View
BIN  placepicker/assets/images/background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
189 placepicker/assets/main.qml
@@ -0,0 +1,189 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import bb.cascades 1.0
+import bb.cascades.places 1.0
+
+Page {
+ Container {
+ layout: DockLayout {}
+
+ // The background image
+ ImageView {
+ horizontalAlignment: HorizontalAlignment.Fill
+ verticalAlignment: VerticalAlignment.Fill
+
+ imageSource: "asset:///images/background.png"
+ }
+
+ Container {
+ horizontalAlignment: HorizontalAlignment.Fill
+ verticalAlignment: VerticalAlignment.Fill
+
+ leftPadding: 30
+ topPadding: 50
+ rightPadding: 30
+
+//! [0]
+ // The 'Select Place' button
+ Button {
+ horizontalAlignment: HorizontalAlignment.Center
+
+ text: qsTr ("Select Place")
+
+ onClicked: placePicker.selectPlace()
+ }
+//! [0]
+
+ // The container with all the place fields
+ Container {
+ horizontalAlignment: HorizontalAlignment.Fill
+ verticalAlignment: VerticalAlignment.Fill
+ topMargin: 50
+
+//! [1]
+ FieldLabel {
+ title: qsTr ("name")
+ field: "name"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("alternative name")
+ field: "alternativeName"
+ selectedPlace: placePicker.selectedPlace
+ }
+//! [1]
+
+ FieldLabel {
+ title: qsTr ("description")
+ field: "description"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("street")
+ field: "street"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("city")
+ field: "city"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("region")
+ field: "region"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("country")
+ field: "country"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("postal code")
+ field: "postal"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("address label")
+ field: "addressLabel"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("phone")
+ field: "phone"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("secondary phone")
+ field: "secondaryPhone"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("fax")
+ field: "fax"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("email")
+ field: "email"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("web site")
+ field: "url"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldNumber {
+ title: qsTr ("rating")
+ field: "rating"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldLabel {
+ title: qsTr ("map URL")
+ field: "mapURL"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldNumber {
+ title: qsTr ("latitude")
+ field: "latitude"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldNumber {
+ title: qsTr ("longitude")
+ field: "longitude"
+ selectedPlace: placePicker.selectedPlace
+ }
+
+ FieldNumber {
+ title: qsTr ("altitude")
+ field: "altitude"
+ selectedPlace: placePicker.selectedPlace
+ }
+ }
+ }
+ }
+
+//! [2]
+ attachedObjects: [
+ PlacePicker {
+ id: placePicker
+
+ property variant selectedPlace
+
+ function selectPlace()
+ {
+ selectedPlace = show()
+ }
+ }
+ ]
+//! [2]
+}
View
114 placepicker/bar-descriptor.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+ Copyright (c) 2011, 2012 Research In Motion Limited.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<qnx xmlns="http://www.qnx.com/schemas/application/1.0">
+
+<!-- BlackBerry Tablet OS application descriptor file.
+
+ Specifies parameters for identifying, installing, and launching native applications on BlackBerry Tablet OS.
+
+-->
+
+ <!-- A universally unique application identifier. Must be unique across all BlackBerry Tablet OS applications.
+ Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
+ <id>com.example.bb10samples.pickers.placepicker</id>
+
+ <!-- The name that is displayed in the BlackBerry Tablet OS application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>placepicker</name>
+
+ <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
+ Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
+ An updated version of application must have a versionNumber value higher than the previous version. Required. -->
+ <versionNumber>1.0.0</versionNumber>
+
+ <!-- Fourth digit segment of the package version. First three segments are taken from the
+ <versionNumber> element. Must be an integer from 0 to 2^16-1 -->
+ <buildId>1</buildId>
+
+ <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
+ <!-- <versionLabel></versionLabel> -->
+
+ <!-- Description, displayed in the BlackBerry Tablet OS application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <description>The placepicker application</description>
+
+ <!-- Copyright information. Optional. -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Name of author which is used for signing. Must match the developer name of your development certificate. -->
+ <author>Example Inc.</author>
+
+ <!-- Unique author ID assigned by signing authority. Required if using debug tokens. -->
+ <!-- <authorId>ABC1234YjsnUk235h</authorId> -->
+
+ <initialWindow>
+ <systemChrome>none</systemChrome>
+ <transparent>false</transparent>
+ </initialWindow>
+
+ <!-- The category where the application appears. Either core.games or core.media. -->
+ <category>core.games</category>
+ <configuration id="com.qnx.qcc.toolChain.1087113848" name="Default">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7-g/placepicker" entry="true" type="Qnx/Elf">placepicker</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.547175953" name="Device-Debug">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7-g/placepicker" entry="true" type="Qnx/Elf">placepicker</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.1423209736" name="Device-Release">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7/placepicker" entry="true" type="Qnx/Elf">placepicker</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.1912959911" name="Simulator-Debug">
+ <platformArchitecture>x86</platformArchitecture>
+ <asset path="x86/o-g/placepicker" entry="true" type="Qnx/Elf">placepicker</asset>
+ </configuration>
+
+ <!-- The icon for the application, which should be 86x86. -->
+ <icon>
+ <image>icon.png</image>
+ </icon>
+
+ <asset path="icon.png">icon.png</asset>
+ <asset path="assets">assets</asset>
+ <!-- The splash screen that will appear when your application is launching. Should be 1024x600. -->
+ <!-- <splashscreen></splashscreen> -->
+
+ <!-- Locale support -->
+ <asset path="translations" dest="qm">
+ <include name="*.qm"/>
+ </asset>
+
+ <!-- Request permission to execute native code. Required for native applications. -->
+ <action system="true">run_native</action>
+ <env var="LD_LIBRARY_PATH" value="app/native/lib:/usr/lib/qt4/lib"/>
+
+ <!-- The permissions requested by your application. -->
+ <!-- <action>access_shared</action> -->
+ <!-- <action>record_audio</action> -->
+ <!-- <action>read_geolocation</action> -->
+ <!-- <action>use_camera</action> -->
+ <!-- <action>access_internet</action> -->
+ <!-- <action>play_audio</action> -->
+ <!-- <action>post_notification</action> -->
+ <!-- <action>set_audio_volume</action> -->
+ <!-- <action>read_device_identifying_information</action> -->
+
+</qnx>
View
4 placepicker/device-assets.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<assets>
+ <target-device width="768" height="1280" ppi="356" class="phone"/>
+</assets>
View
BIN  placepicker/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
51 placepicker/placepicker.pro
@@ -0,0 +1,51 @@
+TEMPLATE = app
+TARGET = placepicker
+
+CONFIG += qt warn_on debug_and_release cascades
+
+INCLUDEPATH += ../src
+SOURCES += ../src/*.cpp
+HEADERS += ../src/*.hpp ../src/*.h
+LIBS += -lcsm -lbbplatform -lbbplatformplaces -lbbcascadesplaces
+
+lupdate_inclusion {
+ SOURCES += ../assets/*.qml
+}
+
+device {
+ CONFIG(release, debug|release) {
+ DESTDIR = o.le-v7
+ }
+ CONFIG(debug, debug|release) {
+ DESTDIR = o.le-v7-g
+ }
+}
+
+simulator {
+ CONFIG(release, debug|release) {
+ DESTDIR = o
+ }
+ CONFIG(debug, debug|release) {
+ DESTDIR = o-g
+ }
+}
+
+OBJECTS_DIR = $${DESTDIR}/.obj
+MOC_DIR = $${DESTDIR}/.moc
+RCC_DIR = $${DESTDIR}/.rcc
+UI_DIR = $${DESTDIR}/.ui
+
+suredelete.target = sureclean
+suredelete.commands = $(DEL_FILE) $${MOC_DIR}/*; $(DEL_FILE) $${RCC_DIR}/*; $(DEL_FILE) $${UI_DIR}/*
+suredelete.depends = distclean
+
+QMAKE_EXTRA_TARGETS += suredelete
+
+TRANSLATIONS = \
+ $${TARGET}_en_GB.ts \
+ $${TARGET}_fr.ts \
+ $${TARGET}_it.ts \
+ $${TARGET}_de.ts \
+ $${TARGET}_es.ts \
+ $${TARGET}.ts
+
View
36 placepicker/readme.txt
@@ -0,0 +1,36 @@
+PlacePicker
+
+========================================================================
+Sample Description.
+
+The PlacePicker example demonstrates how to use the PlacePicker class to let
+the user select a place from the favorites list, a map lookup or an online search.
+
+You will learn how to:
+- Use the PlacePicker class
+- Register C++ types to QML
+- Create property bindings
+- Define components in QML
+
+========================================================================
+Requirements:
+
+BlackBerry 10 Native SDK Beta 2
+
+========================================================================
+Running the example:
+
+1. Clone the Sample repository.
+2. Launch BlackBerry 10 Native SDK Beta 2, and from the File menu, select Import.
+3. Expand General, and select Existing Projects into Workspace. Click Next.
+4. Browse to the location of your sample directory, and then click OK.
+5. The sample project should display in the Projects section.
+ Click Finish to import the project into your workspace.
+6. In the Project Explorer pane, Right-click the project (for example hellocascades)
+ and select Build Project.
+7. In the Project Explorer pane, Right-click the project (for example hellocascades)
+ and select Run As > BlackBerry C/C++ Application.
+8. The application will now install and launch on your device if not you might
+ have to set up your environment:
+ http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html
+
View
52 placepicker/src/main.cpp
@@ -0,0 +1,52 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+#include <bb/cascades/AbstractPane>
+#include <bb/cascades/Application>
+#include <bb/cascades/places/PlacePicker>
+#include <bb/cascades/places/SelectedPlace>
+#include <bb/cascades/QmlDocument>
+
+#include <QLocale>
+#include <QTranslator>
+
+using namespace bb::cascades;
+
+int main(int argc, char **argv)
+{
+//! [0]
+ qmlRegisterType<bb::cascades::places::PlacePicker>("bb.cascades.places", 1, 0, "PlacePicker");
+ qmlRegisterUncreatableType<bb::cascades::places::SelectedPlace>("bb.cascades.places", 1, 0, "SelectedPlace", "");
+//! [0]
+
+ Application app(argc, argv);
+
+ // localization support
+ QTranslator translator;
+ const QString locale_string = QLocale().name();
+ const QString filename = QString::fromLatin1("placepicker_%1").arg(locale_string);
+ if (translator.load(filename, "app/native/qm")) {
+ app.installTranslator(&translator);
+ }
+
+ // Load the UI description from main.qml
+ QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(&app);
+
+ // Create the application scene
+ AbstractPane *appPage = qml->createRootObject<AbstractPane>();
+ Application::instance()->setScene(appPage);
+
+ return Application::exec();
+}
View
12 placepicker/translations/Makefile
@@ -0,0 +1,12 @@
+QMAKE_TARGET = placepicker
+LUPDATE = $(QNX_HOST)/usr/bin/lupdate
+LRELEASE = $(QNX_HOST)/usr/bin/lrelease
+
+update: $(QMAKE_TARGET).pro FORCE
+ $(LUPDATE) $(QMAKE_TARGET).pro
+
+release: $(QMAKE_TARGET).pro $(QMAKE_TARGET).ts
+ $(LRELEASE) $(QMAKE_TARGET).pro
+
+FORCE:
+
View
1  placepicker/translations/placepicker.pro
@@ -0,0 +1 @@
+include (../placepicker.pro)
View
0  placepicker/x86/.gitignore
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.