ZkEdit 0 0 800 600 Qt::StrongFocus Form QPushButton#closeBtn, QPushButton#checkBtn{ background-color: #E6F7FF; border: 1px solid #87CEEB; border-radius: 4px; font-size: 24px; color: #228B22; } QPushButton#closeBtn:hover,QPushButton#checkBtn:hover{ background-color: #D1E9FF; } QPushButton#closeBtn:pressed,QPushButton#checkBtn:pressed{ background-color: #BAE7FF; } QPushButton { background-color: #5396C1; color: #ffffff; border: 1px solid #000000; border-radius: 3px; font-size: 18px; font-weight:500; } QPushButton:hover { background-color: #5396C1; } QPushButton:disabled { background-color: #7C828E; color: #606060; border-color: #808080; } QComboBox { border: 1px solid #000000; border-radius: 3px; font-size: 14px; width: 180px; height: 90px; padding-left: 10px; /* 文字左边距,避免紧贴边缘 */ } /* 下拉箭头区域 */ QComboBox::drop-down { border: 1px solid #333333; border-radius: 3px; width: 30px; /* 箭头区域宽度 */ background-color: #5396C1; } /* 下拉箭头图标 */ QComboBox::down-arrow { image: url(image/down_white.png); width: 16px; /* 图标显示宽度 */ height: 16px; /* 图标显示高度 */ } /* 悬停状态 */ QComboBox:hover { background-color: #efefef; } // 下拉框 QComboBox QAbstractItemView { border: 1px solid #000000; border-radius: 3px; font-size: 14px; selection-background-color: #5396C1; /* 选中项背景色(稍深) */ selection-color: #ffffff; } QSpinBox::up-button { width: 16px; /* 图标显示宽度 */ height: 16px; /* 图标显示高度 */ border: 1px solid #333333; border-radius: 3px; background-color: #5396C1; } QSpinBox::up-arrow { image: url(image/up_white.png); } QSpinBox::down-button { width: 16px; /* 图标显示宽度 */ height: 16px; /* 图标显示高度 */ border: 1px solid #333333; border-radius: 3px; background-color: #5396C1; } QSpinBox::down-arrow { image: url(image/down_white.png); } false Qt::AlignCenter 57 43 400 400 0 0 0 0 0 20 10 50 50 50 50 :/icon/arrowright.png:/icon/arrowright.png 50 50 50 50 :/icon/arrowleft.png:/icon/arrowleft.png 50 50 50 50 :/icon/sure.png:/icon/sure.png 24 24 50 50 50 50 :/icon/arrowup.png:/icon/arrowup.png 50 50 50 50 :/icon/arrowdown.png:/icon/arrowdown.png 0 0 16777215 16777215 0 0 0 30 16777215 37 QAbstractSpinBox::NoButtons 1 256 12 0 0 0 30 QAbstractSpinBox::NoButtons 1 32 12 16777215 20 高度 16777215 20 宽度 图像裁剪 0 45 缩小 :/icon/zoomout.png:/icon/zoomout.png 0 45 放大 :/icon/zoomin.png:/icon/zoomin.png 图像扩张 5 0 0 0 30 打开 :/icon/fileopen.png:/icon/fileopen.png 0 0 0 30 保存 :/icon/filesave.png:/icon/filesave.png 0 0 0 30 新建 :/icon/filenew.png:/icon/filenew.png 0 0 0 30 保存为 :/icon/filesaveas.png:/icon/filesaveas.png 0 35 16777215 35 0 45 16777215 45 0 0 16777215 20 编辑图案 Qt::Horizontal 40 20 120 40 ✕ zkWidget QWidget
zkWidget.h
1