#ifndef WEDGESTYLE_H
#define WEDGESTYLE_H
#include <QString>
namespace WedgeStyle {
inline QString sheet() {
return QStringLiteral(R"(
QDialog { background-color: #fafafa; }
QLineEdit, QSpinBox, QComboBox {
background: #ffffff;
border: 1px solid #c5c5c5;
border-radius: 4px;
padding: 4px 8px;
}
QLineEdit:focus, QSpinBox:focus, QComboBox:focus {
border: 1px solid #c5c5c5;
}
QPushButton {
background: #ffffff;
border: 1px solid #c5c5c5;
border-radius: 4px;
padding: 5px 14px;
}
QPushButton:hover { background: #f2f2f2; }
QPushButton:pressed { background: #e8e8e8; }
QPushButton:default { border: 1px solid #c5c5c5; }
QPushButton[segment="left"] {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-right: none;
}
QPushButton[segment="right"] {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
QPushButton[segment]:checked {
background: #e8e8e8;
}
QPushButton[segment]:!checked:hover { background: #f2f2f2; }
)");
}
}
#endif