Miodrag Popović
4 years ago
committed by
GitHub
52 changed files with 6833 additions and 3224 deletions
@ -0,0 +1,139 @@ |
|||||
|
/* |
||||
|
Theme: Midnight Qt |
||||
|
Version: 1.0.2 |
||||
|
Reference: https://doc.qt.io/qt-5/stylesheet-reference.html |
||||
|
|
||||
|
Author: Charles Sharpe |
||||
|
Date: Apr. 23, 2020 |
||||
|
Website: https://www.csharpe.me |
||||
|
License: https://opensource.org/licenses/MIT |
||||
|
*/ |
||||
|
|
||||
|
QWidget, QMainWindow, QMenuBar, QMenu, QDialog, QTabWidget, QTableView, QTableView::item, QScrollArea, QGroupBox, QPlainTextEdit, QLineEdit, QLabel, MainWindow |
||||
|
{ |
||||
|
background-color: #111; |
||||
|
color: #fff; |
||||
|
} |
||||
|
|
||||
|
QPushButton { |
||||
|
padding: 10px 15px; |
||||
|
} |
||||
|
|
||||
|
QPushButton:hover { |
||||
|
background: #222; |
||||
|
} |
||||
|
|
||||
|
QLineEdit, QRadioButton::indicator::unchecked, QCheckBox::indicator::unchecked { |
||||
|
background: #222; |
||||
|
border: 1px solid #333; |
||||
|
border-radius: 3px; |
||||
|
} |
||||
|
|
||||
|
QLineEdit { |
||||
|
font-size: 12px; |
||||
|
} |
||||
|
|
||||
|
QLineEdit:focus { |
||||
|
border: 1px solid #9d8400; |
||||
|
} |
||||
|
|
||||
|
QWidget QLabel { |
||||
|
font-size: 11pt; |
||||
|
} |
||||
|
|
||||
|
QWidget QCheckBox { |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
QTabWidget QTabBar::tab { |
||||
|
min-height: 15px; |
||||
|
padding: 15px 25px; |
||||
|
border: 1px ridge #222; |
||||
|
left: 1px; /* Fix 1px alignment */ |
||||
|
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.25, stop: 0 #333, stop: 1 #111); |
||||
|
} |
||||
|
|
||||
|
QTabWidget QTabBar::tab:selected { |
||||
|
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.25, stop: 0 #555, stop: 1 #111); |
||||
|
color:#fff; |
||||
|
border: 1px ridge #222; |
||||
|
border-bottom: 0px; /* Overwrites border-bottom */ |
||||
|
} |
||||
|
|
||||
|
QTabWidget QTabBar::tab:hover { |
||||
|
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.25, stop: 0 #555, stop: 1 #111); |
||||
|
} |
||||
|
|
||||
|
QHeaderView { /* Table Header */ |
||||
|
background-color:#111; |
||||
|
} |
||||
|
|
||||
|
QHeaderView::section { /* Table Header Sections */ |
||||
|
qproperty-alignment:center; |
||||
|
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.25, stop: 0 #333, stop: 1 #111); |
||||
|
color:#fff; |
||||
|
min-height:25px; |
||||
|
font-weight:bold; |
||||
|
font-size:12px; |
||||
|
outline:0; |
||||
|
border:1px ridge #222; |
||||
|
padding: 2px 5px; |
||||
|
} |
||||
|
|
||||
|
QHeaderView::section:last { |
||||
|
border-right: 0px ridge #222; |
||||
|
} |
||||
|
|
||||
|
QScrollArea { |
||||
|
background:transparent; |
||||
|
border:0px; |
||||
|
} |
||||
|
|
||||
|
QTableView { /* Table - has to be selected as a class otherwise it throws off QCalendarWidget */ |
||||
|
background:#111; |
||||
|
} |
||||
|
|
||||
|
QTableView::item { /* Table Item */ |
||||
|
background-color:#111; |
||||
|
border:1px solid #222; |
||||
|
font-size:12px; |
||||
|
} |
||||
|
|
||||
|
QTableView::item:selected { /* Table Item Selected */ |
||||
|
background-color:#fff; |
||||
|
color:#000; |
||||
|
} |
||||
|
|
||||
|
QMenuBar { |
||||
|
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.25, stop: 0 #222, stop: 1 #111); |
||||
|
color: #fff; |
||||
|
} |
||||
|
|
||||
|
QMenuBar::item { |
||||
|
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.25, stop: 0 #222, stop: 1 #111); |
||||
|
color: #fff; |
||||
|
padding: 5px 7px; |
||||
|
margin: 0px; |
||||
|
} |
||||
|
|
||||
|
QMenuBar::item:selected { |
||||
|
background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 0.25, stop: 0 #333, stop: 1 #111); |
||||
|
} |
||||
|
|
||||
|
QMenu { |
||||
|
border:1px solid #222; |
||||
|
} |
||||
|
|
||||
|
QMenu::item { |
||||
|
padding: 7px 15px; |
||||
|
} |
||||
|
|
||||
|
QMenu::item:selected { |
||||
|
background: #222; |
||||
|
} |
||||
|
|
||||
|
QMenu::separator { |
||||
|
height: 1px; |
||||
|
margin: 3px 7px 3px 7px; /* space at ends of separator */ |
||||
|
background: #222; |
||||
|
} |
After Width: | Height: | Size: 406 KiB |
After Width: | Height: | Size: 1.0 MiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 406 KiB |
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
File diff suppressed because it is too large
Binary file not shown.
Binary file not shown.
@ -0,0 +1,78 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<ui version="4.0"> |
||||
|
<class>ViewKey</class> |
||||
|
<widget class="QDialog" name="ViewKey"> |
||||
|
<property name="geometry"> |
||||
|
<rect> |
||||
|
<x>0</x> |
||||
|
<y>0</y> |
||||
|
<width>461</width> |
||||
|
<height>389</height> |
||||
|
</rect> |
||||
|
</property> |
||||
|
<property name="windowTitle"> |
||||
|
<string>Viewing Key</string> |
||||
|
</property> |
||||
|
<layout class="QGridLayout" name="gridLayout"> |
||||
|
<item row="1" column="0"> |
||||
|
<widget class="QPlainTextEdit" name="viewKeyTxt"> |
||||
|
<property name="plainText"> |
||||
|
<string/> |
||||
|
</property> |
||||
|
</widget> |
||||
|
</item> |
||||
|
<item row="2" column="0"> |
||||
|
<widget class="QDialogButtonBox" name="buttonBox"> |
||||
|
<property name="orientation"> |
||||
|
<enum>Qt::Horizontal</enum> |
||||
|
</property> |
||||
|
<property name="standardButtons"> |
||||
|
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok|QDialogButtonBox::Save</set> |
||||
|
</property> |
||||
|
</widget> |
||||
|
</item> |
||||
|
<item row="0" column="0"> |
||||
|
<widget class="QLabel" name="helpLbl"> |
||||
|
<property name="text"> |
||||
|
<string notr="true">Viewing Keys. Keep Secure!</string> |
||||
|
</property> |
||||
|
</widget> |
||||
|
</item> |
||||
|
</layout> |
||||
|
</widget> |
||||
|
<resources/> |
||||
|
<connections> |
||||
|
<connection> |
||||
|
<sender>buttonBox</sender> |
||||
|
<signal>accepted()</signal> |
||||
|
<receiver>ViewKey</receiver> |
||||
|
<slot>accept()</slot> |
||||
|
<hints> |
||||
|
<hint type="sourcelabel"> |
||||
|
<x>248</x> |
||||
|
<y>254</y> |
||||
|
</hint> |
||||
|
<hint type="destinationlabel"> |
||||
|
<x>157</x> |
||||
|
<y>274</y> |
||||
|
</hint> |
||||
|
</hints> |
||||
|
</connection> |
||||
|
<connection> |
||||
|
<sender>buttonBox</sender> |
||||
|
<signal>rejected()</signal> |
||||
|
<receiver>ViewKey</receiver> |
||||
|
<slot>reject()</slot> |
||||
|
<hints> |
||||
|
<hint type="sourcelabel"> |
||||
|
<x>316</x> |
||||
|
<y>260</y> |
||||
|
</hint> |
||||
|
<hint type="destinationlabel"> |
||||
|
<x>286</x> |
||||
|
<y>274</y> |
||||
|
</hint> |
||||
|
</hints> |
||||
|
</connection> |
||||
|
</connections> |
||||
|
</ui> |
Loading…
Reference in new issue