<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <a class="moz-txt-link-freetext" href="http://doc.qt.io/qt-5/qeventloop.html#processEvents-1">http://doc.qt.io/qt-5/qeventloop.html#processEvents-1</a><span
      class="type" style="margin: 0px; padding: 0px; border: 0px;
      font-size: 23.36px; vertical-align: baseline; font-weight: 400;"><br>
      void</span><span> </span>QEventLoop::<span class="name"
      style="margin: 0px; padding: 0px; border: 0px; font-size: 23.36px;
      vertical-align: baseline; font-weight: 400;">processEvents</span>(<span
      class="type" style="margin: 0px; padding: 0px; border: 0px;
      font-size: 23.36px; vertical-align: baseline; font-weight: 400;"><a
href="http://doc.qt.io/qt-5/qeventloop.html#ProcessEventsFlag-enum"
        style="margin: 0px; padding: 0px; border: 0px; font-size:
        23.36px; vertical-align: baseline; color: rgb(23, 168, 26);
        text-decoration: none; transition-duration: 0.3s;">QEventLoop::ProcessEventsFlags</a></span><span> </span><i
      style="margin: 0px; padding: 0px; border: 0px; font-size: 23.36px;
      vertical-align: baseline;">flags</i>,<span> </span><span
      class="type" style="margin: 0px; padding: 0px; border: 0px;
      font-size: 23.36px; vertical-align: baseline; font-weight: 400;">int</span><span> </span><i
      style="margin: 0px; padding: 0px; border: 0px; font-size: 23.36px;
      vertical-align: baseline;">maxTime</i>)<br>
    <br>
    Regards<br>
    Dariusz<br>
    <br>
    <br class="Apple-interchange-newline">
    <div class="moz-cite-prefix">On 13/06/2018 21:42, Telenet wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:7044AF9C8CB2ABF1.6472f583-4e8f-4554-885b-3f24e7181e55@mail.outlook.com">
      <div dir="auto" style="direction: ltr; margin: 0; padding: 0;
        font-family: sans-serif; font-size: 11pt; color: black; ">Hi
        Dariusz.<br>
      </div>
      <div dir="auto" style="direction: ltr; margin: 0; padding: 0;
        font-family: sans-serif; font-size: 11pt; color: black; ">What
        do you mean precisely?<br>
        <br>
      </div>
      <div dir="auto" style="direction: ltr; margin: 0; padding: 0;
        font-family: sans-serif; font-size: 11pt; color: black; ">
        <div dir="auto" style="direction: ltr; margin: 0; padding: 0;
          font-family: sans-serif; font-size: 11pt; color: black; ">Get
          <a href="https://aka.ms/ghei36" moz-do-not-send="true">Outlook
            for Android</a></div>
        <br>
      </div>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On Wed, Jun 13, 2018 at 7:52 PM +0200,
        "Dariusz Makowski" <span dir="ltr"><<a
            href="mailto:dariusz1989@gmail.com" target="_blank"
            moz-do-not-send="true">dariusz1989@gmail.com</a>></span>
        wrote:<br>
        <br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="3D"ltr"">
            <meta http-equiv="Content-Type" content="text/html;
              charset=utf-8">
            I think you can specify a time for that processEvents() as
            well so it does larger process than a small one. Maybe that
            could help?<br>
            <br>
            <br>
            <br>
            <div class="moz-cite-prefix">On 13/06/2018 18:29, <a
                class="moz-txt-link-abbreviated"
                href="mailto:kristof.mulier@telenet.be"
                moz-do-not-send="true">kristof.mulier@telenet.be</a>
              wrote:<br>
            </div>
            <blockquote type="cite"
              cite="mid:1936811917.387068303.1528910946596.JavaMail.zimbra@telenet.be">
              <div style="font-family: Verdana, Arial, Helvetica,
                sans-serif; font-size: 10pt; color: #000000">
                <div>Dear PyQt users,</div>
                <div><br data-mce-bogus="1">
                </div>
                <div>I believe we're one step closer to the solution.
                  Please read the <strong>EDIT</strong> at the very end
                  of the StackOverflow question:</div>
                <div><br data-mce-bogus="1">
                </div>
                <div><span style="font-size: 13.3333px;"
                    data-mce-style="font-size: 13.3333px;"><a
                      class="moz-txt-link-freetext"
href="https://stackoverflow.com/questions/50841486/pyqt5-too-many-signals-fired-in-short-timespan-causes-a-stack-overflow"
                      moz-do-not-send="true">https://stackoverflow.com/questions/50841486/pyqt5-too-many-signals-fired-in-short-timespan-causes-a-stack-overflow</a></span><br
                    data-mce-bogus="1">
                </div>
                <div><span style="font-size: 13.3333px;"
                    data-mce-style="font-size: 13.3333px;"><br
                      data-mce-bogus="1">
                  </span></div>
                <div><span style="font-size: 13.3333px;"
                    data-mce-style="font-size: 13.3333px;"><span
                      style="font-size: 13.3333px;"
                      data-mce-style="font-size: 13.3333px;">I noticed
                      that the repeated call to <span
                        style="font-family: "lucida console",
                        sans-serif; background-color: rgb(255, 255,
                        153);" data-mce-style="font-family: 'lucida
                        console', sans-serif; background-color:
                        #ffff99;">app.processEvents()</span> is the
                      culprit, when called too often in a short
                      timespan. Removing that line from the code in the
                      slot, solved the issue. But it takes down the
                      responsiveness of my GUI. So I thought, why not
                      query first if there are any events to get
                      processed anyway? Unfortunately, the function <span
                        style="color: #000000; font-family: 'lucida
                        console', sans-serif; font-size: 13.3333px;
                        font-style: normal; font-variant-ligatures:
                        normal; font-variant-caps: normal; font-weight:
                        400; letter-spacing: normal; orphans: 2;
                        text-align: start; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        widows: 2; word-spacing: 0px;
                        -webkit-text-stroke-width: 0px;
                        background-color: #ffff99;
                        text-decoration-style: initial;
                        text-decoration-color: initial; display: inline
                        !important; float: none;" data-mce-style="color:
                        #000000; font-family: 'lucida console',
                        sans-serif; font-size: 13.3333px; font-style:
                        normal; font-variant-ligatures: normal;
                        font-variant-caps: normal; font-weight: 400;
                        letter-spacing: normal; orphans: 2; text-align:
                        start; text-indent: 0px; text-transform: none;
                        white-space: normal; widows: 2; word-spacing:
                        0px; -webkit-text-stroke-width: 0px;
                        background-color: #ffff99;
                        text-decoration-style: initial;
                        text-decoration-color: initial; display: inline
                        !important; float: none;">hasPendingEvents()</span></span></span><span
                    style="font-size: 13.3333px;"
                    data-mce-style="font-size: 13.3333px;"> is not safe
                    to use when there are any non-main-threads running
                    in the entire application. That's not okay.</span></div>
                <div><span style="font-size: 13.3333px;"
                    data-mce-style="font-size: 13.3333px;"><br
                      data-mce-bogus="1">
                  </span></div>
                <div><span style="font-size: 13.3333px;"
                    data-mce-style="font-size: 13.3333px;">Please
                    help...</span></div>
              </div>
              <!--'"--><br>
              <fieldset class="mimeAttachmentHeader"></fieldset>
              <br>
              <pre wrap="">_______________________________________________
PyQt mailing list    <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com" moz-do-not-send="true">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" moz-do-not-send="true">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
            </blockquote>
            <br>
            <pre class="moz-signature" cols="72">-- 
DARIUSZ MAKOWSKi
CGI-Photographer
07 590 530 854
<a class="moz-txt-link-abbreviated" href="mailto:Dariusz@Dariuszmakowski.com" moz-do-not-send="true">Dariusz@Dariuszmakowski.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.dariuszmakowski.com" moz-do-not-send="true">www.dariuszmakowski.com</a></pre>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
DARIUSZ MAKOWSKi
CGI-Photographer
07 590 530 854
<a class="moz-txt-link-abbreviated" href="mailto:Dariusz@Dariuszmakowski.com">Dariusz@Dariuszmakowski.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.dariuszmakowski.com">www.dariuszmakowski.com</a></pre>
  </body>
</html>