Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

Commit fe16e86

Browse files
committed
🚀 Fix
1 parent dc65cf4 commit fe16e86

File tree

12 files changed

+122
-112
lines changed

12 files changed

+122
-112
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "src/CodeKeeper/3rdParty/qmarkdowntextedit"]
22
path = src/CodeKeeper/3rdParty/qmarkdowntextedit
3-
url = https://github.com/pbek/qmarkdowntextedit
3+
url = https://github.com/pbek/qmarkdowntextedit

CodeKeeper

1.59 KB
Binary file not shown.

src/CodeKeeper/CodeKeeper

1.59 KB
Binary file not shown.

src/CodeKeeper/accountFunc/functional.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,15 @@ void AccountWindow::get_image_url(const QString &username, QLabel *label)
224224
});
225225

226226
QObject::connect(reply, &QNetworkReply::finished, [=]() {
227-
if (reply->error()) {
227+
if (reply->error())
228+
{
228229
qWarning() << "Error:" << reply->errorString();
229230
reply->deleteLater();
230231
return;
231232
}
232233

233-
if (reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() != 200) {
234+
if (reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() != 200)
235+
{
234236
qWarning() << "HTTP error:" << reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
235237
reply->deleteLater();
236238
return;

src/CodeKeeper/custom_stylesheet.qss

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ QTableWidget::item {
2121
}
2222

2323
QWidget {
24-
background-color: #303743;
24+
background-color: #272b34;
2525
border-width: 0px;
2626
border-color: #ffffff;
2727
border-radius: 0px;
@@ -44,16 +44,16 @@ QCheckBox::indicator {
4444
}
4545
QCheckBox::indicator:unchecked {
4646
border-radius: 6px;
47-
background-color: rgba(255, 255, 255, 0.1);
47+
background-color: #20242b;
4848
}
4949
QCheckBox::indicator:unchecked:hover {
5050
border-radius: 6px;
51-
background-color: rgba(255, 255, 255, 0.1);
51+
background-color: #20242b;
5252
}
5353

5454
QCheckBox::indicator:unchecked:pressed {
5555
border-radius: 6px;
56-
background-color: rgba(255, 255, 255, 0.1);
56+
background-color: #20242b;
5757
}
5858

5959
QCheckBox::indicator:checked {
@@ -126,15 +126,15 @@ QMarkdownTextEdit::linenumber::selected:active {
126126
QFontComboBox {
127127
color: #ffffff;
128128
border-radius: 10px;
129-
background-color: rgba(255, 255, 255, 0.1);
130-
alternate-background-color: rgba(255, 255, 255, 0.1);
129+
background-color: #20242b;
130+
alternate-background-color: #20242b;
131131
}
132132

133133
QComboBox {
134134
color: #ffffff;
135135
border-radius: 10px;
136-
background-color: rgba(255, 255, 255, 0.1);
137-
alternate-background-color: rgba(255, 255, 255, 0.1);
136+
background-color: #20242b;
137+
alternate-background-color: #20242b;
138138
}
139139

140140
QComboBox::down-arrow {
@@ -153,9 +153,9 @@ QComboBox::drop-down {
153153

154154
QSpinBox {
155155
color: #ffffff;
156-
background-color: rgba(255, 255, 255, 0.1);
156+
background-color: #20242b;
157157
border-radius: 10px;
158-
alternate-background-color: rgba(255, 255, 255, 0.1);
158+
alternate-background-color: #20242b;
159159
}
160160

161161
QSpinBox::up-button {
@@ -199,7 +199,7 @@ QTabWidget::pane {
199199
}
200200

201201
QMenu {
202-
background-color: #505a6a;
202+
background-color: #20242b;
203203
color: #ffffff;
204204
border: 0px solid #ffffff;
205205
border-radius: 0px;
@@ -219,7 +219,7 @@ QMenu::item {
219219

220220
QMenu::item:selected {
221221
border-radius: 10px;
222-
color: #78b3ba;
222+
color: #a9bf85;
223223
text-decoration: none;
224224
}
225225

@@ -230,16 +230,16 @@ QMenu::indicator {
230230
}
231231
QMenu::indicator:unchecked {
232232
border-radius: 5px;
233-
background-color: rgba(255, 255, 255, 0.1);
233+
background-color: #20242b;
234234
}
235235
QMenu::indicator:unchecked:hover {
236236
border-radius: 5px;
237-
background-color: rgba(255, 255, 255, 0.1);
237+
background-color: #20242b;
238238
}
239239

240240
QMenu::indicator:unchecked:pressed {
241241
border-radius: 5px;
242-
background-color: rgba(255, 255, 255, 0.1);
242+
background-color: #20242b;
243243
}
244244
QMenu::indicator:checked {
245245
border-radius: 5px;
@@ -263,18 +263,18 @@ QMenu::indicator:indeterminate:pressed {
263263
}
264264

265265
QToolButton:pressed {
266-
background-color: #505a6a;
266+
background-color: #20242b;
267267
}
268268

269269
QToolButton {
270270
background-color: transparent;
271-
selection-background-color: rgba(255, 255, 255, 0.1);
271+
selection-background-color: #20242b;
272272
color: #ffffff;
273273
border-width: 2px;
274274
border-style: solid;
275275
border-radius: 10px;
276276
alignment: center;
277-
border-color: #26333f;
277+
border-color: #20242b;
278278
}
279279

280280
QTabWidget::tab-bar {
@@ -299,32 +299,32 @@ QTabBar::tab:selected {
299299
width: 100px;
300300
font-size: 10px;
301301
color: #ffffff;
302-
background: rgba(255, 255, 255, 0.1);
302+
background: #20242b;
303303
padding: 5px 5px;
304304
border-radius: 5px;
305305
margin-bottom: 1px;
306306
}
307307

308308
QPushButton {
309-
background-color: rgba(255, 255, 255, 0.1);
310-
selection-background-color: rgba(255, 255, 255, 0.1);
309+
background-color: #20242b;
310+
selection-background-color: #20242b;
311311
color: #ffffff;
312312
border-width: 0px;
313313
border-style: solid;
314314
border-radius: 10px;
315315
alignment: center;
316-
border-color: #26333f;
316+
border-color: #20242b;
317317
}
318318

319319
QPushButton:after {
320-
background-color: rgba(255, 255, 255, 0.1);
321-
selection-background-color: rgba(255, 255, 255, 0.1);
320+
background-color: #20242b;
321+
selection-background-color: #20242b;
322322
color: #ffffff;
323323
border-width: 0px;
324324
border-style: solid;
325325
border-radius: 10px;
326326
alignment: center;
327-
border-color: #26333f;
327+
border-color: #20242b;
328328
}
329329

330330
QPushButton::tooltip {
@@ -336,16 +336,16 @@ QLabel {
336336
}
337337

338338
QLineEdit {
339-
background-color: rgba(255, 255, 255, 0.1);
339+
background-color: #20242b;
340340
selection-background-color: #999999;
341341
selection-color: #ffffff;
342342
color: #ffffff;
343343
border-width: 0px;
344344
border-style: solid;
345345
border-radius: 10px;
346-
border-color: #26333f;
346+
border-color: #20242b;
347347
padding: 5px;
348-
alternate-background-color: rgba(255, 255, 255, 0.1);
348+
alternate-background-color: #20242b;
349349
}
350350

351351
QPlainTextEdit {
@@ -356,8 +356,8 @@ QPlainTextEdit {
356356
border-width: 0px;
357357
border-style: solid;
358358
border-radius: 10px;
359-
border-color: #26333f;
360-
alternate-background-color: rgba(255, 255, 255, 0.1);
359+
border-color: #20242b;
360+
alternate-background-color: #20242b;
361361
}
362362

363363
QTextBrowser {
@@ -369,8 +369,8 @@ QTextBrowser {
369369
border-width: 0px;
370370
border-style: solid;
371371
border-radius: 10px;
372-
border-color: #26333f;
373-
alternate-background-color: rgba(255, 255, 255, 0.1);
372+
border-color: #20242b;
373+
alternate-background-color: #20242b;
374374
}
375375

376376
QListWidget {
@@ -380,9 +380,9 @@ QListWidget {
380380
border-width: 0px;
381381
border-style: solid;
382382
border-radius: 10px;
383-
border-color: #26333f;
383+
border-color: #20242b;
384384
margin: 10px;
385-
alternate-background-color: rgba(255, 255, 255, 0.1);
385+
alternate-background-color: #20242b;
386386
}
387387

388388
QListWidget::item {
@@ -393,7 +393,7 @@ QListWidget::item:selected {
393393
color: #ffffff;
394394
border-width: 2px;
395395
border-color: #a9bf85;
396-
background-color: rgba(255, 255, 255, 0.1);
396+
background-color: #20242b;
397397
border-radius: 5px;
398398
}
399399

@@ -405,14 +405,14 @@ QGroupBox {
405405

406406
QTreeView {
407407
background-color: transparent;
408-
selection-background-color: rgba(255, 255, 255, 0.1);
408+
selection-background-color: #20242b;
409409
selection-color: #ffffff;
410410
color: #ffffff;
411411
border-width: 0px;
412412
border-style: solid;
413413
border-radius: 10px;
414-
border-color: rgba(255, 255, 255, 0.1);
415-
alternate-background-color: rgba(255, 255, 255, 0.1);
414+
border-color: #20242b;
415+
alternate-background-color: #20242b;
416416
}
417417

418418
QTreeView::item:alternate {
@@ -423,8 +423,8 @@ QTreeView::item:alternate {
423423

424424
QTreeView::item:selected {
425425
height: 14px;
426-
background-color: rgba(255, 255, 255, 0.1);
427-
border: 0px solid rgba(255, 255, 255, 0.1);
426+
background-color: #20242b;
427+
border: 0px solid #20242b;
428428
border-radius: 0px;
429429
}
430430

@@ -437,7 +437,7 @@ QTreeView::item:selected:!active {
437437

438438
QTreeView::item:selected:active {
439439
height: 14px;
440-
background-color: rgba(255, 255, 255, 0.1);
440+
background-color: #20242b;
441441
color: #ffffff;
442442
border-radius: 0px;
443443
}
@@ -449,43 +449,43 @@ QTreeView::item:hover {
449449
}
450450

451451
QHeaderView {
452-
border: 1px solid #26333f;
452+
border: 1px solid #20242b;
453453
background-color: transparent;
454454
color: #ffffff;
455455
}
456456

457457
QHeaderView::section {
458-
border: 1px solid #26333f;
458+
border: 1px solid #20242b;
459459
background-color: transparent;
460460
color: #ffffff;
461461
}
462462

463463
QHeaderView::section:checked {
464-
border: 1px solid #26333f;
464+
border: 1px solid #20242b;
465465
background-color: transparent;
466466
color: #ffffff;
467467
}
468468

469469
QHeaderView::section:checked:horizontal {
470-
border: 1px solid #26333f;
470+
border: 1px solid #20242b;
471471
background-color: transparent;
472472
color: #ffffff;
473473
}
474474

475475
QHeaderView::section:checked:vertical {
476-
border: 1px solid #26333f;
476+
border: 1px solid #20242b;
477477
background-color: transparent;
478478
color: #ffffff;
479479
}
480480

481481
QProgressBar {
482-
color: #26333f;
482+
color: #20242b;
483483
background-color: #ff757f;
484484
border-radius: 5px;
485485
}
486486

487487
QProgressBar::chunk {
488-
color: #26333f;
488+
color: #20242b;
489489
background-color: #c3e88d;
490490
border-radius: 5px;
491491
}
@@ -563,7 +563,7 @@ QScrollBar::sub-page {
563563

564564
QToolTip {
565565
color: #ffffff;
566-
border: 10px rgba(255, 255, 255, 0.1);
566+
border: 10px #20242b;
567567
border-radius: 5px;
568-
background-color: rgba(255, 255, 255, 0.1);
568+
background-color: #20242b;
569569
}

src/CodeKeeper/keeperFunc/addConnects.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ void MainWindow::createConnects()
77
connect(openSettingsWindowQS, &QShortcut::activated, this, [this]() { openSettingsWindow(); });
88

99
connect(label_1, &ClickableLabel::clicked, [=]() {
10-
if (this->width() < 1000)
10+
if (this->width() < 1400)
1111
{
1212
incompleteTasks->setVisible(!incompleteTasks->isVisible());
1313
if (incompleteWidget->height() > font_size_int * 2.5)
@@ -21,7 +21,7 @@ void MainWindow::createConnects()
2121
}
2222
});
2323
connect(label_2, &ClickableLabel::clicked, [=]() {
24-
if (this->width() < 1000)
24+
if (this->width() < 1400)
2525
{
2626
inprocessTasks->setVisible(!inprocessTasks->isVisible());
2727
if (inprocessWidget->height() > font_size_int * 2.5)
@@ -35,7 +35,7 @@ void MainWindow::createConnects()
3535
}
3636
});
3737
connect(label_3, &ClickableLabel::clicked, [=]() {
38-
if (this->width() < 1000)
38+
if (this->width() < 1400)
3939
{
4040
completeTasks->setVisible(!completeTasks->isVisible());
4141
if (completeWidget->height() > font_size_int * 2.5)

0 commit comments

Comments
 (0)