<div dir="ltr">Matthias;<div>Sorry, my original email had 2 questions one for QGIS and one for QField, I should have broken it up into 2 emails sorry.<br>The question I am asking is about QGIS; in ArcMap I can build Macros that run scripts as little buttons so I can just click an icon and whatever I written runs. I was wondering if QGIS had something similar, I have a python script that runs on all selected features, I want to build it into a button control instead of copying and pasting it into the console every time. I couldn't find any directions on that other than building a python plugin so I was wondering if the plugin was the only way to do this?</div><div>I hope that is clearer;</div><div>Tyler</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 3, 2017 at 9:03 AM, Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hi Tyler,</p>
    <p>Sorry, I'm having troubles to understand the question. Is this
      related to QGIS or QField? What exactly do you want to do?</p>
    <p>This mailing list here is for QGIS, if you are interested in
      QField, I'd suggest to switch to one of the support channels for
      it, to keep the information well-separated
      (<a class="m_3636081384854799097moz-txt-link-freetext" href="http://www.qfield.org/docs/development/index.html" target="_blank">http://www.qfield.org/docs/<wbr>development/index.html</a>).</p>
    <p>Regards</p><span class="HOEnZb"><font color="#888888">
    <p>Matthias<br>
    </p></font></span><div><div class="h5">
    <div class="m_3636081384854799097moz-cite-prefix">On 4/3/17 12:57 PM, Tyler Veinot wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">All;
        <div>I found the spot for the layers, feeling a bit daft for
          missing that one. What about making a python script a push
          button action/tool? Is there away to do that or will I have to
          build it as a plugin?</div>
        <div>Tyler</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Apr 2, 2017 at 6:49 PM, Tyler
          Veinot <span dir="ltr"><<a href="mailto:tylerkveinot@gmail.com" target="_blank">tylerkveinot@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks
            guys<br>
            <br>
            Sent from my Bell Sony device over Canada’s largest network.<br>
            <br>
            ---- Xan Vieiro wrote ----
            <div class="m_3636081384854799097HOEnZb">
              <div class="m_3636081384854799097h5"><br>
                <br>
                <div dir="ltr">
                  <div><span style="color:rgb(194,123,160)"><span style="color:rgb(166,77,121)">2. Is there a way
                        to lock features so that when I open the map in
                        QField I can see those layers but cannot select
                        or edit them? I want to lock my basemap features
                        so that only my "working layers" are selectable
                        and editable in QField. I partially accomplished
                        this using a tool that builds the basemap into
                        raster tiles but at small scales the labels
                        interfere with each other. </span><br>
                    </span><br>
                  </div>
                  Presets works fine with QField. Located at the Layer
                  Panel.<br>
                </div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2017-03-31 13:12 GMT+02:00
                    Tyler Veinot <span dir="ltr"><<a href="mailto:tylerkveinot@gmail.com" target="_blank">tylerkveinot@gmail.com</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">Hello;
                        <div>1. Is there a tutorial on making a python
                          script run by the click of a button or do I
                          have to build it as a plugin?</div>
                        <div>2. Is there a way to lock features so that
                          when I open the map in QField I can see those
                          layers but cannot select or edit them? I want
                          to lock my basemap features so that only my
                          "working layers" are selectable and editable
                          in QField. I partially accomplished this using
                          a tool that builds the basemap into raster
                          tiles but at small scales the labels interfere
                          with each other. </div>
                        <div>Thanks;</div>
                        <div>Tyler </div>
                      </div>
                      <br>
                      ______________________________<wbr>_________________<br>
                      Qgis-user mailing list<br>
                      <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
                      List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
                      Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="m_3636081384854799097mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Qgis-user mailing list
<a class="m_3636081384854799097moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
List info: <a class="m_3636081384854799097moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="m_3636081384854799097moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>