<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 17, 2022 at 11:34 AM André Somers <<a href="mailto:andre@familiesomers.nl">andre@familiesomers.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p><br>
    </p>
    <div>On 17-05-2022 12:12, Laszlo Papp wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Tue, May 17, 2022 at
            11:01 AM André Somers <<a href="mailto:andre@familiesomers.nl" target="_blank">andre@familiesomers.nl</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,<br>
            <br>
            On 16-05-2022 23:26, Laszlo Papp wrote:<br>
            > Hi,<br>
            ><br>
            > Was just wondering if it was okay to add a property for
            drawing <br>
            > vertical bar between columns in the body of the
            QTreeView. Our <br>
            > customer has requested this as otherwise it was
            challenging to <br>
            > visually separate the columns.<br>
            ><br>
            > It looks like jpn had a fairly trivial paintEvent
            implementation for <br>
            > this, so should not be hard to add: <br>
            > <a href="https://www.qtcentre.org/threads/8684-how-to-show-vertical-lines-between-colums" rel="noreferrer" target="_blank">https://www.qtcentre.org/threads/8684-how-to-show-vertical-lines-between-colums</a><br>
            ><br>
            > Kind regards,<br>
            > László<br>
            ><br>
            Doesn't this belong in the style instead?<br>
          </blockquote>
          <div><br>
          </div>
          <div>If you ask me, as much as QHeaderView's vertical bar. It
            is the same thing, just for the body. And that is also in Qt
            proper.</div>
        </div>
      </div>
    </blockquote>
    <p>I'd argue both belong in the style actually.</p></div></blockquote><div><br></div><div>Sure, but that should have been argued long time ago (15+ years) when it was added to QHeaderView in my opinion. Now, I feel like consistency is better than ideal inconsistency.</div></div></div>