0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00

Light theme has been added

This commit is contained in:
Arin Alexander 2019-05-26 15:15:06 +03:00
parent 5da4d132e6
commit 70eb749c67
80 changed files with 3038 additions and 129 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 578 B

After

Width:  |  Height:  |  Size: 760 B

View File

@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/qss_icons">
<qresource prefix="/qss_qdark_icons">
<file>rc/up_arrow_disabled.png</file>
<file>rc/Hmovetoolbar.png</file>
<file>rc/stylesheet-branch-end.png</file>
@ -40,6 +40,7 @@
<file>rc/radio_unchecked_focus.png</file>
<file>rc/radio_unchecked.png</file>
<file>rc/extend.png</file>
<file>rc/undock-hover.png</file>
</qresource>
<qresource prefix="/qdarkstyle">
<file>style.qss</file>

View File

@ -80,7 +80,7 @@ QCheckBox::indicator{
QCheckBox::indicator:unchecked
{
image: url(:/qss_icons/rc/checkbox_unchecked.png);
image: url(:/qss_qdark_icons/rc/checkbox_unchecked.png);
}
QCheckBox::indicator:unchecked:hover,
@ -91,12 +91,12 @@ QGroupBox::indicator:unchecked:focus,
QGroupBox::indicator:unchecked:pressed
{
border: none;
image: url(:/qss_icons/rc/checkbox_unchecked_focus.png);
image: url(:/qss_qdark_icons/rc/checkbox_unchecked_focus.png);
}
QCheckBox::indicator:checked
{
image: url(:/qss_icons/rc/checkbox_checked.png);
image: url(:/qss_qdark_icons/rc/checkbox_checked.png);
}
QCheckBox::indicator:checked:hover,
@ -107,32 +107,32 @@ QGroupBox::indicator:checked:focus,
QGroupBox::indicator:checked:pressed
{
border: none;
image: url(:/qss_icons/rc/checkbox_checked_focus.png);
image: url(:/qss_qdark_icons/rc/checkbox_checked_focus.png);
}
QCheckBox::indicator:indeterminate
{
image: url(:/qss_icons/rc/checkbox_indeterminate.png);
image: url(:/qss_qdark_icons/rc/checkbox_indeterminate.png);
}
QCheckBox::indicator:indeterminate:focus,
QCheckBox::indicator:indeterminate:hover,
QCheckBox::indicator:indeterminate:pressed
{
image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png);
image: url(:/qss_qdark_icons/rc/checkbox_indeterminate_focus.png);
}
QCheckBox::indicator:checked:disabled,
QGroupBox::indicator:checked:disabled
{
image: url(:/qss_icons/rc/checkbox_checked_disabled.png);
image: url(:/qss_qdark_icons/rc/checkbox_checked_disabled.png);
}
QCheckBox::indicator:unchecked:disabled,
QGroupBox::indicator:unchecked:disabled
{
image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png);
image: url(:/qss_qdark_icons/rc/checkbox_unchecked_disabled.png);
}
QGroupBox::indicator
@ -166,7 +166,7 @@ QRadioButton::indicator
QRadioButton::indicator:unchecked
{
image: url(:/qss_icons/rc/radio_unchecked.png);
image: url(:/qss_qdark_icons/rc/radio_unchecked.png);
}
QRadioButton::indicator:unchecked:hover,
@ -175,14 +175,14 @@ QRadioButton::indicator:unchecked:pressed
{
border: none;
outline: none;
image: url(:/qss_icons/rc/radio_unchecked_focus.png);
image: url(:/qss_qdark_icons/rc/radio_unchecked_focus.png);
}
QRadioButton::indicator:checked
{
border: none;
outline: none;
image: url(:/qss_icons/rc/radio_checked.png);
image: url(:/qss_qdark_icons/rc/radio_checked.png);
}
QRadioButton::indicator:checked:hover,
@ -191,18 +191,18 @@ QRadioButton::indicator:checked:pressed
{
border: none;
outline: none;
image: url(:/qss_icons/rc/radio_checked_focus.png);
image: url(:/qss_qdark_icons/rc/radio_checked_focus.png);
}
QRadioButton::indicator:checked:disabled
{
outline: none;
image: url(:/qss_icons/rc/radio_checked_disabled.png);
image: url(:/qss_qdark_icons/rc/radio_checked_disabled.png);
}
QRadioButton::indicator:unchecked:disabled
{
image: url(:/qss_icons/rc/radio_unchecked_disabled.png);
image: url(:/qss_qdark_icons/rc/radio_unchecked_disabled.png);
}
QMenuBar
@ -273,41 +273,41 @@ QMenu::indicator {
/* non-exclusive indicator = check box style indicator
(see QActionGroup::setExclusive) */
QMenu::indicator:non-exclusive:unchecked {
image: url(:/qss_icons/rc/checkbox_unchecked.png);
image: url(:/qss_qdark_icons/rc/checkbox_unchecked.png);
}
QMenu::indicator:non-exclusive:unchecked:selected {
image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png);
image: url(:/qss_qdark_icons/rc/checkbox_unchecked_disabled.png);
}
QMenu::indicator:non-exclusive:checked {
image: url(:/qss_icons/rc/checkbox_checked.png);
image: url(:/qss_qdark_icons/rc/checkbox_checked.png);
}
QMenu::indicator:non-exclusive:checked:selected {
image: url(:/qss_icons/rc/checkbox_checked_disabled.png);
image: url(:/qss_qdark_icons/rc/checkbox_checked_disabled.png);
}
/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
QMenu::indicator:exclusive:unchecked {
image: url(:/qss_icons/rc/radio_unchecked.png);
image: url(:/qss_qdark_icons/rc/radio_unchecked.png);
}
QMenu::indicator:exclusive:unchecked:selected {
image: url(:/qss_icons/rc/radio_unchecked_disabled.png);
image: url(:/qss_qdark_icons/rc/radio_unchecked_disabled.png);
}
QMenu::indicator:exclusive:checked {
image: url(:/qss_icons/rc/radio_checked.png);
image: url(:/qss_qdark_icons/rc/radio_checked.png);
}
QMenu::indicator:exclusive:checked:selected {
image: url(:/qss_icons/rc/radio_checked_disabled.png);
image: url(:/qss_qdark_icons/rc/radio_checked_disabled.png);
}
QMenu::right-arrow {
margin: 5px;
image: url(:/qss_icons/rc/right_arrow.png)
image: url(:/qss_qdark_icons/rc/right_arrow.png)
}
@ -397,7 +397,7 @@ QScrollBar::handle:horizontal
QScrollBar::add-line:horizontal
{
margin: 0px 3px 0px 3px;
border-image: url(:/qss_icons/rc/right_arrow_disabled.png);
border-image: url(:/qss_qdark_icons/rc/right_arrow_disabled.png);
width: 10px;
height: 10px;
subcontrol-position: right;
@ -407,7 +407,7 @@ QScrollBar::add-line:horizontal
QScrollBar::sub-line:horizontal
{
margin: 0px 3px 0px 3px;
border-image: url(:/qss_icons/rc/left_arrow_disabled.png);
border-image: url(:/qss_qdark_icons/rc/left_arrow_disabled.png);
height: 10px;
width: 10px;
subcontrol-position: left;
@ -416,7 +416,7 @@ QScrollBar::sub-line:horizontal
QScrollBar::add-line:horizontal:hover,QScrollBar::add-line:horizontal:on
{
border-image: url(:/qss_icons/rc/right_arrow.png);
border-image: url(:/qss_qdark_icons/rc/right_arrow.png);
height: 10px;
width: 10px;
subcontrol-position: right;
@ -426,7 +426,7 @@ QScrollBar::add-line:horizontal:hover,QScrollBar::add-line:horizontal:on
QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on
{
border-image: url(:/qss_icons/rc/left_arrow.png);
border-image: url(:/qss_qdark_icons/rc/left_arrow.png);
height: 10px;
width: 10px;
subcontrol-position: left;
@ -463,7 +463,7 @@ QScrollBar::handle:vertical
QScrollBar::sub-line:vertical
{
margin: 3px 0px 3px 0px;
border-image: url(:/qss_icons/rc/up_arrow_disabled.png);
border-image: url(:/qss_qdark_icons/rc/up_arrow_disabled.png);
height: 10px;
width: 10px;
subcontrol-position: top;
@ -473,7 +473,7 @@ QScrollBar::sub-line:vertical
QScrollBar::add-line:vertical
{
margin: 3px 0px 3px 0px;
border-image: url(:/qss_icons/rc/down_arrow_disabled.png);
border-image: url(:/qss_qdark_icons/rc/down_arrow_disabled.png);
height: 10px;
width: 10px;
subcontrol-position: bottom;
@ -483,7 +483,7 @@ QScrollBar::add-line:vertical
QScrollBar::sub-line:vertical:hover,QScrollBar::sub-line:vertical:on
{
border-image: url(:/qss_icons/rc/up_arrow.png);
border-image: url(:/qss_qdark_icons/rc/up_arrow.png);
height: 10px;
width: 10px;
subcontrol-position: top;
@ -493,7 +493,7 @@ QScrollBar::sub-line:vertical:hover,QScrollBar::sub-line:vertical:on
QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on
{
border-image: url(:/qss_icons/rc/down_arrow.png);
border-image: url(:/qss_qdark_icons/rc/down_arrow.png);
height: 10px;
width: 10px;
subcontrol-position: bottom;
@ -534,7 +534,7 @@ QHeaderView::section
}
QSizeGrip {
image: url(:/qss_icons/rc/sizegrip.png);
image: url(:/qss_qdark_icons/rc/sizegrip.png);
width: 12px;
height: 12px;
}
@ -598,17 +598,33 @@ QToolBar {
border-bottom: 1px solid #2b2b2b;
}
QToolBar:top{
border-bottom: 1px solid #2b2b2b;
}
QToolBar:left{
border-right: 1px solid #2b2b2b;
}
QToolBar:right{
border-left: 1px solid #2b2b2b;
}
QToolBar:bottom{
border-top: 1px solid #2b2b2b;
}
QToolBar::handle:horizontal {
image: url(:/qss_icons/rc/Hmovetoolbar.png);
image: url(:/qss_qdark_icons/rc/Hmovetoolbar.png);
}
QToolBar::handle:vertical {
image: url(:/qss_icons/rc/Vmovetoolbar.png);
image: url(:/qss_qdark_icons/rc/Vmovetoolbar.png);
}
QToolBar::separator:horizontal {
image: url(:/qss_icons/rc/Hsepartoolbar.png);
image: url(:/qss_qdark_icons/rc/Hsepartoolbar.png);
}
QToolBar::separator:vertical {
image: url(:/qss_icons/rc/Vsepartoolbar.png);
image: url(:/qss_qdark_icons/rc/Vsepartoolbar.png);
}
QToolButton#qt_toolbar_ext_button {
@ -616,7 +632,7 @@ QToolButton#qt_toolbar_ext_button {
min-width: 8px;
width: 8px;
padding: 1px;
qproperty-icon: url(:/qss_icons/rc/extend.png);
qproperty-icon: url(:/qss_qdark_icons/rc/extend.png);
}
QPushButton
@ -714,13 +730,13 @@ QComboBox::drop-down
QComboBox::down-arrow
{
image: url(:/qss_icons/rc/down_arrow_disabled.png);
image: url(:/qss_qdark_icons/rc/down_arrow_disabled.png);
}
QComboBox::down-arrow:on, QComboBox::down-arrow:hover,
QComboBox::down-arrow:focus
{
image: url(:/qss_icons/rc/down_arrow.png);
image: url(:/qss_qdark_icons/rc/down_arrow.png);
}
QAbstractSpinBox {
@ -750,25 +766,25 @@ QAbstractSpinBox:down-button
}
QAbstractSpinBox::up-arrow,QAbstractSpinBox::up-arrow:disabled,QAbstractSpinBox::up-arrow:off {
image: url(:/qss_icons/rc/up_arrow_disabled.png);
image: url(:/qss_qdark_icons/rc/up_arrow_disabled.png);
width: 10px;
height: 10px;
}
QAbstractSpinBox::up-arrow:hover
{
image: url(:/qss_icons/rc/up_arrow.png);
image: url(:/qss_qdark_icons/rc/up_arrow.png);
}
QAbstractSpinBox::down-arrow,QAbstractSpinBox::down-arrow:disabled,QAbstractSpinBox::down-arrow:off
{
image: url(:/qss_icons/rc/down_arrow_disabled.png);
image: url(:/qss_qdark_icons/rc/down_arrow_disabled.png);
width: 10px;
height: 10px;
}
QAbstractSpinBox::down-arrow:hover
{
image: url(:/qss_icons/rc/down_arrow.png);
image: url(:/qss_qdark_icons/rc/down_arrow.png);
}
@ -807,18 +823,18 @@ QTabBar:focus
}
QTabBar::close-button {
image: url(:/qss_icons/rc/close.png);
image: url(:/qss_qdark_icons/rc/close.png);
background: transparent;
}
QTabBar::close-button:hover
{
image: url(:/qss_icons/rc/close-hover.png);
image: url(:/qss_qdark_icons/rc/close-hover.png);
background: transparent;
}
QTabBar::close-button:pressed {
image: url(:/qss_icons/rc/close-pressed.png);
image: url(:/qss_qdark_icons/rc/close-pressed.png);
background: transparent;
}
@ -844,6 +860,16 @@ QTabBar::tab:top:!selected:hover {
background-color: #2e2e2e;
}
QTabBar::tab:top:!selected:hover {
background-color: #505050;
}
QTabBar::tab::top:selected
{
border-top: 2px solid #8fa876;
background-color: #2b2b2b;
}
/* BOTTOM TABS */
QTabBar::tab:bottom {
color: #eff0f1;
@ -863,7 +889,13 @@ QTabBar::tab:bottom:!selected
}
QTabBar::tab:bottom:!selected:hover {
background-color: #2e2e2e;
background-color: #819a67;
}
QTabBar::tab::bottom:selected
{
border-bottom: 2px solid #8fa876;
background-color: #2b2b2b;
}
/* LEFT TABS */
@ -887,6 +919,16 @@ QTabBar::tab:left:!selected:hover {
background-color: #2e2e2e;
}
QTabBar::tab:left:!selected:hover {
background-color: #505050;
}
QTabBar::tab::left:selected
{
border-left: 2px solid #8fa876;
background-color: #2b2b2b;
}
/* RIGHT TABS */
QTabBar::tab:right {
color: #eff0f1;
@ -908,33 +950,44 @@ QTabBar::tab:right:!selected:hover {
background-color: #2e2e2e;
}
QTabBar::tab:right:!selected:hover {
background-color: #505050;
}
QTabBar::tab::right:selected
{
border-bottom: 2px solid #8fa876;
background-color: #2b2b2b;
}
QTabBar QToolButton::right-arrow:enabled {
image: url(:/qss_icons/rc/right_arrow.png);
image: url(:/qss_qdark_icons/rc/right_arrow.png);
}
QTabBar QToolButton::left-arrow:enabled {
image: url(:/qss_icons/rc/left_arrow.png);
image: url(:/qss_qdark_icons/rc/left_arrow.png);
}
QTabBar QToolButton::right-arrow:disabled {
image: url(:/qss_icons/rc/right_arrow_disabled.png);
image: url(:/qss_qdark_icons/rc/right_arrow_disabled.png);
}
QTabBar QToolButton::left-arrow:disabled {
image: url(:/qss_icons/rc/left_arrow_disabled.png);
image: url(:/qss_qdark_icons/rc/left_arrow_disabled.png);
}
QDockWidget {
background: #383838;
border: 1px solid #403F3F;
titlebar-close-icon: url(:/qss_icons/rc/close.png);
titlebar-normal-icon: url(:/qss_icons/rc/undock.png);
titlebar-close-icon: url(:/qss_qdark_icons/rc/transparent.png);
titlebar-normal-icon: url(:/qss_qdark_icons/rc/transparent.png);
}
QDockWidget::title{
background: #383838;
padding-left: 5px;
padding-top: 4px;
margin-top: 4px;
}
@ -946,7 +999,7 @@ QDockWidget::close-button, QDockWidget::float-button {
}
QDockWidget::close-button:hover, QDockWidget::float-button:hover {
background: rgba(255, 255, 255, 10);
\\ background: rgba(255, 255, 255, 10);
}
QDockWidget::close-button:pressed, QDockWidget::float-button:pressed {
@ -954,8 +1007,24 @@ QDockWidget::close-button:pressed, QDockWidget::float-button:pressed {
background: rgba(255, 255, 255, 10);
}
QDockWidget::close-button {
image: url(:/qss_qdark_icons/rc/close.png);
}
QDockWidget::close-button:hover {
image: url(:/qss_qdark_icons/rc/close-hover.png);
}
QDockWidget::float-button {
image: url(:/qss_qdark_icons/rc/undock.png);
}
QDockWidget::float-button:hover {
image: url(:/qss_qdark_icons/rc/undock-hover.png);
}
QLabel#limeReportLabel{
color: #7faa18;
color: #8fa876;
}
QTreeView, QListView
@ -981,35 +1050,35 @@ QTreeView::branch:!selected:hover, QTreeView::item:!selected:hover{
}
QTreeView::branch:has-siblings:!adjoins-item {
border-image: url(:/qss_icons/rc/transparent.png);
border-image: url(:/qss_qdark_icons/rc/transparent.png);
}
QTreeView::branch:has-siblings:adjoins-item {
border-image: url(:/qss_icons/rc/transparent.png);
border-image: url(:/qss_qdark_icons/rc/transparent.png);
}
QTreeView::branch:!has-children:!has-siblings:adjoins-item {
border-image: url(:/qss_icons/rc/transparent.png);
border-image: url(:/qss_qdark_icons/rc/transparent.png);
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
image: url(:/qss_icons/rc/branch_closed.png);
image: url(:/qss_qdark_icons/rc/branch_closed.png);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
image: url(:/qss_icons/rc/branch_open.png);
image: url(:/qss_qdark_icons/rc/branch_open.png);
}
QTreeView::branch:has-children:!has-siblings:closed:hover,
QTreeView::branch:closed:has-children:has-siblings:hover {
image: url(:/qss_icons/rc/branch_closed-on.png);
image: url(:/qss_qdark_icons/rc/branch_closed-on.png);
}
QTreeView::branch:open:has-children:!has-siblings:hover,
QTreeView::branch:open:has-children:has-siblings:hover {
image: url(:/qss_icons/rc/branch_open-on.png);
image: url(:/qss_qdark_icons/rc/branch_open-on.png);
}
QSlider::groove:horizontal {
@ -1055,13 +1124,13 @@ QToolButton {
QToolButton:hover, QToolButton::menu-button:hover {
background-color: #2b2b2b;
border: 1px solid #7faa18;
border: 1px solid #8fa876;
}
QToolButton:checked, QToolButton:pressed,
QToolButton::menu-button:pressed {
background-color: #2e2e2e;
border: 1px solid #7faa18;
border: 1px solid #8fa876;
}
QToolButton:text{
@ -1087,7 +1156,7 @@ QToolButton:disabled{
\\
\\/* the subcontrol below is used only in the InstantPopup or DelayedPopup mode */
\\QToolButton::menu-indicator {
\\ image: url(:/qss_icons/rc/down_arrow.png);
\\ image: url(:/qss_qdark_icons/rc/down_arrow.png);
\\ top: -7px; left: -2px; /* shift it a bit */
\\}
\\
@ -1102,7 +1171,7 @@ QToolButton:disabled{
\\}
\\
\\QToolButton::menu-arrow {
\\ image: url(:/qss_icons/rc/down_arrow.png);
\\ image: url(:/qss_qdark_icons/rc/down_arrow.png);
\\}
\\
\\QToolButton::menu-arrow:open {
@ -1190,11 +1259,11 @@ QHeaderView::section:checked
/* style the sort indicator */
QHeaderView::down-arrow {
image: url(:/qss_icons/rc/down_arrow.png);
image: url(:/qss_qdark_icons/rc/down_arrow.png);
}
QHeaderView::up-arrow {
image: url(:/qss_icons/rc/up_arrow.png);
image: url(:/qss_qdark_icons/rc/up_arrow.png);
}
@ -1214,7 +1283,7 @@ QToolBox::tab {
font-weight: bold;
background-color: #383838;
\\ background-color: #2b2b2b;
border: 1px solid #d0d0d0;
border: 2px solid #d0d0d0;
border-top: 1px transparent #383838;
border-left: 1px transparent #383838;
border-right: 1px transparent #383838;
@ -1225,7 +1294,7 @@ QToolBox::tab {
QToolBox::tab:hover{
background-color: #2b2b2b;
border-color: #7faa18;
border-color: #8fa876;
}
QToolBox::tab:selected { /* italicize selected tabs */
@ -1233,7 +1302,7 @@ QToolBox::tab:selected { /* italicize selected tabs */
font-weight: bold;
\\ background-color: #383838;
background-color: #2b2b2b;
border-color: #7faa18;
border-color: #8fa876;
}
QStatusBar::item {
@ -1312,11 +1381,11 @@ QDateEdit::drop-down
QDateEdit::down-arrow
{
image: url(:/qss_icons/rc/down_arrow_disabled.png);
image: url(:/qss_qdark_icons/rc/down_arrow_disabled.png);
}
QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover,
QDateEdit::down-arrow:focus
{
image: url(:/qss_icons/rc/down_arrow.png);
image: url(:/qss_qdark_icons/rc/down_arrow.png);
}

21
3rdparty/light_style_sheet/COPYING vendored Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) <2013-2017> <Colin Duquesnoy>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,48 @@
<RCC>
<qresource prefix="/qss_qlight_icons">
<file>rc/up_arrow_disabled.png</file>
<file>rc/Hmovetoolbar.png</file>
<file>rc/stylesheet-branch-end.png</file>
<file>rc/branch_closed-on.png</file>
<file>rc/stylesheet-vline.png</file>
<file>rc/branch_closed.png</file>
<file>rc/branch_open-on.png</file>
<file>rc/transparent.png</file>
<file>rc/right_arrow_disabled.png</file>
<file>rc/sizegrip.png</file>
<file>rc/close.png</file>
<file>rc/close-hover.png</file>
<file>rc/close-pressed.png</file>
<file>rc/down_arrow.png</file>
<file>rc/Vmovetoolbar.png</file>
<file>rc/left_arrow.png</file>
<file>rc/stylesheet-branch-more.png</file>
<file>rc/up_arrow.png</file>
<file>rc/right_arrow.png</file>
<file>rc/left_arrow_disabled.png</file>
<file>rc/Hsepartoolbar.png</file>
<file>rc/branch_open.png</file>
<file>rc/Vsepartoolbar.png</file>
<file>rc/down_arrow_disabled.png</file>
<file>rc/undock.png</file>
<file>rc/undock-hover.png</file>
<file>rc/checkbox_checked_disabled.png</file>
<file>rc/checkbox_checked_focus.png</file>
<file>rc/checkbox_checked.png</file>
<file>rc/checkbox_indeterminate.png</file>
<file>rc/checkbox_indeterminate_focus.png</file>
<file>rc/checkbox_unchecked_disabled.png</file>
<file>rc/checkbox_unchecked_focus.png</file>
<file>rc/checkbox_unchecked.png</file>
<file>rc/radio_checked_disabled.png</file>
<file>rc/radio_checked_focus.png</file>
<file>rc/radio_checked.png</file>
<file>rc/radio_unchecked_disabled.png</file>
<file>rc/radio_unchecked_focus.png</file>
<file>rc/radio_unchecked.png</file>
<file>rc/extend.png</file>
</qresource>
<qresource prefix="/qlightstyle">
<file>lightstyle.qss</file>
</qresource>
</RCC>

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_checked.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_checked.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.313708"
inkscape:cx="5.8255992"
inkscape:cy="4.5235727"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid4203" />
<sodipodi:guide
position="-15,16"
orientation="0,1"
id="guide4205" />
<sodipodi:guide
position="16,22.000001"
orientation="1,0"
id="guide4207" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#a19f9f;stroke-width:1.74481475;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2347"
ry="3.9677963"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
style="opacity:1;fill:#a19f9f;fill-opacity:1;stroke:#a19f9f;stroke-width:1.29718292;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4159"
width="14.702817"
height="14.702817"
x="8.648591"
y="1029.0107"
rx="0"
ry="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_checked_disabled.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_checked_disabled.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.313708"
inkscape:cx="-8.9794497"
inkscape:cy="4.5235727"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid4203" />
<sodipodi:guide
position="-15,16"
orientation="0,1"
id="guide4205" />
<sodipodi:guide
position="16,22.000001"
orientation="1,0"
id="guide4207" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#615f5f;stroke-width:1.74481475;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2347"
ry="3.9677963"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
style="opacity:1;fill:#615f5f;fill-opacity:1;stroke:#615f5f;stroke-width:1.29718292;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4159"
width="14.702817"
height="14.702817"
x="8.648591"
y="1029.0107"
rx="0"
ry="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_checked.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_checked_focus.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.313708"
inkscape:cx="-8.9794497"
inkscape:cy="4.5235727"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid4203" />
<sodipodi:guide
position="-15,16"
orientation="0,1"
id="guide4205" />
<sodipodi:guide
position="16,22.000001"
orientation="1,0"
id="guide4207" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#3d8ec9;stroke-width:1.74481475;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2347"
ry="3.9677963"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
style="opacity:1;fill:#3d8ec9;fill-opacity:1;stroke:#3d8ec9;stroke-width:1.29718292;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4159"
width="14.702817"
height="14.702817"
x="8.648591"
y="1029.0107"
rx="0"
ry="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_indeterminate.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_indeterminate.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="15.655786"
inkscape:cx="11.83601"
inkscape:cy="14.365309"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid4203" />
<sodipodi:guide
position="-15,16"
orientation="0,1"
id="guide4205" />
<sodipodi:guide
position="16,22.000001"
orientation="1,0"
id="guide4207" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#a19f9f;stroke-width:1.74481475;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2347"
ry="3.9677963"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
style="opacity:1;fill:#a19f9f;fill-opacity:1;stroke:#a19f9f;stroke-width:1.01589644;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4159"
width="18.9841"
height="6.9841037"
x="6.5079508"
y="1032.87"
rx="0"
ry="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_indeterminate_disabled.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_indeterminate_disabled.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="15.655786"
inkscape:cx="1.1370901"
inkscape:cy="14.365309"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid4203" />
<sodipodi:guide
position="-15,16"
orientation="0,1"
id="guide4205" />
<sodipodi:guide
position="16,22.000001"
orientation="1,0"
id="guide4207" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#615f5f;stroke-width:1.74481475;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2347"
ry="3.9677963"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
style="opacity:1;fill:#615f5f;fill-opacity:1;stroke:#615f5f;stroke-width:1.01589644;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4159"
width="18.9841"
height="6.9841037"
x="6.5079508"
y="1032.87"
rx="0"
ry="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_indeterminate_focus.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_indeterminate_focus.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="15.655786"
inkscape:cx="1.1370901"
inkscape:cy="14.365309"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid4203" />
<sodipodi:guide
position="-15,16"
orientation="0,1"
id="guide4205" />
<sodipodi:guide
position="16,22.000001"
orientation="1,0"
id="guide4207" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#3d8ec9;stroke-width:1.74481475;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2347"
ry="3.9677963"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
style="opacity:1;fill:#3d8ec9;fill-opacity:1;stroke:#3d8ec9;stroke-width:1.01589644;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4159"
width="18.9841"
height="6.9841037"
x="6.5079508"
y="1032.87"
rx="0"
ry="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_unchecked.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_unchecked.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="22.296875"
inkscape:cx="5.0143756"
inkscape:cy="15.015026"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#a19f9f;stroke-width:1.74481463;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2346"
ry="3.9677958"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_checked_disabled.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_unchecked_disabled.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="22.296875"
inkscape:cx="4.4761835"
inkscape:cy="14.431985"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#615f5f;stroke-width:1.74481463;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2346"
ry="3.9677958"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
inkscape:export-filename="/home/colin/checkbox_unchecked_focus.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
sodipodi:docname="checkbox_unchecked_focus.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="22.296875"
inkscape:cx="16.204284"
inkscape:cy="14.297437"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1051"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<rect
style="opacity:1;fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:#3d8ec9;stroke-width:1.74481463;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3338"
width="26.255186"
height="26.255186"
x="2.8724074"
y="1023.2346"
ry="3.9677958"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="radio_checked.svg"
inkscape:export-filename="/home/colin/radio_checked.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="22.627417"
inkscape:cx="13.330299"
inkscape:cy="13.249832"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<circle
style="opacity:1;fill:#000000;fill-opacity:0;stroke:#a19f9f;stroke-width:1.41537094;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4138"
cx="16"
cy="1036.3622"
r="9.2923145" />
<circle
style="opacity:1;fill:#a19f9f;fill-opacity:1;stroke:#a19f9f;stroke-width:1.623402;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4178"
cx="16"
cy="1036.3622"
r="5.1882992" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="radio_checked_disabled.svg"
inkscape:export-filename="/home/colin/radio_checked_disabled.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="7.8389416"
inkscape:cx="-15.099602"
inkscape:cy="-5.3178987"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<circle
style="opacity:1;fill:#000000;fill-opacity:0;stroke:#615f5f;stroke-width:1.41537082;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4138"
cx="15.999998"
cy="1036.3622"
r="9.2923145" />
<circle
style="opacity:1;fill:#615f5f;fill-opacity:1;stroke:#615f5f;stroke-width:1.623402;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4178"
cx="16"
cy="1036.3622"
r="5.1882992" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="radio_checked_focus.svg"
inkscape:export-filename="/home/colin/radio_checked_focus.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="7.8389416"
inkscape:cx="-4.6390066"
inkscape:cy="-3.914648"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<circle
style="opacity:1;fill:#000000;fill-opacity:0;stroke:#3d8ec9;stroke-width:1.41537094;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4138"
cx="16"
cy="1036.3622"
r="9.2923145" />
<circle
style="opacity:1;fill:#3d8ec9;fill-opacity:1;stroke:#3d8ec9;stroke-width:1.623402;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4178"
cx="16"
cy="1036.3622"
r="5.1882992" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="radio_unchecked.svg"
inkscape:export-filename="/home/colin/radio_unchecked.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="15.839192"
inkscape:cx="6.4772926"
inkscape:cy="12.06106"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<circle
style="opacity:1;fill:#000000;fill-opacity:0;stroke:#a19f9f;stroke-width:1.41537082;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4138"
cx="16"
cy="1036.3622"
r="9.2923145" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="radio_unchecked_disabled.svg"
inkscape:export-filename="/home/colin/radio_unchecked_disabled.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="15.839192"
inkscape:cx="16.926058"
inkscape:cy="14.333903"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<circle
style="opacity:1;fill:#000000;fill-opacity:0;stroke:#615f5f;stroke-width:1.41537094;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4138"
cx="16"
cy="1036.3622"
r="9.2923145" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="radio_unchecked_focus.svg"
inkscape:export-filename="/home/colin/radio_unchecked_focus.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="8"
inkscape:cx="-1.0425169"
inkscape:cy="-5.8497638"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1138"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1020.3622)">
<circle
style="opacity:1;fill:#000000;fill-opacity:0;stroke:#3d8ec9;stroke-width:1.41537094;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4138"
cx="16"
cy="1036.3622"
r="9.2923145" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -90,7 +90,7 @@ namespace Const{
const QString DATAFUNCTIONS_MANAGER_NAME = "DatasourceFunctions";
const QString EOW("~!@#$%^&*()+{}|:\"<>?,/;'[]\\-=");
const int DEFAULT_TAB_INDENTION = 4;
const int DOCKWIDGET_MARGINS = 4;
}
QString extractClassName(QString className);
QString escapeSimbols(const QString& value);

View File

@ -63,6 +63,8 @@ DataBrowser::DataBrowser(QWidget *parent) :
connect(ui->changeConnection,SIGNAL(clicked()),this,SLOT(slotChangeConnection()));
connect(ui->pbConnect,SIGNAL(clicked()),this,SLOT(slotChangeConnectionState()));
ui->verticalLayout_2->setMargin(Const::DOCKWIDGET_MARGINS);
ui->dataTree->setHeaderLabel(tr("Datasources"));
ui->pbConnect->setEnabled(false);
}

View File

@ -90,7 +90,7 @@ namespace Const{
const QString DATAFUNCTIONS_MANAGER_NAME = "DatasourceFunctions";
const QString EOW("~!@#$%^&*()+{}|:\"<>?,/;'[]\\-=");
const int DEFAULT_TAB_INDENTION = 4;
const int DOCKWIDGET_MARGINS = 4;
}
QString extractClassName(QString className);
QString escapeSimbols(const QString& value);

View File

@ -57,7 +57,7 @@ ReportDesignWidget::ReportDesignWidget(ReportEnginePrivateInterface* report, QSe
m_dialogDesignerManager(new DialogDesignerManager(this)),
#endif
m_mainWindow(mainWindow), m_verticalGridStep(10), m_horizontalGridStep(10), m_useGrid(false),
m_dialogChanged(false), m_useDarkTheme(false), m_settings(settings)
m_dialogChanged(false), m_theme("Default"), m_settings(settings)
{
#ifdef HAVE_QT4
m_tabWidget = new LimeReportTabWidget(this);
@ -100,6 +100,10 @@ ReportDesignWidget::ReportDesignWidget(ReportEnginePrivateInterface* report, QSe
connect(m_dialogDesignerManager, SIGNAL(dialogNameChanged(QString,QString)),
this, SLOT(slotDialogNameChanged(QString,QString)));
#endif
m_themes.insert("Default","");
initThemeIfExist("Dark", ":/qdarkstyle/style.qss");
initThemeIfExist("Light", ":/qlightstyle/lightstyle.qss");
}
#ifdef HAVE_QTDESIGNER_INTEGRATION
@ -185,7 +189,7 @@ void ReportDesignWidget::saveState()
m_settings->setValue("vGridStep",m_verticalGridStep);
m_settings->setValue("defaultFont",m_defaultFont);
m_settings->setValue("useGrid",m_useGrid);
m_settings->setValue("useDarkTheme",m_useDarkTheme);
m_settings->setValue("theme",m_theme);
m_settings->setValue("ScriptEditorState", m_scriptEditor->saveState());
m_settings->endGroup();
}
@ -196,17 +200,27 @@ void ReportDesignWidget::applySettings()
m_report->pageAt(i)->pageItem()->setFont(m_defaultFont);
}
applyUseGrid();
if (m_useDarkTheme) {
QFile theme(":/qdarkstyle/style.qss");
theme.open(QIODevice::ReadOnly);
QString styleSheet = theme.readAll();
parentWidget()->setStyleSheet(styleSheet);
m_report->setStyleSheet(styleSheet);
if (m_themes.contains(m_theme)){
parentWidget()->setStyleSheet(m_themes.value(m_theme));
m_report->setStyleSheet(m_themes.value(m_theme));
} else {
m_theme = "Default";
parentWidget()->setStyleSheet("");
m_report->setStyleSheet("");
}
// if (m_theme.compare("Dark") == 0) {
// QFile theme(":/qdarkstyle/style.qss");
// theme.open(QIODevice::ReadOnly);
// QString styleSheet = theme.readAll();
// parentWidget()->setStyleSheet(styleSheet);
// m_report->setStyleSheet(styleSheet);
// } else {
// parentWidget()->setStyleSheet("");
// m_report->setStyleSheet("");
// }
if (m_settings){
m_settings->beginGroup("ScriptEditor");
QVariant v = m_settings->value("DefaultFontName");
@ -244,9 +258,9 @@ void ReportDesignWidget::loadState()
m_useGrid = v.toBool();
}
v = m_settings->value("useDarkTheme");
v = m_settings->value("theme");
if (v.isValid()){
m_useDarkTheme = v.toBool();
m_theme = v.toString();
}
v = m_settings->value("ScriptEditorState");
@ -684,6 +698,17 @@ void ReportDesignWidget::prepareReport()
report()->clearSelection();
}
void ReportDesignWidget::initThemeIfExist(const QString &themeName, const QString &path)
{
QFile theme(path);
if (theme.exists()){
theme.open(QIODevice::ReadOnly);
QString styleSheet = theme.readAll();
m_themes.insert(themeName, styleSheet);
m_localToEng.insert(QObject::tr(themeName.toLatin1()), themeName);
}
}
void ReportDesignWidget::previewReport()
{
prepareReport();
@ -749,14 +774,25 @@ void ReportDesignWidget::editSetting()
setting.setHorizontalGridStep(m_horizontalGridStep);
setting.setDefaultFont(m_defaultFont);
setting.setSuppressAbsentFieldsAndVarsWarnings(m_report->suppressFieldAndVarError());
setting.setUseDarkTheme(m_useDarkTheme);
QStringList themes;
themes.append(QObject::tr("Default"));
foreach(QString theme, m_themes.keys())
if (!themes.contains(QObject::tr(theme.toLatin1())))
themes.append(QObject::tr(theme.toLatin1()));
setting.setDesignerThemes(themes, QObject::tr(m_theme.toLatin1()));
setting.setDesignerLanguages(m_report->designerLanguages(), m_report->currentDesignerLanguage());
if (setting.exec()){
m_horizontalGridStep = setting.horizontalGridStep();
m_verticalGridStep = setting.verticalGridStep();
m_defaultFont = setting.defaultFont();
m_useDarkTheme = setting.userDarkTheme();
if (m_localToEng.contains(setting.theme())){
m_theme = m_localToEng.value(setting.theme());
} else {
m_theme = "Default";
}
m_report->setSuppressFieldAndVarError(setting.suppressAbsentFieldsAndVarsWarnings());
if (m_report->currentDesignerLanguage() != setting.designerLanguage() ){
m_report->setCurrentDesignerLanguage(setting.designerLanguage());

View File

@ -206,6 +206,7 @@ protected:
private:
bool eventFilter(QObject *target, QEvent *event);
void prepareReport();
void initThemeIfExist(const QString& themeName, const QString& path);
private:
ReportEnginePrivateInterface* m_report;
QGraphicsView *m_view;
@ -228,8 +229,10 @@ private:
bool m_useGrid;
bool m_useMagnet;
bool m_dialogChanged;
bool m_useDarkTheme;
QString m_theme;
QSettings* m_settings;
QMap<QString, QString> m_themes;
QMap<QString, QString> m_localToEng;
};
} // namespace LimeReport

View File

@ -512,7 +512,7 @@ void ReportDesignWindow::createObjectInspector()
QWidget* w = new QWidget(objectDoc);
QVBoxLayout* l = new QVBoxLayout(w);
l->addWidget(m_objectInspector);
l->setContentsMargins(2,2,2,2);
l->setMargin(0);
w->setLayout(l);
objectDoc->setWindowTitle(tr("Object Inspector"));
objectDoc->setWidget(w);

View File

@ -2,6 +2,7 @@
#include "ui_lrsettingdialog.h"
#include "lrglobal.h"
#include <QFile>
#include <QFileInfo>
namespace LimeReport{
@ -10,10 +11,14 @@ SettingDialog::SettingDialog(QWidget *parent) :
ui(new Ui::SettingDialog)
{
ui->setupUi(this);
QFile theme(":/qdarkstyle/style.qss");
if (!theme.exists()){
ui->cbbUseDarkTheme->setVisible(false);
}
ui->toolBox->setCurrentIndex(0);
// ui->cbTheme->addItem(QObject::tr("Default"));
// if (isFileExists(":/qdarkstyle/style.qss")){
// ui->cbTheme->addItem(QObject::tr("Dark"));
// }
// if (isFileExists(":/qlightstyle/lightstyle.qss")){
// ui->cbTheme->addItem(QObject::tr("Light"));
// }
ui->indentSize->setRange(0,10);
}
@ -51,9 +56,9 @@ int SettingDialog::tabIndention()
return ui->indentSize->value();
}
bool SettingDialog::userDarkTheme()
QString SettingDialog::theme()
{
return ui->cbbUseDarkTheme->isChecked();
return ui->cbTheme->currentText();
}
bool SettingDialog::suppressAbsentFieldsAndVarsWarnings()
@ -101,9 +106,13 @@ void SettingDialog::setScritpTabIndention(int size)
ui->indentSize->setValue(size);
}
void SettingDialog::setUseDarkTheme(bool value)
void SettingDialog::setTheme(const QString &theme)
{
ui->cbbUseDarkTheme->setChecked(value);
#ifdef HAVE_QT4
ui->cbTheme->setCurrentIndex(ui->cbTheme->findText(theme));
#else
ui->cbTheme->setCurrentText(theme);
#endif
}
void SettingDialog::setDesignerLanguages(QList<QLocale::Language> languages, QLocale::Language currentLanguage)
@ -128,6 +137,17 @@ void SettingDialog::setDesignerLanguages(QList<QLocale::Language> languages, QLo
#endif
}
void SettingDialog::setDesignerThemes(QList<QString> themes, const QString &currentTheme)
{
ui->cbTheme->clear();
ui->cbTheme->addItems(themes);
#ifdef HAVE_QT4
ui->cbTheme->setCurrentIndex(ui->cbTheme->findText(currentTheme));
#else
ui->cbTheme->setCurrentText(currentTheme);
#endif
}
void SettingDialog::setSettings(QSettings* settings){
m_settings = settings;
if (m_settings){
@ -159,6 +179,12 @@ void SettingDialog::on_bbOkCancel_accepted()
}
}
bool SettingDialog::isFileExists(const QString &path)
{
QFileInfo check_file(path);
return check_file.exists() && check_file.isFile();
}
} // namespace LimeReport

View File

@ -23,7 +23,7 @@ public:
QFont defaultFont();
QFont scriptFont();
int tabIndention();
bool userDarkTheme();
QString theme();
bool suppressAbsentFieldsAndVarsWarnings();
QLocale::Language designerLanguage();
void setSuppressAbsentFieldsAndVarsWarnings(bool value);
@ -32,12 +32,14 @@ public:
void setDefaultFont(const QFont& value);
void setScriptFont(const QFont& value);
void setScritpTabIndention(int size);
void setUseDarkTheme(bool value);
void setTheme(const QString& theme);
void setDesignerLanguages(QList<QLocale::Language> languages, QLocale::Language currentLanguage);
void setDesignerThemes(QList<QString> themes, const QString& currentTheme);
void setSettings(QSettings* settings);
private slots:
void on_bbOkCancel_accepted();
private:
bool isFileExists(const QString& path);
private:
Ui::SettingDialog *ui;
QList<QLocale::Language> m_aviableLanguages;

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>419</width>
<height>362</height>
<height>378</height>
</rect>
</property>
<property name="sizePolicy">
@ -23,7 +23,7 @@
<item>
<widget class="QToolBox" name="toolBox">
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<widget class="QWidget" name="page">
<property name="geometry">
@ -31,7 +31,7 @@
<x>0</x>
<y>0</y>
<width>401</width>
<height>218</height>
<height>250</height>
</rect>
</property>
<attribute name="label">
@ -148,11 +148,44 @@
</layout>
</item>
<item>
<widget class="QCheckBox" name="cbbUseDarkTheme">
<property name="text">
<string>Use dark theme</string>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="lblTheme">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Theme</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbTheme">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
@ -162,7 +195,7 @@
<x>0</x>
<y>0</y>
<width>401</width>
<height>218</height>
<height>250</height>
</rect>
</property>
<attribute name="label">
@ -251,25 +284,34 @@
<x>0</x>
<y>0</y>
<width>401</width>
<height>218</height>
<height>250</height>
</rect>
</property>
<attribute name="label">
<string>Report settings</string>
</attribute>
<widget class="QCheckBox" name="cbSuppressWarnings">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>280</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Suppress absent fields and variables warning</string>
</property>
</widget>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QCheckBox" name="cbSuppressWarnings">
<property name="text">
<string>Suppress absent fields and variables warning</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>204</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>

View File

@ -189,7 +189,7 @@ ObjectInspectorWidget::ObjectInspectorWidget(QWidget *parent)
h->addWidget(pbClear);
l->addLayout(h);
l->addWidget(m_objectInspectorView);
l->setContentsMargins(2,2,2,2);
l->setMargin(Const::DOCKWIDGET_MARGINS);
l->setSpacing(2);
this->setLayout(l);
}

View File

@ -40,7 +40,7 @@ ObjectBrowser::ObjectBrowser(QWidget *parent)
{
QVBoxLayout *layout = new QVBoxLayout(this);
setLayout(layout);
layout->setMargin(2);
layout->setMargin(Const::DOCKWIDGET_MARGINS);
m_treeView = new QTreeWidget(this);
layout->addWidget(m_treeView);
m_treeView->headerItem()->setText(0,tr("Objects"));

View File

@ -43,6 +43,7 @@ ScriptBrowser::ScriptBrowser(QWidget *parent) :
ui(new Ui::ScriptBrowser)
{
ui->setupUi(this);
ui->verticalLayout->setMargin(Const::DOCKWIDGET_MARGINS);
#ifndef HAVE_UI_LOADER
ui->tpDialogs->setVisible(false);
ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tpDialogs));

View File

@ -1935,6 +1935,10 @@ p, li { white-space: pre-wrap; }
<source>hideText</source>
<translation>Скрывать текст</translation>
</message>
<message>
<source>option3</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::RectMMPropItem</name>
@ -2428,6 +2432,22 @@ This preview is no longer valid.</source>
<source>Datasource with name %1 already exist</source>
<translation>Источник данных %1 уже существует</translation>
</message>
<message>
<source>CSV</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Separator</source>
<translation>Разделитель</translation>
</message>
<message>
<source>;</source>
<translation>;</translation>
</message>
<message>
<source>Use first row as header</source>
<translation>Первая строка как заголовок</translation>
</message>
</context>
<context>
<name>LimeReport::ScriptBrowser</name>
@ -2635,10 +2655,6 @@ This preview is no longer valid.</source>
<source>Language</source>
<translation>Язык</translation>
</message>
<message>
<source>Use dark theme</source>
<translation>Использовать Темную тему</translation>
</message>
<message>
<source>Designer settings</source>
<translation>Настройки дизайнера</translation>
@ -2659,6 +2675,10 @@ This preview is no longer valid.</source>
<source>Report settings</source>
<translation>Настройки отчета</translation>
</message>
<message>
<source>Theme</source>
<translation>Тема</translation>
</message>
</context>
<context>
<name>LimeReport::SubDetailBand</name>
@ -3074,5 +3094,9 @@ This preview is no longer valid.</source>
<source>Export to PDF</source>
<translation>Экспортировать в PDF</translation>
</message>
<message>
<source>Default</source>
<translation>По умолчанию</translation>
</message>
</context>
</TS>