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

Merge pull request #38 from dmMaze/text_graphical_effects

Text graphical effects & Font style presets
parents da550417 ba0ad40b
Loading
Loading
Loading
Loading
+29 −4
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@ Widget {

CustomGV {
    background-color: #e6e9f0;

    border-color: #b3b6bf;
    border-style: solid;
    border-width: 1px;
@@ -199,7 +198,7 @@ AlignmentChecker#AlignRightChecker::indicator:checked {
}

QFontChecker {
    max-width: 32px;
    max-width: 34px;
}

QFontChecker::indicator {
@@ -253,8 +252,11 @@ TextEditListScrollArea {
    border-style: none;
}

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

QAction {
@@ -675,6 +677,10 @@ QLabel#angleLabel {
    color: rgba(255, 255, 255, 150);
}

.ClickableLabel::hover {
    background-color: rgba(30, 147, 229, 20%);
}

DrawToolCheckBox::indicator {
    height: 34px;
    width: 34px;
@@ -736,5 +742,24 @@ DrawToolCheckBox#DrawRectTool::indicator:checked {
    image: url(data/icons/bottombar_textblock_activate.svg);
}

QTreeView {
    border-color: #b3b6bf;
    border-style: solid;
    border-width: 1px;
}

QScrollArea {
    border-color: #b3b6bf;
    border-style: solid;
    border-width: 1px;
}

TextEditListScrollArea {
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;
}

PresetListWidget {
    min-height: 280px;
}
 No newline at end of file
+1.46 KiB (6.72 KiB)

File changed.

No diff preview for this file type.

+198 −64

File changed.

Preview size limit exceeded, changes collapsed.

+44 −35

File changed.

Preview size limit exceeded, changes collapsed.

+4 −1
Original line number Diff line number Diff line
@@ -326,6 +326,9 @@ class Canvas(QGraphicsScene):
            self.rubber_band.setGeometry(QRectF(self.rubber_band_origin, event.scenePos()).normalized())
            sel_path = QPainterPath(self.rubber_band_origin)
            sel_path.addRect(self.rubber_band.geometry())
            if C.FLAG_QT6:
                self.setSelectionArea(sel_path, deviceTransform=self.gv.viewportTransform())
            else:
                self.setSelectionArea(sel_path, Qt.ItemSelectionMode.IntersectsItemBoundingRect, self.gv.viewportTransform())
        return super().mouseMoveEvent(event)

Loading