summaryrefslogtreecommitdiff
path: root/res/skin
diff options
context:
space:
mode:
authoriroul <iroul@iroul-VirtualBox.(none)>2014-04-04 07:35:14 -0700
committeriroul <iroul@iroul-VirtualBox.(none)>2014-04-04 07:35:14 -0700
commitafd34f2893a06a3aecf17e8e83b1df6ed2ae91a2 (patch)
tree851102abc55d91a1b76e63e9e89f9a7733da95b5 /res/skin
parentc4b028ad53f7b362a864de24828d7cc39ff67b0a (diff)
downloadfqterm-afd34f2893a06a3aecf17e8e83b1df6ed2ae91a2.tar.xz
move to my github.
Diffstat (limited to 'res/skin')
-rw-r--r--res/skin/dpstyle/ReadMe.txt5
-rw-r--r--res/skin/dpstyle/dpstyle.qss203
-rw-r--r--res/skin/dpstyle/image/checkbox_checked.pngbin0 -> 263 bytes
-rw-r--r--res/skin/dpstyle/image/checkbox_checked_hover.pngbin0 -> 266 bytes
-rw-r--r--res/skin/dpstyle/image/checkbox_checked_pressed.pngbin0 -> 425 bytes
-rw-r--r--res/skin/dpstyle/image/checkbox_unchecked.pngbin0 -> 159 bytes
-rw-r--r--res/skin/dpstyle/image/checkbox_unchecked_hover.pngbin0 -> 159 bytes
-rw-r--r--res/skin/dpstyle/image/checkbox_unchecked_pressed.pngbin0 -> 320 bytes
-rw-r--r--res/skin/dpstyle/image/down_arrow.pngbin0 -> 175 bytes
-rw-r--r--res/skin/dpstyle/image/down_arrow_disabled.pngbin0 -> 174 bytes
-rw-r--r--res/skin/dpstyle/image/frame.pngbin0 -> 253 bytes
-rw-r--r--res/skin/dpstyle/image/pagefold.pngbin0 -> 1545 bytes
-rw-r--r--res/skin/dpstyle/image/pushbutton.pngbin0 -> 533 bytes
-rw-r--r--res/skin/dpstyle/image/pushbutton_hover.pngbin0 -> 525 bytes
-rw-r--r--res/skin/dpstyle/image/pushbutton_pressed.pngbin0 -> 513 bytes
-rw-r--r--res/skin/dpstyle/image/radiobutton_checked.pngbin0 -> 355 bytes
-rw-r--r--res/skin/dpstyle/image/radiobutton_checked_hover.pngbin0 -> 532 bytes
-rw-r--r--res/skin/dpstyle/image/radiobutton_checked_pressed.pngbin0 -> 599 bytes
-rw-r--r--res/skin/dpstyle/image/radiobutton_unchecked.pngbin0 -> 240 bytes
-rw-r--r--res/skin/dpstyle/image/radiobutton_unchecked_hover.pngbin0 -> 492 bytes
-rw-r--r--res/skin/dpstyle/image/radiobutton_unchecked_pressed.pngbin0 -> 556 bytes
-rw-r--r--res/skin/dpstyle/image/sizegrip.pngbin0 -> 129 bytes
-rw-r--r--res/skin/dpstyle/image/spindown.pngbin0 -> 276 bytes
-rw-r--r--res/skin/dpstyle/image/spindown_hover.pngbin0 -> 268 bytes
-rw-r--r--res/skin/dpstyle/image/spindown_off.pngbin0 -> 249 bytes
-rw-r--r--res/skin/dpstyle/image/spindown_pressed.pngbin0 -> 264 bytes
-rw-r--r--res/skin/dpstyle/image/spinup.pngbin0 -> 283 bytes
-rw-r--r--res/skin/dpstyle/image/spinup_hover.pngbin0 -> 277 bytes
-rw-r--r--res/skin/dpstyle/image/spinup_off.pngbin0 -> 274 bytes
-rw-r--r--res/skin/dpstyle/image/spinup_pressed.pngbin0 -> 277 bytes
-rw-r--r--res/skin/dpstyle/image/up_arrow.pngbin0 -> 197 bytes
-rw-r--r--res/skin/dpstyle/image/up_arrow_disabled.pngbin0 -> 172 bytes
32 files changed, 208 insertions, 0 deletions
diff --git a/res/skin/dpstyle/ReadMe.txt b/res/skin/dpstyle/ReadMe.txt
new file mode 100644
index 0000000..bc3e2ed
--- /dev/null
+++ b/res/skin/dpstyle/ReadMe.txt
@@ -0,0 +1,5 @@
+dp"随便"做的style sheet
+基本包括了所有的可定制元素
+请先将.qss文件中的各处image路径改为本机上的路径
+然后在偏好中选择.qss文件
+如果将偏好中qss文件一项留空,则不会使用sytlesheet,也不会占用任何资源。
diff --git a/res/skin/dpstyle/dpstyle.qss b/res/skin/dpstyle/dpstyle.qss
new file mode 100644
index 0000000..b3ad554
--- /dev/null
+++ b/res/skin/dpstyle/dpstyle.qss
@@ -0,0 +1,203 @@
+QMenuBar {
+spacing: 10px;
+background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 white, stop : 0.5 gray, stop : 1 black);
+border : 1px outset;
+}
+QMenuBar::item {
+color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+background: transparent;
+}
+
+QMenuBar::item:selected {
+border-radius: 3px;
+border: 2px outset gray;
+color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray);
+background : rgba(200, 200, 200, 150);}
+
+QMenuBar::item:pressed {
+border-radius: 3px;
+border: 2px inset gray;
+color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray);
+background : rgba(100, 100, 100, 150);}
+
+ QMenu {
+ background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+
+ }
+
+ QMenu::item {
+ padding: 2px 25px 2px 20px;
+ border: 1px solid transparent; /* reserve space for selection border */
+ background : rgba(200,200,200,100);
+ color : rgb(40,40,40);
+ }
+
+ QMenu::item:disabled {
+ padding: 2px 25px 2px 20px;
+ border: 1px solid transparent; /* reserve space for selection border */
+ background : rgba(200,200,200,100);
+ color : rgb(200,200,200);
+ }
+
+ QMenu::item:selected {
+ color : rgb(200,200,200);
+ border-radius: 2px;
+ border: 1px outset gray;
+ background: rgba(100, 100, 100, 150);
+ }
+
+ QMenu::icon:checked {
+ border: 1px inset gray;
+ position: absolute;
+ top: 1px;
+ right: 1px;
+ bottom: 1px;
+ left: 1px;
+ }
+
+ QMenu::separator {
+ height: 2px;
+ background: rgb(40,40,40);
+ margin-left: 10px;
+ margin-right: 5px;
+ }
+
+ QMenu::indicator {
+ width: 13px;
+ height: 13px;
+ }
+
+ QMenu::indicator:non-exclusive:unchecked {
+ image: url(C:/Users/Iroul/Desktop/images/checkbox_unchecked.png);
+ }
+
+ QMenu::indicator:non-exclusive:unchecked:selected {
+ image: url(C:/Users/Iroul/Desktop/images/checkbox_unchecked_hover.png);
+ }
+
+ QMenu::indicator:non-exclusive:checked {
+ image: url(C:/Users/Iroul/Desktop/images/checkbox_checked.png);
+ }
+
+ QMenu::indicator:non-exclusive:checked:selected {
+ image: url(C:/Users/Iroul/Desktop/images/checkbox_checked_hover.png);
+ }
+
+ /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
+ QMenu::indicator:exclusive:unchecked {
+ image: url(C:/Users/Iroul/Desktop/images/radiobutton_unchecked.png);
+ }
+
+ QMenu::indicator:exclusive:unchecked:selected {
+ image: url(C:/Users/Iroul/Desktop/images/radiobutton_unchecked_hover.png);
+ }
+
+ QMenu::indicator:exclusive:checked {
+ image: url(C:/Users/Iroul/Desktop/images/radiobutton_checked.png);
+ }
+
+ QMenu::indicator:exclusive:checked:selected {
+ image: url(C:/Users/Iroul/Desktop/images/radiobutton_checked_hover.png);
+ }
+QToolBar {
+background-color : gray;
+border : 1px inset;
+}
+
+QToolBar:first {
+background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 white,stop : 1 gray);
+border : 1px inset;
+}
+QToolBar:middle {
+background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 gray,stop : 1 gray);
+border : 1px inset;
+}
+QToolBar:last {
+background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 gray,stop : 1 black);
+border : 1px inset;
+}
+
+QToolBar:only-one {
+background-color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0.0 white,stop : 1 black);
+border : 1px inset;
+}
+QToolBar QToolButton {
+background : transparent;
+border : 2px outset transparent;
+border-radius : 3px;
+margin : 2px;
+}
+QToolBar QToolButton:hover {
+background-color : rgba(200,200,200,150);
+border : 2px outset gray;
+border-radius : 3px;
+}
+QToolBar QToolButton:pressed {
+background-color : rgba(200,200,200,150);
+border : 2px inset gray;
+border-radius : 3px;
+}
+QToolBar QToolButton:checked {
+background-color : rgba(200,200,200,150);
+border : 2px inset gray;
+border-radius : 3px;
+}
+ QTabWidget::pane { /* The tab widget frame */
+ border-top: 2px solid #C2C7CB;
+ background : blue;
+ border-color: #9B9B9B;
+ border-bottom-color: #C2C7CB; /* same as pane color */
+ }
+
+ QTabWidget::tab-bar {
+ background : blue;
+ left: 5px; /* move to the right by 5px */
+ }
+
+ QTabWidget {
+ background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+ }
+ QTabBar {
+ background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+ }
+ /* Style the tab using the tab sub-control. Note that
+ it reads QTabBar _not_ QTabWidget */
+ QTabBar::tab {
+ border: 2px solid #C4C4C3;
+ border-bottom-color: #C2C7CB; /* same as the pane color */
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ min-width: 8ex;
+ padding: 2px;
+ }
+
+ QTabBar::tab:hover {
+ color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray);
+ background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+ border-color: #9B9B9B;
+ border-bottom-color: #C2C7CB; /* same as pane color */
+ }
+
+ QTabBar::tab:selected {
+ color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray);
+ background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+ border-color: #9B9B9B;
+ border-bottom-color: #C2C7CB; /* same as pane color */
+ }
+
+ QTabBar::tab:!selected {
+ margin-top: 2px; /* make non-selected tabs look smaller */
+ background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 gray, stop: 0.1 black,stop: 0.2 gray, stop: 0.3 white, stop: 0.4 gray, stop: 0.5 black, stop: 0.6 gray,stop: 0.7 white, stop: 0.8 gray, stop: 0.9 black, stop: 1.0 gray);
+ color : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+
+ }
+ QStatusBar {
+ background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+ }
+
+QWidget#taskbar {
+ background : transparent;
+}
+#tasklayout {
+ background : qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0.0 black,stop: 0.1 gray, stop: 0.2 white, stop: 0.3 gray, stop: 0.4 black, stop: 0.5 gray,stop: 0.6 white, stop: 0.7 gray, stop: 0.8 black, stop: 0.9 gray, stop: 1.0 white);
+} \ No newline at end of file
diff --git a/res/skin/dpstyle/image/checkbox_checked.png b/res/skin/dpstyle/image/checkbox_checked.png
new file mode 100644
index 0000000..cbf06f6
--- /dev/null
+++ b/res/skin/dpstyle/image/checkbox_checked.png
Binary files differ
diff --git a/res/skin/dpstyle/image/checkbox_checked_hover.png b/res/skin/dpstyle/image/checkbox_checked_hover.png
new file mode 100644
index 0000000..fb4d4d3
--- /dev/null
+++ b/res/skin/dpstyle/image/checkbox_checked_hover.png
Binary files differ
diff --git a/res/skin/dpstyle/image/checkbox_checked_pressed.png b/res/skin/dpstyle/image/checkbox_checked_pressed.png
new file mode 100644
index 0000000..852fcc0
--- /dev/null
+++ b/res/skin/dpstyle/image/checkbox_checked_pressed.png
Binary files differ
diff --git a/res/skin/dpstyle/image/checkbox_unchecked.png b/res/skin/dpstyle/image/checkbox_unchecked.png
new file mode 100644
index 0000000..5f54655
--- /dev/null
+++ b/res/skin/dpstyle/image/checkbox_unchecked.png
Binary files differ
diff --git a/res/skin/dpstyle/image/checkbox_unchecked_hover.png b/res/skin/dpstyle/image/checkbox_unchecked_hover.png
new file mode 100644
index 0000000..6873644
--- /dev/null
+++ b/res/skin/dpstyle/image/checkbox_unchecked_hover.png
Binary files differ
diff --git a/res/skin/dpstyle/image/checkbox_unchecked_pressed.png b/res/skin/dpstyle/image/checkbox_unchecked_pressed.png
new file mode 100644
index 0000000..6a768c4
--- /dev/null
+++ b/res/skin/dpstyle/image/checkbox_unchecked_pressed.png
Binary files differ
diff --git a/res/skin/dpstyle/image/down_arrow.png b/res/skin/dpstyle/image/down_arrow.png
new file mode 100644
index 0000000..85004ae
--- /dev/null
+++ b/res/skin/dpstyle/image/down_arrow.png
Binary files differ
diff --git a/res/skin/dpstyle/image/down_arrow_disabled.png b/res/skin/dpstyle/image/down_arrow_disabled.png
new file mode 100644
index 0000000..d9eefed
--- /dev/null
+++ b/res/skin/dpstyle/image/down_arrow_disabled.png
Binary files differ
diff --git a/res/skin/dpstyle/image/frame.png b/res/skin/dpstyle/image/frame.png
new file mode 100644
index 0000000..05a6005
--- /dev/null
+++ b/res/skin/dpstyle/image/frame.png
Binary files differ
diff --git a/res/skin/dpstyle/image/pagefold.png b/res/skin/dpstyle/image/pagefold.png
new file mode 100644
index 0000000..69be8f2
--- /dev/null
+++ b/res/skin/dpstyle/image/pagefold.png
Binary files differ
diff --git a/res/skin/dpstyle/image/pushbutton.png b/res/skin/dpstyle/image/pushbutton.png
new file mode 100644
index 0000000..c7529ba
--- /dev/null
+++ b/res/skin/dpstyle/image/pushbutton.png
Binary files differ
diff --git a/res/skin/dpstyle/image/pushbutton_hover.png b/res/skin/dpstyle/image/pushbutton_hover.png
new file mode 100644
index 0000000..af0ef9d
--- /dev/null
+++ b/res/skin/dpstyle/image/pushbutton_hover.png
Binary files differ
diff --git a/res/skin/dpstyle/image/pushbutton_pressed.png b/res/skin/dpstyle/image/pushbutton_pressed.png
new file mode 100644
index 0000000..f7381f7
--- /dev/null
+++ b/res/skin/dpstyle/image/pushbutton_pressed.png
Binary files differ
diff --git a/res/skin/dpstyle/image/radiobutton_checked.png b/res/skin/dpstyle/image/radiobutton_checked.png
new file mode 100644
index 0000000..8ab9157
--- /dev/null
+++ b/res/skin/dpstyle/image/radiobutton_checked.png
Binary files differ
diff --git a/res/skin/dpstyle/image/radiobutton_checked_hover.png b/res/skin/dpstyle/image/radiobutton_checked_hover.png
new file mode 100644
index 0000000..d68cb00
--- /dev/null
+++ b/res/skin/dpstyle/image/radiobutton_checked_hover.png
Binary files differ
diff --git a/res/skin/dpstyle/image/radiobutton_checked_pressed.png b/res/skin/dpstyle/image/radiobutton_checked_pressed.png
new file mode 100644
index 0000000..e3cd5a5
--- /dev/null
+++ b/res/skin/dpstyle/image/radiobutton_checked_pressed.png
Binary files differ
diff --git a/res/skin/dpstyle/image/radiobutton_unchecked.png b/res/skin/dpstyle/image/radiobutton_unchecked.png
new file mode 100644
index 0000000..321a9a1
--- /dev/null
+++ b/res/skin/dpstyle/image/radiobutton_unchecked.png
Binary files differ
diff --git a/res/skin/dpstyle/image/radiobutton_unchecked_hover.png b/res/skin/dpstyle/image/radiobutton_unchecked_hover.png
new file mode 100644
index 0000000..666a3b0
--- /dev/null
+++ b/res/skin/dpstyle/image/radiobutton_unchecked_hover.png
Binary files differ
diff --git a/res/skin/dpstyle/image/radiobutton_unchecked_pressed.png b/res/skin/dpstyle/image/radiobutton_unchecked_pressed.png
new file mode 100644
index 0000000..c4b0567
--- /dev/null
+++ b/res/skin/dpstyle/image/radiobutton_unchecked_pressed.png
Binary files differ
diff --git a/res/skin/dpstyle/image/sizegrip.png b/res/skin/dpstyle/image/sizegrip.png
new file mode 100644
index 0000000..350583a
--- /dev/null
+++ b/res/skin/dpstyle/image/sizegrip.png
Binary files differ
diff --git a/res/skin/dpstyle/image/spindown.png b/res/skin/dpstyle/image/spindown.png
new file mode 100644
index 0000000..7ff3c64
--- /dev/null
+++ b/res/skin/dpstyle/image/spindown.png
Binary files differ
diff --git a/res/skin/dpstyle/image/spindown_hover.png b/res/skin/dpstyle/image/spindown_hover.png
new file mode 100644
index 0000000..1486c4d
--- /dev/null
+++ b/res/skin/dpstyle/image/spindown_hover.png
Binary files differ
diff --git a/res/skin/dpstyle/image/spindown_off.png b/res/skin/dpstyle/image/spindown_off.png
new file mode 100644
index 0000000..a90ab3f
--- /dev/null
+++ b/res/skin/dpstyle/image/spindown_off.png
Binary files differ
diff --git a/res/skin/dpstyle/image/spindown_pressed.png b/res/skin/dpstyle/image/spindown_pressed.png
new file mode 100644
index 0000000..f6271cb
--- /dev/null
+++ b/res/skin/dpstyle/image/spindown_pressed.png
Binary files differ
diff --git a/res/skin/dpstyle/image/spinup.png b/res/skin/dpstyle/image/spinup.png
new file mode 100644
index 0000000..1069dd0
--- /dev/null
+++ b/res/skin/dpstyle/image/spinup.png
Binary files differ
diff --git a/res/skin/dpstyle/image/spinup_hover.png b/res/skin/dpstyle/image/spinup_hover.png
new file mode 100644
index 0000000..884c8d7
--- /dev/null
+++ b/res/skin/dpstyle/image/spinup_hover.png
Binary files differ
diff --git a/res/skin/dpstyle/image/spinup_off.png b/res/skin/dpstyle/image/spinup_off.png
new file mode 100644
index 0000000..02dad1f
--- /dev/null
+++ b/res/skin/dpstyle/image/spinup_off.png
Binary files differ
diff --git a/res/skin/dpstyle/image/spinup_pressed.png b/res/skin/dpstyle/image/spinup_pressed.png
new file mode 100644
index 0000000..b1843e2
--- /dev/null
+++ b/res/skin/dpstyle/image/spinup_pressed.png
Binary files differ
diff --git a/res/skin/dpstyle/image/up_arrow.png b/res/skin/dpstyle/image/up_arrow.png
new file mode 100644
index 0000000..e7f7ddb
--- /dev/null
+++ b/res/skin/dpstyle/image/up_arrow.png
Binary files differ
diff --git a/res/skin/dpstyle/image/up_arrow_disabled.png b/res/skin/dpstyle/image/up_arrow_disabled.png
new file mode 100644
index 0000000..4d2c277
--- /dev/null
+++ b/res/skin/dpstyle/image/up_arrow_disabled.png
Binary files differ