Unverified Commit a46c34e2 authored by dmMaze's avatar dmMaze Committed by GitHub
Browse files

Merge pull request #45 from dmMaze/search_replace

Search replace
parents 88d9d950 0bfbfad0
Loading
Loading
Loading
Loading
+128 −6
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@ CustomGV {
}

ConfigTable {
    border-color: #b3b6bf;
    border-style: solid;
    border-width: 1px;
    background-color: #e1e4eb
}

@@ -27,11 +30,14 @@ ConfigBlock {
    background-color: #e1e4eb
}


ConfigSubBlock {
    background-color: #e1e4eb
}

SearchResultTree {
    border-style: none;
    background-color: #ebeef5;
}

QSplitter:handle {
    background: #ebeef5;
@@ -303,12 +309,17 @@ QGroupBox {
}

QPushButton {
    max-width: 94px;
    /* max-width: 94px; */
    height: 32px;
    font-size: 14px;
    background-color: rgba(198, 201, 207, 33%);
    background-color: rgba(198, 201, 207, 50%);
    border: 1px solid #999999;
    border-radius: 3px;
    border-radius: 4px;
}

NoBorderPushBtn {
    background-color: rgb(198, 201, 207);
    border: none;
}

QPushButton::hover {
@@ -505,6 +516,22 @@ ShowPageListChecker::indicator:checked
    image: url(data/icons/showpagelist_activate.svg);
}

QCheckBox#GlobalSearchChecker::indicator{
    height: 38px;
    width: 38px;
    image: url(data/icons/search.svg);
}

QCheckBox#GlobalSearchChecker::indicator:hover
{
    image: url(data/icons/search_activate.svg);
}
QCheckBox#GlobalSearchChecker::indicator:checked
{
    image: url(data/icons/search_activate.svg);
}


StateChecker#ImgTransChecker::indicator{
    height: 37px;
    width: 37px;
@@ -742,7 +769,7 @@ DrawToolCheckBox#DrawRectTool::indicator:checked {
    image: url(data/icons/bottombar_textblock_activate.svg);
}

QTreeView {
GlobalSearchWidget {
    border-color: #b3b6bf;
    border-style: solid;
    border-width: 1px;
@@ -763,3 +790,98 @@ TextEditListScrollArea {
PresetListWidget {
    min-height: 280px;
}

ClickableLabel#PrevMatchBtn {
    image: url(data/icons/arrow-up.svg);
    min-width: 24px;
}

ClickableLabel#NextMatchBtn {
    image: url(data/icons/arrow-down.svg);
    min-width: 24px;
}


ClickableLabel#SearchCloseBtn {
    image: url(data/icons/chrome-close.svg);
    min-width: 24px;
}

QCheckBox#CaseSensitiveToggle::indicator {
    height: 24px;
    width: 24px;
    padding-top: 3px;
    image: url(data/icons/case-sensitive.svg);
}

QCheckBox#CaseSensitiveToggle::indicator:hover {
    background-color: rgba(127, 127, 127, 20%);
}

QCheckBox#CaseSensitiveToggle::indicator:checked {
    image: url(data/icons/case-sensitive_activated.svg);
}

QCheckBox#WholeWordToggle::indicator {
    height: 24px;
    width: 24px;
    image: url(data/icons/whole-word.svg);
}

QCheckBox#WholeWordToggle::indicator:checked {
    image: url(data/icons/whole-word_activate.svg);
}

QCheckBox#WholeWordToggle::indicator:hover {
    background-color: rgba(127, 127, 127, 20%);
}

QCheckBox#RegexToggle::indicator {
    height: 24px;
    width: 24px;
    image: url(data/icons/regex.svg);
}

QCheckBox#RegexToggle::indicator:checked {
    image: url(data/icons/regex_activate.svg);
}

QCheckBox#RegexToggle::indicator:hover {
    background-color: rgba(127, 127, 127, 20%);
}

SearchEditor {
    height: 32px;
}

ClickableLabel#ReplaceBtn {
    image: url(data/icons/replace.svg);
    min-width: 24px;
    min-height: 24px;
}

ClickableLabel#ReplaceAllBtn {
    image: url(data/icons/replace-all.svg);
    min-width: 24px;
    min-height: 24px;
}

TitleBarToolBtn {
    padding-left: 6px;
    padding-right: 6px;
    border-style: none;
    font-size: 15px;
    color: #6d6d6f;
}

TitleBarToolBtn::hover {
    background-color: rgb(30, 147, 229);
    color: whitesmoke;
}

TitleBarToolBtn::menu-indicator
{
    width:0px;
}

+3 −0
Original line number Diff line number Diff line
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.14667 9.00001L8.14665 14L8.85376 14L13.8538 9.00001L13.1467 8.2929L9.00021 12.4393L9.00022 2.00001L8.00022 2.00001L8.00022 12.4393L3.85378 8.2929L3.14667 9.00001Z" fill="#424242"/>
</svg>
+3 −0
Original line number Diff line number Diff line
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10.7002 8.64L8.20024 11.14H7.50024L5.00024 8.64L5.70024 7.93L7.35024 9.57V4H8.35024V9.57L10.0002 7.92L10.7002 8.64Z" fill="#424242"/>
</svg>
+3 −0
Original line number Diff line number Diff line
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.00019 6.50002L7.50019 4.00002L8.20019 4.00002L10.7002 6.50001L10.0002 7.21001L8.35019 5.57001L8.3502 11.14L7.3502 11.14L7.35019 5.57001L5.7002 7.22001L5.00019 6.50002Z" fill="#424242"/>
</svg>
+3 −0
Original line number Diff line number Diff line
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.8538 6.99999L8.85384 2H8.14673L3.14673 6.99999L3.85384 7.7071L8.00027 3.56066V14H9.00027V3.56066L13.1467 7.7071L13.8538 6.99999Z" fill="#424242"/>
</svg>
Loading