<table><tr><td style="">sitter added inline comments.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22375">View Revision</a></tr></table><br /><div><strong>INLINE COMMENTS</strong><div><div style="margin: 6px 0 12px 0;"><div style="border: 1px solid #C7CCD9; border-radius: 3px;"><div style="padding: 0; background: #F7F7F7; border-color: #e3e4e8; border-style: solid; border-width: 0 0 1px 0; margin: 0;"><div style="color: #74777d; background: #eff2f4; padding: 6px 8px; overflow: hidden;"><a style="float: right; text-decoration: none;" href="https://phabricator.kde.org/D22375#inline-126247">View Inline</a><span style="color: #4b4d51; font-weight: bold;">broulik</span> wrote in <span style="color: #4b4d51; font-weight: bold;">kbusyindicatorwidget.cpp:62</span></div>
<div style="margin: 8px 0; padding: 0 12px; color: #74777D;"><p style="padding: 0; margin: 8px;">Is that legal in the C++ standard allowed by frameworks?</p></div></div>
<div style="margin: 8px 0; padding: 0 12px;"><p style="padding: 0; margin: 8px;">Well, it builds at least under c++11 which is what kf5 is compatible with.</p>

<p style="padding: 0; margin: 8px;">According to <a href="https://en.cppreference.com/w/cpp/language/data_members#Member_initialization" class="remarkup-link" target="_blank" rel="noreferrer">this page</a> it should be fine (assuming the caveats mentioned are exhaustive anyway).</p></div></div><br /><div style="border: 1px solid #C7CCD9; border-radius: 3px;"><div style="padding: 0; background: #F7F7F7; border-color: #e3e4e8; border-style: solid; border-width: 0 0 1px 0; margin: 0;"><div style="color: #74777d; background: #eff2f4; padding: 6px 8px; overflow: hidden;"><a style="float: right; text-decoration: none;" href="https://phabricator.kde.org/D22375#inline-126309">View Inline</a><span style="color: #4b4d51; font-weight: bold;">kossebau</span> wrote in <span style="color: #4b4d51; font-weight: bold;">kbusyindicatorwidget.h:40</span></div>
<div style="margin: 8px 0; padding: 0 12px; color: #74777D;"><p style="padding: 0; margin: 8px;">Any chance of getting some samples how this class is supposed to be used?</p>

<p style="padding: 0; margin: 8px;">Sounds one should show & hide the complete widget when needed? How to best integrate in one's layout? As overlay?</p>

<p style="padding: 0; margin: 8px;">BTW, the KDE HIG does not mention such a spinner. So the purpose from a KDE developer following the HIG raises a question with me wearing my naive hat :)<br />
<a href="https://hig.kde.org/components/assistance/progress.html" class="remarkup-link" target="_blank" rel="noreferrer">https://hig.kde.org/components/assistance/progress.html</a></p></div></div>
<div style="margin: 8px 0; padding: 0 12px;"><p style="padding: 0; margin: 8px;">I am not sure there is a generally useful code sample to give here. Certainly not a helpful one.</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">auto indicator = KBusyIndicatorWidget(this);
layout().addWidget(indicator);
auto label = QLabel("Busy watering the folowers", this);
layout().addWidget(this);</pre></div>

<p style="padding: 0; margin: 8px;">Maybe this, but then I am not convinced of its usefulessness. That's just how one would use any widget ^^</p>

<p style="padding: 0; margin: 8px;">You could overlay it on something, or HBox it next to a label, or add it as permanent widget to a StatusBar, or VBox it with something. Sky's the limit really.</p></div></div><br /><div style="border: 1px solid #C7CCD9; border-radius: 3px;"><div style="padding: 0; background: #F7F7F7; border-color: #e3e4e8; border-style: solid; border-width: 0 0 1px 0; margin: 0;"><div style="color: #74777d; background: #eff2f4; padding: 6px 8px; overflow: hidden;"><a style="float: right; text-decoration: none;" href="https://phabricator.kde.org/D22375#inline-126249">View Inline</a><span style="color: #4b4d51; font-weight: bold;">broulik</span> wrote in <span style="color: #4b4d51; font-weight: bold;">kbusyindicatorwidget.h:65</span></div>
<div style="margin: 8px 0; padding: 0 12px; color: #74777D;"><p style="padding: 0; margin: 8px;">I heard for good measure one should always re-implement the generic <tt style="background: #ebebeb; font-size: 13px;">event</tt> just in case</p></div></div>
<div style="margin: 8px 0; padding: 0 12px;"><p style="padding: 0; margin: 8px;">Do we have this document somewhere? That's the sort of thing that sounds like an urban myth someone started in the 90's ^^</p></div></div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R236 KWidgetsAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22375">https://phabricator.kde.org/D22375</a></div></div><br /><div><strong>To: </strong>sitter, cfeck<br /><strong>Cc: </strong>ngraham, kossebau, broulik, kde-frameworks-devel, apol, LeGast00n, michaelh, bruns<br /></div>