/* R1 */
QDialog {
background-image: url(:/images/background.png);
} /* R2 */
QLabel {
font: 9pt;
color: rgb(, , );
} /* R3 */
QComboBox:editable,
QLineEdit,
QListView {
color: rgb(, , );
background-color: rgb(, , );
selection-color: white;
selection-background-color: rgb(, , );
border: 2px groove gray;
border-radius: 10px;
padding: 2px 4px;
} /* R4 */
QListView {
padding: 5px 4px;
} /* R5 */
QComboBox:!editable,
QPushButton {
color: white;
font: bold 10pt;
border-image: url(:/images/button.png) ;
border-width: 16px;
padding: -16px 0px;
min-height: 32px;
min-width: 60px;
} /* R6 */
QComboBox:!editable:hover,
QComboBox::drop-down:editable:hover,
QPushButton:hover {
border-image: url(:/images/button-hover.png) ;
} /* R7 */
QComboBox:!editable:on,
QPushButton:pressed {
color: lightgray;
border-image: url(:/images/button-pressed.png) ;
padding-top: -15px;
padding-bottom: -17px;
} /* R8 */
QComboBox::down-arrow {
image: url(:/images/down-arrow.png);
} /* R9 */
QComboBox::down-arrow:on {
top: 1px;
} /* R10 */
QComboBox * {
font: 9pt;
} /* R11 */
QComboBox::drop-down:!editable {
subcontrol-origin: padding;
subcontrol-position: center right;
width: 11px;
height: 6px;
background: none;
} /* === Shared === */
QStackedWidget, QLabel, QPushButton, QRadioButton, QCheckBox,
QGroupBox, QStatusBar, QToolButton, QComboBox, QDialog {
background-color: #;
color: #BBBBBB;
font-family: "Segoe UI";
} /* === QWidget === */
QWidget:window {
background: #;
color: #BBBBBB;
font-family: "Segoe UI";
} /* === QToolTip === */
QToolTip {
background-color: #;
border: 2px solid #;
color: yellow;
} /* === QPushButton === */
QPushButton {
border: 1px solid #;
padding: 4px;
min-width: 65px;
min-height: 12px;
} QPushButton:hover {
background-color: #;
border-color: #;
} QPushButton:pressed {
background-color: #;
border-color: #;
color: yellow;
} QPushButton:disabled {
color: #;
} /* === Checkable items === */
QCheckBox::indicator, QRadioButton::indicator, QTreeView::indicator {
width: 16px;
height: 16px;
background-color: #;
border: 1px solid #;
} QRadioButton::indicator {
border-radius: 8px;
} QCheckBox::indicator::checked, QRadioButton::indicator::checked, QTreeView::indicator::checked {
background-color: qradialgradient(cx:0.5, cy:0.5, fx:0.25, fy:0.15, radius:0.3, stop: #BBBBBB, stop: #);
} QCheckBox::indicator:disabled, QRadioButton::indicator:disabled, QTreeView::indicator:disabled {
background-color: #;
} QCheckBox::indicator::checked:disabled, QRadioButton::indicator::checked:disabled, QTreeView::indicator::checked:disabled {
background-color: qradialgradient(cx:0.5, cy:0.5, fx:0.25, fy:0.15, radius:0.3, stop: #BBBBBB, stop: #);
} /* === QComboBox === */
QComboBox {
background-color: black;
border: 1px solid #;
color: white;
padding:1px 2em 1px 3px;
} QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
border-left: 1px solid #;
} QComboBox::down-arrow {
border: 2px solid #;
width: 6px;
height: 6px;
background: #5f5f5f;
} /* === QGroupBox === */
QGroupBox {
border: 2px solid #;
margin-top: 2ex;
} QGroupBox::title {
color: yellow;
subcontrol-origin: margin;
subcontrol-position: top left;
margin-left: 5px;
} /* === QTabWidget === */
QTabWidget::pane {
background: #;
border: 2px solid #;
} /* === QTabBar === */
QTabBar::tab {
background: transparent;
border: 1px solid #;
border-bottom: none;
color: #BBBBBB;
padding-left: 5px;
padding-right: 10px;
padding-top: 3px;
padding-bottom: 3px;
} QTabBar::tab:hover {
background-color: #;
border: 1px solid #;
border-bottom: none;
} QTabBar::tab:selected {
background-color: #;
border: 1px solid #;
border-top: 1px solid yellow;
border-bottom: none;
color: yellow
} /* === QToolBar === */
QToolBar {
background-color: #;
border: none;
padding: 1px;
} QToolBar:handle {
background: #;
border-left: 1px dotted yellow;
color: #BBBBBB;
} QToolBar::separator {
width: 6px;
background-color: #;
} /* === QToolButton === */
QToolButton {
border: 1px solid #;
margin: 1px;
} QToolButton:hover {
background-color: #;
border: 1px solid #;
} QToolButton[popupMode=""] { /* only for MenuButtonPopup */
padding-right: 20px; /* make way for the popup button */
} QToolButton::menu-button {
border-left: 1px solid #;
background: transparent;
width: 16px;
} QToolButton::menu-button:hover {
border-left: 1px solid #;
background: transparent;
width: 16px;
} QToolButton:checked, QToolButton:pressed {
background-color: #;
color: yellow;
} /* === QMenu === */
QMenu {
background-color: black;
border: 1px solid gray;
color: white;
padding: 1px;
} QMenu::item {
padding: 2px 25px 2px 20px;
border: 1px solid transparent;
} QMenu::item:disabled {
color: #;
} QMenu::item:selected {
border-color: gray;
background: #;
} QMenu::icon:checked { } QMenu::separator {
height: 1px;
background: #;
margin-left: 10px;
margin-right: 10px;
margin-top: 1px;
margin-bottom: 1px;
} QMenu::indicator {
width: 13px;
height: 13px;
} /* === QMenuBar === */
QMenuBar {
background-color: black;
color: white;
} QMenuBar::item {
background: transparent;
} QMenuBar::item:disabled {
color: gray;
} QMenuBar::item:selected {
background: #;
} QMenuBar::item:pressed {
background: #;
} /* === QScrollBar:vertical === */
QScrollBar:vertical {
background: #;
width: 16px;
margin: 16px 16px ;
} QScrollBar::handle:vertical {
background: #;
min-height: 16px;
} QScrollBar::add-line:vertical {
background: #;
height: 16px;
subcontrol-position: bottom;
subcontrol-origin: margin;
} QScrollBar::sub-line:vertical {
background: #;
height: 16px;
subcontrol-position: top;
subcontrol-origin: margin;
} QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: none;
} QScrollBar:up-arrow:vertical, QScrollBar:down-arrow:vertical {
border: 2px solid #;
width: 6px;
height: 6px;
background: #5f5f5f;
} /* === QScrollBar:horizontal === */
QScrollBar:horizontal {
background: #;
height: 16px;
margin: 16px 16px;
} QScrollBar::handle:horizontal {
background: #;
min-width: 16px;
} QScrollBar::add-line:horizontal {
background: #;
width: 16px;
subcontrol-position: right;
subcontrol-origin: margin;
} QScrollBar::sub-line:horizontal {
background: #;
width: 16px;
subcontrol-position: left;
subcontrol-origin: margin;
} QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
background: none;
} QScrollBar:left-arrow:horizontal, QScrollBar:right-arrow:horizontal {
border: 2px solid #;
width: 6px;
height: 6px;
background: #5f5f5f;
} /* =================== */
QLineEdit, QListView, QTreeView, QTableView, QAbstractSpinBox {
background-color: black;
color: #BBBBBB;
border: 1px solid #;
} QAbstractScrollArea, QLineEdit, QTextEdit, QAbstractSpinBox, QComboBox {
border-color: #;
border: 1px solid #; } /* === QHeaderView === */
QHeaderView::section {
background: #;
border: ;
color: #BBBBBB;
padding: 3px 3px 4px;
} /* === QListView === */
QListView::item:hover {
background: #;
} QListView::item:selected {
background: #;
color: yellow;
} /* === QTableView === */
QTableView::item:hover {
background: #;
} QTableView::item:hover {
background: #;
color: yellow;
} /* === QTreeView === */
QTreeView::item {
background: black;
} QTreeView::item:hover {
background: #;
} QTreeView::item:selected {
background: #;
color: yellow;
} QTreeView::branch { } QTreeView::branch:has-siblings:adjoins-item { } QTreeView::branch:has-siblings:!adjoins-item { } QTreeView::branch:closed:has-children:has-siblings { } QTreeView::branch:has-children:!has-siblings:closed { } QTreeView::branch:!has-children:!has-siblings:adjoins-item { } QTreeView::branch:open:has-children:has-siblings { } QTreeView::branch:open:has-children:!has-siblings { } /* === Customizations === */
QFrame#infoLabel {
border: 1px inset #;
}
.
.QWidget {
background-color: beige;
} QToolBar {
background-color: beige;
} QDialog, QFileDialog {
background-color: beige;
} QTabWidget::pane { /* The tab widget frame */
border-top: 2px solid #C2C7CB;
} QTabWidget::tab-bar {
left: 5px; /* move to the right by 5px */
} QTabBar, QTabWidget {
background-color: beige;
}
QTabBar::tab {
background: qlineargradient(x1: , y1: , x2: , y2: ,
stop: #E1E1E1, stop: 0.4 #DDDDDD,
stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
border: 1px solid darkkhaki;
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:selected, QTabBar::tab:hover {
background: qlineargradient(x1: , y1: , x2: , y2: ,
stop: #fafafa, stop: 0.4 #f4f4f4,
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
} QTabBar::tab:selected {
border-color: #9B9B9B;
border-bottom-color: #C2C7CB; /* same as pane color */
} QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
} /* Nice Windows-XP-style password character. */
QLineEdit[echoMode=""] {
lineedit-password-character: ;
} QHeaderView::section {
background-color: qlineargradient(x1:, y1:, x2:, y2:,
stop: #, stop: 0.5 #,
stop: 0.6 #, stop: #);
color: white;
padding-left: 4px;
border: 1px solid #6c6c6c;
} QHeaderView::section:checked
{
background-color: red;
} /* We provide a min-width and min-height for push buttons
so that they look elegant regardless of the width of the text. */
QPushButton {
background-color: palegoldenrod;
border-width: 2px;
border-color: darkkhaki;
border-style: solid;
border-radius: ;
padding: 3px;
min-width: 9ex;
min-height: .5ex;
} QPushButton:hover {
background-color: khaki;
} /* Increase the padding, so the text is shifted when the button is
pressed. */
QPushButton:pressed {
padding-left: 5px;
padding-top: 5px;
background-color: #d0d67c;
} QLabel, QAbstractButton {
font: bold;
} /* Mark mandatory fields with a brownish color. */
.mandatory {
color: brown;
} /* Bold text on status bar looks awful. */
QStatusBar QLabel {
font: normal;
} QStatusBar::item {
border-width: ;
border-color: darkkhaki;
border-style: solid;
border-radius: ;
} QStackedWidget, QComboBox, QLineEdit, QSpinBox, QTextEdit, QListView, QWebView, QTreeView, QHeaderView {
background-color: cornsilk;
selection-color: #0a214c;
selection-background-color: #C19A6B;
} QListView {
show-decoration-selected: ;
} QListView::item:hover {
background-color: wheat;
} /* We reserve 1 pixel space in padding. When we get the focus,
we kill the padding and enlarge the border. This makes the items
glow. */
QLineEdit, QFrame {
border-width: 1px;
padding: 1px;
border-style: solid;
border-color: darkkhaki;
border-radius: 5px;
} /* As mentioned above, eliminate the padding and increase the border. */
QLineEdit:focus, QFrame:focus {
border-width: 3px;
padding: 0px;
} /* A QLabel is a QFrame */
QLabel {
border: none;
padding: ;
background: none;
} /* A QToolTip is a QLabel */
QToolTip {
border: 2px solid darkkhaki;
padding: 5px;
border-radius: 3px;
opacity: ;
} /* Nice to have the background color change when hovered. */
QRadioButton:hover, QCheckBox:hover {
background-color: wheat;
} /* Force the dialog's buttons to follow the Windows guidelines. */
QDialogButtonBox {
button-layout: ;
} .
/*
Style by evilworks, 2012-2013. pollux@lavabit.com
This file is Public Domain.
*/ /* === Shared === */
QStackedWidget, QLabel, QPushButton, QRadioButton, QCheckBox,
QGroupBox, QStatusBar, QToolButton, QComboBox, QDialog, QTabBar {
font-family: "Segoe UI";
background-color: #;
color: #;
} /* === QWidget === */
QWidget:window {
font-family: 'Segoe UI';
background-color: #;
} /* === QPushButton === */
QPushButton {
border: 1px solid #;
padding: 4px;
min-width: 65px;
min-height: 12px;
} QPushButton:hover {
background-color: #;
} QPushButton:pressed {
background-color: #;
border-color: #;
color: #AAA;
} QPushButton:disabled {
color: #;
} /* === QComboBox === */
QComboBox {
background-color: #AAA;
border: 1px solid #;
color: black;
} QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
border-left: 1px solid #;
} /* === QGroupBox === */
QGroupBox {
border: 1px solid #;
margin-top: 2ex;
} QGroupBox::title {
color: black;
subcontrol-origin: margin;
subcontrol-position: top left;
border: 1px solid #;
} /* === QTabBar === */
QTabBar::tab {
border-bottom: none;
color: #;
padding: 4px;
background-color: #;
border: 1px solid #;
} QTabBar::tab:hover {
background-color: #AAA;
} QTabBar::tab:selected {
background-color: #;
color: white;
} /* === QTabWidget === */
QTabWidget::pane {
background: #;
border: 1px solid #;
} /* === QToolBar === */
QToolBar {
background: #;
border: none;
padding-left: 0px;
padding-right: 0px;
margin: 2px;
} QToolBar::separator {
width: 1px;
margin-left: 3px;
margin-right: 3px;
background-color: #;
} /* === QToolButton === */
QToolButton {
border: 1px solid #;
margin: 1px;
} QToolButton:hover {
background-color: #AAA;
} QToolButton[popupMode=""] { /* only for MenuButtonPopup */
padding-right: 20px; /* make way for the popup button */
} QToolButton::menu-button {
border-left: 1px solid #;
background: transparent;
width: 16px;
} QToolButton::menu-button:hover {
border-left: 1px solid #;
background: transparent;
width: 16px;
} QToolButton:checked, QToolButton:pressed {
background-color: #;
border: 1px solid #;
color: white;
} /* === QScrollBar:vertical === */
QScrollBar:vertical {
width: 16px;
margin: 16px 16px ;
background: #;
} QScrollBar::handle:vertical {
background: #;
min-height: 16px;
border-top: 1px solid #;
border-bottom: 1px solid #;
} QScrollBar::add-line:vertical {
background: #;
height: 16px;
subcontrol-position: bottom;
subcontrol-origin: margin;
} QScrollBar::sub-line:vertical {
background: #;
height: 16px;
subcontrol-position: top;
subcontrol-origin: margin;
} QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: none;
} /* === QScrollBar:horizontal === */
QScrollBar:horizontal {
height: 16px;
margin: 16px 16px;
background: #;
} QScrollBar::handle:horizontal {
background: #;
min-width: 16px;
border-left: 1px solid #;
border-right: 1px solid #;
} QScrollBar::add-line:horizontal {
background: #;
width: 16px;
subcontrol-position: right;
subcontrol-origin: margin;
} QScrollBar::sub-line:horizontal {
background: #;
width: 16px;
subcontrol-position: left;
subcontrol-origin: margin;
} QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
background: none;
} /* === QMenu === */
QMenu {
background-color: black;
border: 1px solid gray;
color: white;
padding: 1px;
} QMenu::item {
padding: 2px 25px 2px 20px;
border: 1px solid transparent;
} QMenu::item:disabled {
color: #;
} QMenu::item:selected {
border-color: gray;
background: #;
} QMenu::icon:checked { } QMenu::separator {
height: 1px;
background: #;
margin-left: 10px;
margin-right: 10px;
margin-top: 1px;
margin-bottom: 1px;
} QMenu::indicator {
width: 13px;
height: 13px;
} /* === QMenuBar === */
QMenuBar {
background-color: black;
color: white;
} QMenuBar::item {
background: transparent;
} QMenuBar::item:disabled {
color: gray;
} QMenuBar::item:selected {
background: #;
} QMenuBar::item:pressed {
background: #;
}
/* =================== */
QLineEdit, QListView, QTreeView, QTableView, QAbstractSpinBox {
background-color: #AAA;
color: #;
border: 1px solid #;
} QAbstractScrollArea, QLineEdit, QTextEdit, QAbstractSpinBox, QComboBox {
border: 1px solid #;
} /* === QHeaderView === */
QHeaderView::section {
height: 20px;
} QHeaderView::section {
background: #;
border: ;
color: #;
padding-left: 4px;
} /* === QListView === */
QListView::item:hover {
background: #AAA;
} QListView::item:selected {
background: #;
color: #AAA;
} /* === QTableView === */
QTableView::item:hover {
background: #;
} QTableView::item:hover {
background: #;
color: yellow;
} /* === QTreeView === */
QTreeView::item {
background: #AAA;
} QTreeView::item:hover {
background: #CCC;
} QTreeView::item:selected {
background: #;
color: #AAA;
}

48.自用qss的更多相关文章

  1. Qt &QSS

    Today task:解决了qt中的一些控件无法使用qss的问题(如QProgressDialog 调节chunk的颜色,QMessageBox按钮的颜色问题)1,对于QMessageBox,可以单独 ...

  2. Qt之QSS(黑色炫酷)

    简述 Qt助手中有关于各种部件的QSS详细讲解,资源很丰富,请参考:Qt Style Sheets Examples. 黑色炫酷 - 一款漂亮的QSS风格. 之前博客中分享了很多关于Qt的样式效果,几 ...

  3. QSS基础-设置控件样式

    1.QSS基础-设置同类控件样式'''QSS基础:Qt Style SheetQt样式表用于设置控件的样式和风格(比如控件的背景色,字体颜色,字体大小等)和CSS的功能比较相似,功能相似''' fro ...

  4. Assassin暗杀者-自用短小精悍的webshell管理工具分享

    Assassin Assassin是一款精简的基于命令行的webshell管理工具,它有着多种payload发送方式和编码方式,以及精简的payload代码,使得它成为隐蔽的暗杀者,难以被很好的防御. ...

  5. QT5 QSS QML界面美化视频课程系列 QT原理 项目实战 C++1X STL

    QT5 QSS QML界面美化视频课程系列 QT原理 项目实战 C++1X STL 课程1   C语言程序设计高级实用速成课程 基础+进阶+自学 课程2   C语言程序设计Windows GDI图形绘 ...

  6. 如约而至:微信自用的移动端IM网络层跨平台组件库Mars已正式开源

    1.前言 关于微信内部正在使用的网络层封装库Mars开源的消息,1个多月前就已满天飞(参见<微信Mars:微信内部正在使用的网络层封装库,即将开源>),不过微信团队没有失约,微信Mars ...

  7. QSS的应用

    1.在同一级别的widget中,如果指定widget有设置样式表,则在qss对该样式表的设置无效,对比验证: (StatusWidget未设置widget样式--运行截图) (StatusWidget ...

  8. From 202.97.60.193 icmp_seq=48 Time to live exceeded

    从浙江某电信ip的服务器上 ping 大陆外某个外网地址不通,报如下信息: From 202.97.60.193 icmp_seq=48 Time to live exceeded google,百度 ...

  9. 48. 二叉树两结点的最低共同父结点(3种变种情况)[Get lowest common ancestor of binary tree]

    [题目] 输入二叉树中的两个结点,输出这两个结点在数中最低的共同父结点. 二叉树的结点定义如下:  C++ Code  123456   struct BinaryTreeNode {     int ...

随机推荐

  1. 常用SQL函数

    —————常用SQL函数(实例简述)————— 数据库环境:DB2数据库: 执行工具:Toad for  DB2 1.转字符串:to_char() 日期类型:to_char(birthday,'yyy ...

  2. VHDL之std_logic_1164

    This packages defines a standard for designers to use in describing the interconnection data types u ...

  3. html 图片翻转

    var Lb = false; var Ub = false; function rotate(obj) { if (obj == "L") { if (Lb == false) ...

  4. centos7下安装python3 解决openssl等一系列问题

    最近折腾了下centos7,发现按正常方法安装python3.7后面会出现各种操蛋的问题. 主要的问题有三个,openssl版本过低,'_ctypes'缺失,以及安装后sqlite3缺失.下面我会贴出 ...

  5. vue2.0模拟锚点实现定位平滑滚动

    vue2.0模拟锚点实现定位平滑滚动 效果为点击哪一个标题,平滑滚动到具体的详情. 如果是传统项目,这个效果就非常简单.但是放到 Vue 中,就有两大难题: 1. 在没有 jQuery 的 anima ...

  6. 【转载】使用JSONObject生成和解析json

    1. json数据类型 类型 描述 Number 数字型 String 字符串型 Boolean 布尔型 Array 数组 Object 对象 null 空值 (1)json中不区分整数.小数等类型, ...

  7. eas之视图冻结与解冻

    // 冻结视图 table.getViewManager().freeze(verticalIndex, horizonIndex); //冻结视图:该方法在table还没显示的时候使用,也就是该方法 ...

  8. python 各个地方导航(方便查询,持续更新!)

    老男孩python全栈开发教程,武沛齐老师的知识点!:戳这里>>> 老男孩python全栈开发教程,linhaifeng老师的知识点!:戳这里>>> 老男孩pyth ...

  9. 洛谷P1601 A+B Problem(高精)

    题目描述 高精度加法,x相当于a+b problem,[b][color=red]不用考虑负数[/color][/b] 输入输出格式 输入格式: 分两行输入a,b<=10^500 输出格式: 输 ...

  10. mkdir:创建目录

    mkdir:命令 1.命令详解 [功能说明] mkdir命令是“make  directories”中每个单词的粗体字母组合而成,其功能是创建目录,默认情况下,如果要创建的目录已经存在,则会提示此文件 ...