zoukankan      html  css  js  c++  java
  • QPushButton QSS

    QPushButton QSS

    QPushButton#btn_login{
    border-style:none;
    color:#FFFFFF;
    padding:5px;
    min-height:15px;
    border-radius:5px;
    background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #0BC2FF,stop:1 #00B6FA);
    }
    
    QPushButton#btn_login:hover{
    color:#FFFFFF;
    background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #22CBFF,stop:1 #1AC2FB);
    }
    
    QPushButton#btn_login:pressed{
    color:#FFFFFF;
    background-color:#22AEFA;
    }

    QPushButton#btn_min{
    border-style:none;
    color:#FFFFFF;
    padding:5px;
    min-height:15px;
    border-radius:5px;
    background-color:#537ED2;
    }
    
    QPushButton#btn_min:hover{
    color:#FFFFFF;
    background-color:#4269AF;
    }
    
    QPushButton#btn_min:pressed{
    color:#FFFFFF;
    background-color:#2D5186;
    }

    QPushButton#btn_close{
    border-style:none;
    color:#FFFFFF;
    padding:5px;
    min-height:15px;
    border-radius:5px;
    background-color:#537ED2;
    }
    
    QPushButton#btn_close:hover{
    color:#FFFFFF;
    background-color:#E81123;
    }
    
    QPushButton#btn_close:pressed{
    color:#FFFFFF;
    background-color:#9B4C74;
    }

    =========== End

  • 相关阅读:
    简单题
    bzoj2131
    bzoj1706
    bzoj3531
    bzoj3744
    bzoj2724
    bzoj3343
    bzoj1005
    编程中、遇到问题、bug多思考
    线上系统奇怪问题总结,性能问题不能依赖经验
  • 原文地址:https://www.cnblogs.com/lsgxeva/p/12785082.html
Copyright © 2011-2022 走看看