CMechHandOtherSet QCheckBox#checkBox { font-size: 16px; color: #333333; } CMechHandOtherSet QLabel#label_10,CMechHandOtherSet QLabel#label_11,CMechHandOtherSet QLabel#label_12 { font-size: 14px; color: #333333; } CMechHandOtherSet QLabel#label_14,CMechHandOtherSet QLabel#label_13 { font-size: 14px; color: #666666; } /*********************************************************************QComboBox******************************************************************************************/ QComboBox { font-size: 14px; color:#333333; padding-left:8px; background-color: #ffffff; border-radius: 4px; border: 1px solid #dcdfe3; } QComboBox:disabled { color: #999999; } QComboBox:hover { border:1px solid #ff2d2d; } QComboBox:on { border-bottom-right-radius:0px; border-bottom-left-radius:0px; border-top-right-radius:4px; border-top-left-radius:4px; border-top:1px solid #ff2d2d; border-right:1px solid #ff2d2d; border-bottom:0px; border-left:1px solid #ff2d2d; } QComboBox:off:focus { border-bottom-right-radius:4px; border-bottom-left-radius:4px; border-top-right-radius:4px; border-top-left-radius:4px; border-top:1px solid #ff2d2d; border-right:1px solid #ff2d2d; border-bottom:1px solid #ff2d2d; border-left:1px solid #ff2d2d; } QComboBox:off:!focus { border-bottom-right-radius:4px; border-bottom-left-radius:4px; border-top-right-radius:4px; border-top-left-radius:4px; border-top:1px solid #dcdfe3; border-right:1px solid #dcdfe3; border-bottom:1px solid #dcdfe3; border-left:1px solid #dcdfe3; } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 18px; border: 0; left:-6px; } QComboBox::down-arrow { image: url(Skins/MechHand/resource/tool_icon_pullDown_n.png); } QComboBox::down-arrow:pressed{ image: url(Skins/MechHand/resource/tool_icon_pullDown_p.png); } QComboBox::down-arrow:hover{ image: url(Skins/MechHand/resource/tool_icon_pullDown_h.png); } QComboBox::down-arrow:disabled{ image: url(Skins/MechHand/resource/tool_icon_pullDown_d.png); } QComboBox QAbstractItemView { border-top:0px; border-right:1px solid #ff2d2d; border-bottom:1px solid #ff2d2d; border-left:1px solid #ff2d2d; background-color:#ffffff; outline: 0px; color:#333333; } QComboBox QListView::item { color:#333333; height:28px; padding-left:8px; background-color:rgba(255,255,255); } QComboBox QListView::item:hover { color:#333333; background-color:rgba(255,45,45,127); } #toolCoordinateComboBox,#workCoordinateComboBox { font-size: 14px; min-width: 160px; min-height: 32px; max-width: 160px; max-height: 32px; } #toolCoordinateComboBox:on,#workCoordinateComboBox:on { border-bottom-right-radius:0px; border-bottom-left-radius:0px; border-top-right-radius:4px; border-top-left-radius:4px; border-top:1px solid #ff2d2d; border-right:1px solid #ff2d2d; border-bottom:0px; border-left:1px solid #ff2d2d; } #toolCoordinateComboBox QAbstractItemView,#workCoordinateComboBox QAbstractItemView { border-right:1px solid #ff2d2d; border-bottom:1px solid #ff2d2d; border-left:1px solid #ff2d2d; background-color:#ffffff; outline: 0px; color:#333333; } #toolCoordinateComboBox QListView::item ,#workCoordinateComboBox QListView::item { color:#333333; min-height:28px; padding-left:8px; background-color:rgba(255,255,255); } #toolCoordinateComboBox QListView::item:hover,#workCoordinateComboBox QListView::item:hover { color:#333333; background-color:rgba(255,45,45,127); } CMechHandOtherSet QPushButton#pushButton { width: 80px; height: 32px; qproperty-focusPolicy:NoFocus; qproperty-default:false; outline: none; border-radius: 4px; color: rgba(255, 255, 255); background-color: #ff2d2d; } CMechHandOtherSet QPushButton#pushButton:hover { outline: none; color: #ffe4e4; background-color: #ff4c4c; } CMechHandOtherSet QPushButton#pushButton:pressed { outline: none; color: #ffffff; background-color: #ff2d2d; } CMechHandOtherSet QPushButton#pushButton:disabled { outline: none; color: #ffcaca; background-color: #ff9595; } CMechHandOtherSet QDoubleSpinBox { font-size: 14px; min-width: 160px; min-height: 32px; max-width: 160px; max-height: 32px; background-color: #ffffff; border-radius: 4px; border:1px solid #dbdee3; padding-left:8px; qproperty-contextMenuPolicy:NoContextMenu; color: #333333; } CMechHandOtherSet QDoubleSpinBox:hover { border:1px solid #ff2d2d; } CMechHandOtherSet QDoubleSpinBox:focus { border:1px solid #ff2d2d; } CMechHandOtherSet QDoubleSpinBox:disabled { border:1px solid #eceef0; color: #999999; } CMechHandOtherSet QDoubleSpinBox::up-button{ subcontrol-origin: border; subcontrol-position: top right; width:16px; image:url(Skins/MechHand/resource/tool_icon_up_n.png); margin: 0; margin-bottom: 1px; padding-right:5px; left:-4px; } CMechHandOtherSet QDoubleSpinBox::down-button{ subcontrol-origin: border; subcontrol-position: bottom right; width: 16px; image:url(Skins/MechHand/resource/tool_icon_pullDown_n.png); margin: 0; margin-top: 1px; padding-right:5px; left:-4px; } CMechHandOtherSet QDoubleSpinBox::down-button:hover{ image:url(Skins/MechHand/resource/tool_icon_pullDown_h.png); } CMechHandOtherSet QDoubleSpinBox::down-button:pressed{ image:url(Skins/MechHand/resource/tool_icon_pullDown_p.png); } CMechHandOtherSet QDoubleSpinBox::down-button:disabled{ image:url(Skins/MechHand/resource/tool_icon_pullDown_d.png); } CMechHandOtherSet QDoubleSpinBox::up-button:hover{ image:url(Skins/MechHand/resource/tool_icon_up_h.png); } CMechHandOtherSet QDoubleSpinBox::up-button:pressed{ image:url(Skins/MechHand/resource/tool_icon_up_p.png); } CMechHandOtherSet QDoubleSpinBox::up-button:disabled{ image:url(Skins/MechHand/resource/tool_icon_up_d.png); }