Pith - wedge_linux
wedge_linux/WedgeStyle.h [1.3 kb]
Modified: 00:00:08 153 026 (19 Aug 026)
5 Days Ago
#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
Updates
Kerf - Android 157.026
Kiln - Android 157.026
Wedge - Android 156.026
Whittle - Linux 155.026
Grit - Firefox/Chrome 154.026

Menu
Calendar
Project Tin (024/029)
Miter
RSS Feed
User Avatar
@vgmlr
=SUM(parts)
0.00422
257,005 (+259)