0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

Border editor refactoring

This commit is contained in:
Alexander Arin
2022-10-31 21:20:24 +03:00
parent ba9abc7877
commit 7bf0ce51e6
23 changed files with 487 additions and 590 deletions

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>lrbordereditor</class>
<widget class="QDialog" name="lrbordereditor">
<class>LimeReport::BorderEditor</class>
<widget class="QDialog" name="LimeReport::BorderEditor">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>381</width>
<height>311</height>
<height>352</height>
</rect>
</property>
<property name="windowTitle">
@@ -46,7 +46,7 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton_4">
<widget class="QToolButton" name="allLines">
<property name="text">
<string>Outline</string>
</property>
@@ -119,7 +119,7 @@
</layout>
</item>
<item row="0" column="1">
<widget class="BorderFrameEditor" name="borderFrame" native="true"/>
<widget class="LimeReport::BorderFrameEditor" name="borderFrame" native="true"/>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
@@ -319,14 +319,34 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="styleSheet">
<string notr="true">#pushButton{background-color: black;}</string>
</property>
<property name="text">
<string>Select...</string>
</property>
</widget>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QWidget" name="colorIndicator" native="true">
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="baseSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 0, 0);</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="selectColor">
<property name="text">
<string>Select</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
@@ -342,7 +362,7 @@
</widget>
<customwidgets>
<customwidget>
<class>BorderFrameEditor</class>
<class>LimeReport::BorderFrameEditor</class>
<extends>QWidget</extends>
<header>borderframeeditor.h</header>
<container>1</container>
@@ -356,32 +376,32 @@
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>lrbordereditor</receiver>
<receiver>LimeReport::BorderEditor</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>253</x>
<y>255</y>
<x>119</x>
<y>322</y>
</hint>
<hint type="destinationlabel">
<x>219</x>
<y>275</y>
<x>377</x>
<y>309</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>lrbordereditor</receiver>
<receiver>LimeReport::BorderEditor</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>258</y>
<x>48</x>
<y>334</y>
</hint>
<hint type="destinationlabel">
<x>345</x>
<y>277</y>
<x>66</x>
<y>348</y>
</hint>
</hints>
</connection>