示例#1
0
文件: djvStyle.cpp 项目: mottosso/djv
const QVector<djvStyle::SizeMetric> & djvStyle::sizeMetricsDefault()
{
    static const QVector<SizeMetric> data = QVector<SizeMetric>() <<
        SizeMetric(qApp->translate("djvStyle", "Small"), 9) <<
        SizeMetric(qApp->translate("djvStyle", "Medium"), 12) <<
        SizeMetric(qApp->translate("djvStyle", "Large"), 16) <<
        SizeMetric(qApp->translate("djvStyle", "Custom"), 24);
    
    return data;
}
示例#2
0
const QVector<djvStyle::SizeMetric> & djvStyle::sizeMetricsDefault()
{
    static const QVector<SizeMetric> data = QVector<SizeMetric>() <<
        SizeMetric(tr("Small"), 9) <<
        SizeMetric(tr("Medium"), 12) <<
        SizeMetric(tr("Large"), 16) <<
        SizeMetric(tr("Custom"), 24);
    
    return data;
}