Qt中漂亮的几款QSS.doc_第1页
Qt中漂亮的几款QSS.doc_第2页
Qt中漂亮的几款QSS.doc_第3页
Qt中漂亮的几款QSS.doc_第4页
Qt中漂亮的几款QSS.doc_第5页
已阅读5页,还剩17页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

/*=Shared=*/QStackedWidget,QLabel,QPushButton,QRadioButton,QCheckBox,QGroupBox,QStatusBar,QToolButton,QComboBox,QDialogbackground-color:#222222;color:#BBBBBB;font-family:SegoeUI;/*=QWidget=*/QWidget:windowbackground:#222222;color:#BBBBBB;font-family:SegoeUI;/*=QToolTip=*/QToolTipbackground-color:#000000;border:2pxsolid#333333;color:yellow;/*=QPushButton=*/QPushButtonborder:1pxsolid#333333;padding:4px;min-width:65px;min-height:12px;QPushButton:hoverbackground-color:#333333;border-color:#444444;QPushButton:pressedbackground-color:#111111;border-color:#333333;color:yellow;QPushButton:disabledcolor:#333333;/*=Checkableitems=*/QCheckBox:indicator,QRadioButton:indicator,QTreeView:indicatorwidth:16px;height:16px;background-color:#111111;border:1pxsolid#333333;QRadioButton:indicatorborder-radius:8px;QCheckBox:indicator:checked,QRadioButton:indicator:checked,QTreeView:indicator:checkedbackground-color:qradialgradient(cx:0.5,cy:0.5,fx:0.25,fy:0.15,radius:0.3,stop:0#BBBBBB,stop:1#111111);QCheckBox:indicator:disabled,QRadioButton:indicator:disabled,QTreeView:indicator:disabledbackground-color:#444444;QCheckBox:indicator:checked:disabled,QRadioButton:indicator:checked:disabled,QTreeView:indicator:checked:disabledbackground-color:qradialgradient(cx:0.5,cy:0.5,fx:0.25,fy:0.15,radius:0.3,stop:0#BBBBBB,stop:1#444444);/*=QComboBox=*/QComboBoxbackground-color:black;border:1pxsolid#333333;color:white;padding:1px2em1px3px;QComboBox:drop-downsubcontrol-origin:padding;subcontrol-position:topright;border-left:1pxsolid#333333;QComboBox:down-arrowborder:2pxsolid#333333;width:6px;height:6px;background:#5f5f5f;/*=QGroupBox=*/QGroupBoxborder:2pxsolid#333333;margin-top:2ex;QGroupBox:titlecolor:yellow;subcontrol-origin:margin;subcontrol-position:topleft;margin-left:5px;/*=QTabWidget=*/QTabWidget:panebackground:#222222;border:2pxsolid#333333;/*=QTabBar=*/QTabBar:tabbackground:transparent;border:1pxsolid#333333;border-bottom:none;color:#BBBBBB;padding-left:5px;padding-right:10px;padding-top:3px;padding-bottom:3px;QTabBar:tab:hoverbackground-color:#333333;border:1pxsolid#444444;border-bottom:none;QTabBar:tab:selectedbackground-color:#111111;border:1pxsolid#333333;border-top:1pxsolidyellow;border-bottom:none;color:yellow/*=QToolBar=*/QToolBarbackground-color:#222222;border:none;padding:1px;QToolBar:handlebackground:#222222;border-left:1pxdottedyellow;color:#BBBBBB;QToolBar:separatorwidth:6px;background-color:#222222;/*=QToolButton=*/QToolButtonborder:1pxsolid#333333;margin:1px;QToolButton:hoverbackground-color:#333333;border:1pxsolid#444444;QToolButtonpopupMode=1/*onlyforMenuButtonPopup*/padding-right:20px;/*makewayforthepopupbutton*/QToolButton:menu-buttonborder-left:1pxsolid#333333;background:transparent;width:16px;QToolButton:menu-button:hoverborder-left:1pxsolid#444444;background:transparent;width:16px;QToolButton:checked,QToolButton:pressedbackground-color:#111111;color:yellow;/*=QMenu=*/QMenubackground-color:black;border:1pxsolidgray;color:white;padding:1px;QMenu:itempadding:2px25px2px20px;border:1pxsolidtransparent;QMenu:item:disabledcolor:#666666;QMenu:item:selectedborder-color:gray;background:#222222;QMenu:icon:checkedQMenu:separatorheight:1px;background:#222222;margin-left:10px;margin-right:10px;margin-top:1px;margin-bottom:1px;QMenu:indicatorwidth:13px;height:13px;/*=QMenuBar=*/QMenuBarbackground-color:black;color:white;QMenuBar:itembackground:transparent;QMenuBar:item:disabledcolor:gray;QMenuBar:item:selectedbackground:#222222;QMenuBar:item:pressedbackground:#444444;/*=QScrollBar:vertical=*/QScrollBar:verticalbackground:#111111;width:16px;margin:16px016px0;QScrollBar:handle:verticalbackground:#555555;min-height:16px;QScrollBar:add-line:verticalbackground:#444444;height:16px;subcontrol-position:bottom;subcontrol-origin:margin;QScrollBar:sub-line:verticalbackground:#444444;height:16px;subcontrol-position:top;subcontrol-origin:margin;QScrollBar:add-page:vertical,QScrollBar:sub-page:verticalbackground:none;QScrollBar:up-arrow:vertical,QScrollBar:down-arrow:verticalborder:2pxsolid#333333;width:6px;height:6px;background:#5f5f5f;/*=QScrollBar:horizontal=*/QScrollBar:horizontalbackground:#111111;height:16px;margin:016px016px;QScrollBar:handle:horizontalbackground:#555555;min-width:16px;QScrollBar:add-line:horizontalbackground:#444444;width:16px;subcontrol-position:right;subcontrol-origin:margin;QScrollBar:sub-line:horizontalbackground:#444444;width:16px;subcontrol-position:left;subcontrol-origin:margin;QScrollBar:add-page:horizontal,QScrollBar:sub-page:horizontalbackground:none;QScrollBar:left-arrow:horizontal,QScrollBar:right-arrow:horizontalborder:2pxsolid#333333;width:6px;height:6px;background:#5f5f5f;/*=*/QLineEdit,QListView,QTreeView,QTableView,QAbstractSpinBoxbackground-color:black;color:#BBBBBB;border:1pxsolid#333333;QAbstractScrollArea,QLineEdit,QTextEdit,QAbstractSpinBox,QComboBoxborder-color:#333333;border:1pxsolid#333333;/*=QHeaderView=*/QHeaderView:sectionbackground:#222222;border:0;color:#BBBBBB;padding:3px03px4px;/*=QListView=*/QListView:item:hoverbackground:#333333;QListView:item:selectedbackground:#111111;color:yellow;/*=QTableView=*/QTableView:item:hoverbackground:#333333;QTableView:item:hoverbackground:#111111;color:yellow;/*=QTreeView=*/QTreeView:itembackground:black;QTreeView:item:hoverbackground:#333333;QTreeView:item:selectedbackground:#111111;color:yellow;QTreeView:branchQTreeView:branch:has-siblings:adjoins-itemQTreeView:branch:has-siblings:!adjoins-itemQTreeView:branch:closed:has-children:has-siblingsQTreeView:branch:has-children:!has-siblings:closedQTreeView:branch:!has-children:!has-siblings:adjoins-itemQTreeView:branch:open:has-children:has-siblingsQTreeView:branch:open:has-children:!has-siblings/*=Customizations=*/QFrame#infoLabelborder:1pxinset#333333;2.QWidgetbackground-color:beige;QToolBarbackground-color:beige;QDialog,QFileDialogbackground-color:beige;QTabWidget:pane/*Thetabwidgetframe*/border-top:2pxsolid#C2C7CB;QTabWidget:tab-barleft:5px;/*movetotherightby5px*/QTabBar,QTabWidgetbackground-color:beige;QTabBar:tabbackground:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0#E1E1E1,stop:0.4#DDDDDD,stop:0.5#D8D8D8,stop:1.0#D3D3D3);border:1pxsoliddarkkhaki;border-bottom-color:#C2C7CB;/*sameasthepanecolor*/border-top-left-radius:4px;border-top-right-radius:4px;min-width:8ex;padding:2px;QTabBar:tab:selected,QTabBar:tab:hoverbackground:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0#fafafa,stop:0.4#f4f4f4,stop:0.5#e7e7e7,stop:1.0#fafafa);QTabBar:tab:selectedborder-color:#9B9B9B;border-bottom-color:#C2C7CB;/*sameaspanecolor*/QTabBar:tab:!selectedmargin-top:2px;/*makenon-selectedtabslooksmaller*/*NiceWindows-XP-stylepasswordcharacter.*/QLineEditechoMode=2lineedit-password-character:9679;QHeaderView:sectionbackground-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0#616161,stop:0.5#505050,stop:0.6#434343,stop:1#656565);color:white;padding-left:4px;border:1pxsolid#6c6c6c;QHeaderView:section:checkedbackground-color:red;/*Weprovideamin-widthandmin-heightforpushbuttonssothattheylookelegantregardlessofthewidthofthetext.*/QPushButtonbackground-color:palegoldenrod;border-width:2px;border-color:darkkhaki;border-style:solid;border-radius:5;padding:3px;min-width:9ex;min-height:2.5ex;QPushButton:hoverbackground-color:khaki;/*Increasethepadding,sothetextisshiftedwhenthebuttonispressed.*/QPushButton:pressedpadding-left:5px;padding-top:5px;background-color:#d0d67c;QLabel,QAbstractButtonfont:bold;/*Markmandatoryfieldswithabrownishcolor.*/.mandatorycolor:brown;/*Boldtextonstatusbarlooksawful.*/QStatusBarQLabelfont:normal;QStatusBar:itemborder-width:1;border-color:darkkhaki;border-style:solid;border-radius:2;QStackedWidget,QComboBox,QLineEdit,QSpinBox,QTextEdit,QListView,QWebView,QTreeView,QHeaderViewbackground-color:cornsilk;selection-color:#0a214c;selection-background-color:#C19A6B;QListViewshow-decoration-selected:1;QListView:item:hoverbackground-color:wheat;/*Wereserve1pixelspaceinpadding.Whenwegetthefocus,wekillthepaddingandenlargetheborder.Thismakestheitemsglow.*/QLineEdit,QFrameborder-width:1px;padding:1px;border-style:solid;border-color:darkkhaki;border-radius:5px;/*Asmentionedabove,eliminatethepaddingandincreasetheborder.*/QLineEdit:focus,QFrame:focusborder-width:3px;padding:0px;/*AQLabelisaQFrame*/QLabelborder:none;padding:0;background:none;/*AQToolTipisaQLabel*/QToolTipborder:2pxsoliddarkkhaki;padding:5px;border-radius:3px;opacity:200;/*Nicetohavethebackgroundcolorchangewhenhovered.*/QRadioButton:hover,QCheckBox:hoverbackground-color:wheat;/*ForcethedialogsbuttonstofollowtheWindowsguidelines.*/QDialogButtonBoxbutton-layout:0;3./*Stylebyevilworks,2012-2013.ThisfileisPublicDomain.*/*=Shared=*/QStackedWidget,QLabel,QPushButton,QRadioButton,QCheckBox,QGroupBox,QStatusBar,QToolButton,QComboBox,QDialog,QTabBarfont-family:SegoeUI;background-color:#888;color:#000;/*=QWidget=*/QWidget:windowfont-family:SegoeUI;background-color:#888;/*=QPushButton=*/QPushButtonborder:1pxsolid#555;padding:4px;min-width:65px;min-height:12px;QPushButton:hoverbackground-color:#999;QPushButton:pressedbackground-color:#333;border-color:#555;color:#AAA;QPushButton:disabledcolor:#333333;/*=QComboBox=*/QComboBoxbackground-color:#AAA;border:1pxsolid#555;color:black;QComboBox:drop-downsubcontrol-origin:padding;subcontrol-position:topright;border-left:1pxsolid#333333;/*=QGroupBox=*/QGroupBoxborder:1pxsolid#555;margin-top:2ex;QGroupBox:titlecolor:black;subcontrol-origin:margin;subcontrol-position:topleft;border:1pxsolid#555;/*=QTabBar=*/QTabBar:tabborder-bottom:none;color:#000;padding:4px;background-color:#888;border:1pxsolid#555;QTabBar:tab:hoverbackground-color:#AAA;QTabBar:tab:selectedbackground-color:#000;color:white;/*=QTabWidget=*/QTabWidget:panebackground:#888;border:1pxsolid#555;/*=QToolBar=*/QToolBarbackground:#949494;border:none;padding-left:0px;padding-right:0px;margin:2px;QToolBar:separatorwidth:1px;margin-left:3px;margin-right:3px;background-color:#555;/*=QToolButton=*/QToolButtonborder:1pxsolid#666;margin:1px;QToolButton:hoverbackground-color:#AAA;QToolButtonpopupMode=1/*onlyforMenuButtonPopup*/padding-right:20px;/*makewayforthepopupbutton*/QToolButton:menu-buttonborder-left:1pxsolid#666;background:transparent;width:16px;QToolButton:menu-button:hoverborder-left:1pxsolid#666;background:transparent;width:16px;QToolButton:checked,QToolButton:pressedbackground-color:#000;border:1pxsolid#555;color:white;/*=QScrollBar:vertical=*/QScrollBar:verticalwidth:16px;margin:16px016px0;background:#333;QScrollBar:handle:verticalbackground:#888;min-height:16px;border-top:1pxsolid#666;border-bottom:1pxsolid#666;QScrollBar:add-line:verticalbackground:#888;height:16px;subcontrol-position:bottom;subcontrol-origin:margin;QScrollBar:sub-line:verticalbackground:#888;height:16px;subcontrol-position:top;subcontrol-origin:margin;QScrollBar:add-page:vertical,QScrollBar:sub-page:verticalbackground:none;/*=QScrollBar:horizontal=*/QScrollBar:horizontalheight:16px;margin:016px016px;background:#333;QScrollBar:handle:horizontalbackground:#888;min-width:16px;border-left:1pxsolid#666;border-right:1pxsolid#666;QScrollBar:add-line:horizontalbackground:#888;width:16px;subcontrol-position:right;subcontrol-origin:margin;QScrollBar:sub-line:horizontalbackground:#888;width:16px;subcontrol-position:left;subcontrol-origin:margin;QScrollBar:add-page:horizontal,QScrollBar:sub-page:horizontalbackground:none;/*=QMenu=*/QMenubackground-color:black;border:1pxsolidgray;color:white;padding:1px;QMenu:itempadding:2px25px2px20px;border:1pxsolidtransparent;QMenu:item:disabledcolor:#666666;QMenu:item:selectedborder-color:gray;background:#222222;QMenu:icon:checkedQMenu:separatorheight:1px;background:#222222;margin-left:10px;margin-right:10px;m

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论