[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    D9068: Use setSize() instead of setProperty width and height
From:       Kai Uwe Broulik <noreply () phabricator ! kde ! org>
Date:       2017-11-30 13:14:54
Message-ID: differential-rev-PHID-DREV-qjet4skcdocalv4q5qpw-req () phabricator ! kde ! org
[Download RAW message or body]

broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  We know we have a `QQuickItem` so we can just use its methods directly and then \
also use`setSize` which does both at once, saving intermediate signal emission and \
potential re-layouting

TEST PLAN
  Containment still looks normal

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D9068

AFFECTED FILES
  src/plasmaquick/containmentview.cpp
  src/plasmaquick/view.cpp

To: broulik, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, \
jensreuterberg, abetts, sebas, apol, mart


[Attachment #3 (unknown)]

<table><tr><td style="">broulik created this revision.<br />broulik added a reviewer: \
Plasma.<br />Restricted Application added projects: Plasma, Frameworks.<br \
/>Restricted Application added subscribers: Frameworks, plasma-devel. </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/D9068" \
rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION \
SUMMARY</strong><div><p>We know we have a <tt style="background: #ebebeb; font-size: \
13px;">QQuickItem</tt> so we can just use its methods directly and then also \
use`setSize` which does both at once, saving intermediate signal emission and \
potential re-layouting</p></div></div><br /><div><strong>TEST \
PLAN</strong><div><p>Containment still looks normal</p></div></div><br \
/><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework \
(Library)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D9068" \
rel="noreferrer">https://phabricator.kde.org/D9068</a></div></div><br \
/><div><strong>AFFECTED \
FILES</strong><div><div>src/plasmaquick/containmentview.cpp<br /> \
src/plasmaquick/view.cpp</div></div></div><br /><div><strong>To: </strong>broulik, \
Plasma<br /><strong>Cc: </strong>plasma-devel, Frameworks, ZrenBot, progwolff, \
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic