ui: style search view

Added stylesheet for search view.
Added utility function that loads all font files inside a folder.
Added icons and font files.
This commit is contained in:
malte_langkabel
2014-07-15 12:30:40 +02:00
parent bbe5874a89
commit 61cb4afd91
16 changed files with 150 additions and 16 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -0,0 +1,37 @@
QLineEdit#search_box {
background: rgb(204, 204, 204);
border: 0px;
height: 26px;
padding: 0 4px;
selection-background-color: rgb(51, 51, 51);
font-family: "Source Code Pro";
font-size: 16px;
font-weight: bold;
}
QAbstractItemView#search_box_popup {
selection-background-color: rgb(51, 51, 51);
font-family: "Source Code Pro";
font-size: 14px;
font-weight: bold;
}
QPushButton#search_button {
border: 0px;
border-image: url(data/gui/search_view/images/button_search.png);
height: 26px;
height: 26px;
}
QPushButton#case_sensitive_button {
border-image: url(data/gui/search_view/images/button_case_sensitive_inactive.png);
border: 0px;
height: 26px;
height: 26px;
margin-left: 4px;
margin-right: 4px;
}
QPushButton#case_sensitive_button:checked {
border-image: url(data/gui/search_view/images/button_case_sensitive_active.png);
}
@@ -0,0 +1,37 @@
QLineEdit#search_box {
background: rgb(204, 204, 204);
border: 0px;
height: 26px;
padding: 0 4px;
selection-background-color: rgb(51, 51, 51);
font-family: "Source Code Pro";
font-size: 16px;
font-weight: bold;
}
QAbstractItemView#search_box_popup {
selection-background-color: rgb(51, 51, 51);
font-family: "Source Code Pro";
font-size: 14px;
font-weight: bold;
}
QPushButton#search_button {
border: 0px;
border-image: url(data/gui/search_view/images/button_search.png);
height: 26px;
height: 26px;
}
QPushButton#case_sensitive_button {
border-image: url(data/gui/search_view/images/button_case_sensitive_inactive.png);
border: 0px;
height: 26px;
height: 26px;
margin-left: 4px;
margin-right: 4px;
}
QPushButton#case_sensitive_button:checked {
border-image: url(data/gui/search_view/images/button_case_sensitive_active.png);
}