ImageLoader 0 0 800 600 Form 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; } 0 0 0 0 0 0 40 16777215 40 background-color:#4E679F; 16777215 80 50 文件名 Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft 0 31 在...寻找 Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft 0 31 0 31 0 系统 U盘 16777215 45 2 3 Qt::Horizontal 40 20 100 40 Ubuntu -1 QPushButton { background-color: #E6F7FF; border: 1px solid #87CEEB; border-radius: 4px; font-size: 24px; font-family: "Ubuntu"; color: #228B22; } QPushButton:hover { background-color: #D1E9FF; } QPushButton:pressed { background-color: #BAE7FF; } ✓ 100 40 QPushButton { background-color: #E6F7FF; border: 1px solid #87CEEB; border-radius: 4px; font-size: 24px; color: #228B22; } QPushButton:hover { background-color: #D1E9FF; } QPushButton:pressed { background-color: #BAE7FF; } ✕ ImagePreviewer QWidget
imagepreviewer.h
1
cancelBtn clicked() ImageLoader hide() 741 567 399 299 filenameCBox currentIndexChanged(int) ImageLoader onFilenameCBoxIndexChanged(int) 144 102 -95 227 rootPathCBox currentIndexChanged(int) ImageLoader onRootPathCBoxIndexChanged(int) 602 109 920 252 okBtn clicked() ImageLoader onOkBtnClicked() 654 577 825 464 onFilenameCBoxIndexChanged(int) onRootPathCBoxIndexChanged(int) onOkBtnClicked()