<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DictionarySymbolStyle in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/dictionarysymbolstyle/m-p/113506#M533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the thing is i get this dictionary &lt;A class="link-titled" href="https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30" title="https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30"&gt;https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and create the dictinary symbol as:&lt;/P&gt;&lt;P&gt;QString styleLocation = local from stylx;&lt;/P&gt;&lt;P&gt;m_dictionarySymbolStyle = DictionarySymbolStyle::createFromFile(styleLocation, this);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and works fine it shows the symbols perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i call the function to see the fields names:&lt;/P&gt;&lt;P&gt;QStringList whatever = DictionarySymbolStyle::symbologyFieldNames();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whatever is empty.&lt;/P&gt;&lt;P&gt;its a normal behavior or i am doing something wrong?&lt;/P&gt;&lt;P&gt;There is another way to discover those fields names?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;speaking of which how do i change the stylx configuration in cpp? like "condition" instead of 'PRIMARY' i want to change it&lt;/P&gt;&lt;P&gt;&lt;STRONG class=""&gt;&lt;SPAN class="" data-keyword="1" data-word="of"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2020 17:04:14 GMT</pubDate>
    <dc:creator>JeanLonneux</dc:creator>
    <dc:date>2020-02-07T17:04:14Z</dc:date>
    <item>
      <title>DictionarySymbolStyle</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/dictionarysymbolstyle/m-p/113506#M533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the thing is i get this dictionary &lt;A class="link-titled" href="https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30" title="https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30"&gt;https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and create the dictinary symbol as:&lt;/P&gt;&lt;P&gt;QString styleLocation = local from stylx;&lt;/P&gt;&lt;P&gt;m_dictionarySymbolStyle = DictionarySymbolStyle::createFromFile(styleLocation, this);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and works fine it shows the symbols perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i call the function to see the fields names:&lt;/P&gt;&lt;P&gt;QStringList whatever = DictionarySymbolStyle::symbologyFieldNames();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whatever is empty.&lt;/P&gt;&lt;P&gt;its a normal behavior or i am doing something wrong?&lt;/P&gt;&lt;P&gt;There is another way to discover those fields names?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;speaking of which how do i change the stylx configuration in cpp? like "condition" instead of 'PRIMARY' i want to change it&lt;/P&gt;&lt;P&gt;&lt;STRONG class=""&gt;&lt;SPAN class="" data-keyword="1" data-word="of"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 17:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/dictionarysymbolstyle/m-p/113506#M533</guid>
      <dc:creator>JeanLonneux</dc:creator>
      <dc:date>2020-02-07T17:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: DictionarySymbolStyle</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/dictionarysymbolstyle/m-p/113507#M534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding stylx config, ive open the file with SQLite and found all my answers but the access with code inside Qt remain still.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 12:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/dictionarysymbolstyle/m-p/113507#M534</guid>
      <dc:creator>JeanLonneux</dc:creator>
      <dc:date>2020-02-10T12:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: DictionarySymbolStyle</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/dictionarysymbolstyle/m-p/113508#M535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this out and it works for me. Did you ensure you are loading the DictionarySymbolStyle first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// create DictionarySymbolStyle with arcade style file&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;auto&lt;/SPAN&gt; styleArcade &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; DictionarySymbolStyle&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;createFromFile&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"/Users/luca6804/ArcGIS/Runtime/Data/styles/arcade_style/mil2525d.stylx"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;connect&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;styleArcade&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;DictionarySymbolStyle&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;doneLoading&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;styleArcade&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Error&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  &lt;SPAN class="token function"&gt;qDebug&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"arcade style done loading:"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; styleArcade&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;symbologyFieldNames&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
  &lt;SPAN class="comment token"&gt;// output is ("context", "identity", "symbolset", "status", "operationalcondition", "indicator", "echelon", "mobility", "array", "symbolentity", "modifier1", "modifier2", "specialentitysubtype", "civilian", "direction", "sidc")&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
styleArcade&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;load&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// create DictionarySymbolStyle with old, deprecated style file&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;auto&lt;/SPAN&gt; style &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;DictionarySymbolStyle&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"mil2525d"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"/Users/luca6804/Downloads/mil2525d.stylx"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;connect&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;style&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;DictionarySymbolStyle&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;doneLoading&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;style&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Error&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  &lt;SPAN class="token function"&gt;qDebug&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"old style done loading:"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; style&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;symbologyFieldNames&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
  &lt;SPAN class="comment token"&gt;// output is ("identity", "symbolset", "symbolentity", "modifier1", "modifier2", "echelon", "mobility", "array", "context", "indicator", "status", "operationalcondition", "specialentitysubtype", "civilian", "sidc")&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
style&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;load&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:45:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/dictionarysymbolstyle/m-p/113508#M535</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-12-11T06:45:28Z</dc:date>
    </item>
  </channel>
</rss>

