add v_pure theme

This commit is contained in:
Le Tan 2017-12-09 12:59:39 +08:00
parent 0d4a62626e
commit 1410c16280
44 changed files with 1747 additions and 34 deletions

View File

@ -122,7 +122,7 @@ void VConfirmDeletionDialog::setupUI(const QString &p_title,
m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept); connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
m_btnBox->button(QDialogButtonBox::Ok)->setStyleSheet(g_config->c_dangerBtnStyle); m_btnBox->button(QDialogButtonBox::Ok)->setProperty("DangerBtn", true);
QHBoxLayout *midLayout = new QHBoxLayout; QHBoxLayout *midLayout = new QHBoxLayout;
midLayout->addWidget(m_listWidget); midLayout->addWidget(m_listWidget);

View File

@ -53,6 +53,7 @@ void VDirInfoDialog::setupUI()
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
m_nameEdit->setMinimumWidth(okBtn->sizeHint().width() * 3); m_nameEdit->setMinimumWidth(okBtn->sizeHint().width() * 3);
QVBoxLayout *mainLayout = new QVBoxLayout(); QVBoxLayout *mainLayout = new QVBoxLayout();

View File

@ -79,6 +79,7 @@ void VEditSnippetDialog::setupUI(const QString &p_title, const QString &p_info)
// Content. // Content.
m_contentEdit = new QTextEdit(); m_contentEdit = new QTextEdit();
m_contentEdit->setProperty("LineEdit", true);
setContentEditByType(); setContentEditByType();
QFormLayout *topLayout = new QFormLayout(); QFormLayout *topLayout = new QFormLayout();
@ -100,6 +101,7 @@ void VEditSnippetDialog::setupUI(const QString &p_title, const QString &p_info)
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
m_nameEdit->setMinimumWidth(okBtn->sizeHint().width() * 3); m_nameEdit->setMinimumWidth(okBtn->sizeHint().width() * 3);
QVBoxLayout *mainLayout = new QVBoxLayout(); QVBoxLayout *mainLayout = new QVBoxLayout();

View File

@ -75,6 +75,7 @@ void VFileInfoDialog::setupUI(const QString &p_title, const QString &p_info)
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
m_nameEdit->setMinimumWidth(okBtn->sizeHint().width() * 3); m_nameEdit->setMinimumWidth(okBtn->sizeHint().width() * 3);
QVBoxLayout *mainLayout = new QVBoxLayout(); QVBoxLayout *mainLayout = new QVBoxLayout();

View File

@ -59,6 +59,7 @@ void VInsertImageDialog::setupUI()
m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept); connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
m_btnBox->button(QDialogButtonBox::Ok)->setProperty("SpecialBtn", true);
imagePreviewLabel = new QLabel(); imagePreviewLabel = new QLabel();
imagePreviewLabel->setVisible(false); imagePreviewLabel->setVisible(false);

View File

@ -53,6 +53,7 @@ void VInsertLinkDialog::setupUI(const QString &p_title,
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
m_linkTextEdit->setMinimumWidth(okBtn->sizeHint().width() * 3); m_linkTextEdit->setMinimumWidth(okBtn->sizeHint().width() * 3);
QVBoxLayout *mainLayout = new QVBoxLayout; QVBoxLayout *mainLayout = new QVBoxLayout;

View File

@ -46,6 +46,7 @@ void VNewDirDialog::setupUI()
m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept); connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
m_btnBox->button(QDialogButtonBox::Ok)->setProperty("SpecialBtn", true);
QHBoxLayout *topLayout = new QHBoxLayout(); QHBoxLayout *topLayout = new QHBoxLayout();
topLayout->addWidget(nameLabel); topLayout->addWidget(nameLabel);

View File

@ -111,6 +111,7 @@ void VNewFileDialog::setupUI(const QString &p_title,
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
m_templateCB->setMaximumWidth(okBtn->sizeHint().width() * 4); m_templateCB->setMaximumWidth(okBtn->sizeHint().width() * 4);
QVBoxLayout *mainLayout = new QVBoxLayout(); QVBoxLayout *mainLayout = new QVBoxLayout();

View File

@ -90,6 +90,7 @@ void VNewNotebookDialog::setupUI(const QString &p_title, const QString &p_info)
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
pathEdit->setMinimumWidth(okBtn->sizeHint().width() * 3); pathEdit->setMinimumWidth(okBtn->sizeHint().width() * 3);
QVBoxLayout *mainLayout = new QVBoxLayout(this); QVBoxLayout *mainLayout = new QVBoxLayout(this);

View File

@ -84,6 +84,7 @@ void VNotebookInfoDialog::setupUI(const QString &p_title, const QString &p_info)
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
m_pathEdit->setMinimumWidth(okBtn->sizeHint().width() * 3); m_pathEdit->setMinimumWidth(okBtn->sizeHint().width() * 3);
QVBoxLayout *mainLayout = new QVBoxLayout(); QVBoxLayout *mainLayout = new QVBoxLayout();

View File

@ -41,6 +41,7 @@ void VOrphanFileInfoDialog::setupUI()
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
m_imageFolderEdit->setMinimumWidth(okBtn->sizeHint().width() * 3); m_imageFolderEdit->setMinimumWidth(okBtn->sizeHint().width() * 3);
QVBoxLayout *mainLayout = new QVBoxLayout(); QVBoxLayout *mainLayout = new QVBoxLayout();

View File

@ -18,6 +18,7 @@ VSettingsDialog::VSettingsDialog(QWidget *p_parent)
m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
connect(m_btnBox, &QDialogButtonBox::accepted, this, &VSettingsDialog::saveConfiguration); connect(m_btnBox, &QDialogButtonBox::accepted, this, &VSettingsDialog::saveConfiguration);
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
m_btnBox->button(QDialogButtonBox::Ok)->setProperty("SpecialBtn", true);
QHBoxLayout *tabLayout = new QHBoxLayout(); QHBoxLayout *tabLayout = new QHBoxLayout();
tabLayout->addWidget(m_tabList); tabLayout->addWidget(m_tabList);
@ -208,6 +209,7 @@ QLayout *VGeneralTab::setupStartupPagesLayout()
}); });
m_startupPagesEdit = new QPlainTextEdit(this); m_startupPagesEdit = new QPlainTextEdit(this);
m_startupPagesEdit->setProperty("LineEdit", true);
m_startupPagesEdit->setToolTip(tr("Absolute path of the notes to open on startup (one note per line)")); m_startupPagesEdit->setToolTip(tr("Absolute path of the notes to open on startup (one note per line)"));
m_startupPagesAddBtn = new QPushButton(tr("Browse"), this); m_startupPagesAddBtn = new QPushButton(tr("Browse"), this);

View File

@ -112,6 +112,7 @@ void VSortDialog::setupUI(const QString &p_title, const QString &p_info)
m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept); connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject); connect(m_btnBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
m_btnBox->button(QDialogButtonBox::Ok)->setProperty("SpecialBtn", true);
QVBoxLayout *mainLayout = new QVBoxLayout; QVBoxLayout *mainLayout = new QVBoxLayout;
if (infoLabel) { if (infoLabel) {

View File

@ -34,6 +34,7 @@ void VUpdater::setupUI()
m_descriptionTb = new QTextBrowser(); m_descriptionTb = new QTextBrowser();
m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok); m_btnBox = new QDialogButtonBox(QDialogButtonBox::Ok);
m_btnBox->button(QDialogButtonBox::Ok)->setProperty("SpecialBtn", true);
connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept); connect(m_btnBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
QVBoxLayout *verLayout = new QVBoxLayout(); QVBoxLayout *verLayout = new QVBoxLayout();

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
<g>
<polygon points="128,192 256,320 384,192 "/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 533 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
<polygon fill="#333333" id="svg_2" points="128,192 256,320 384,192 "/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 295 B

View File

@ -0,0 +1,7 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 2</title>
<rect stroke="null" fill="#E0E0E0" stroke-width="null" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="225.3" y="0.100029" width="51" height="281.537138" id="svg_3"/>
<rect fill="#E0E0E0" stroke-width="null" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="346.499997" y="116.499998" width="51" height="278.999996" id="svg_6" transform="rotate(90 372,256.00000000000006) " stroke="null"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 588 B

View File

@ -0,0 +1,7 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 2</title>
<rect stroke="null" fill="#E0E0E0" stroke-width="null" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="225.3" y="0.100029" width="51" height="511.910139" id="svg_3"/>
<rect fill="#E0E0E0" stroke-width="null" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="346.499997" y="116.499998" width="51" height="278.999996" id="svg_6" transform="rotate(90 372,256.00000000000006) " stroke="null"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 588 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g id="svg_1">
<polygon fill="#333333" id="svg_2" points="128,192 256,320 384,192 "/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 247 B

View File

@ -0,0 +1,7 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<rect fill="#000000" stroke="#333333" stroke-width="30" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="106" y="141.5" width="299" height="299" fill-opacity="0" id="svg_6"/>
<path stroke="#000000" fill="#333333" stroke-width="5" d="m125.49193,290.33243l27.93756,-27.94743l76.53449,76.52461l127.58052,-127.54102l27.94743,27.92768l-155.52795,155.50821" id="svg_3" stroke-opacity="0"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 559 B

View File

@ -0,0 +1,6 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<rect id="svg_6" fill-opacity="0" height="299" width="299" y="141.5" x="106" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" stroke="#333333" fill="#000000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 348 B

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4
L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1
c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1
c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
</svg>

After

Width:  |  Height:  |  Size: 974 B

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<path style="fill:#9E9E9E" d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4
L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1
c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1
c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
</svg>

After

Width:  |  Height:  |  Size: 995 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="null" id="svg_1">
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#333333"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 264 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="null" id="svg_1">
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#C0C0C0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 264 B

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g>
<path d="M64,144v304h303.9V144H64z M351.9,432H80V160h271.9V432z"/>
<g>
<polygon points="448,64 144,64 144,128 160,128 160,80 432,80 432,352 384,352 384,368 448,368 "/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 673 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="rotate(90 255.99999999999997,256.00000000000006) " id="svg_1">
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#333333"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 309 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="rotate(90 255.99999999999997,256.00000000000006) " id="svg_1">
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#C0C0C0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 309 B

View File

@ -0,0 +1,6 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 2</title>
<rect stroke="null" id="svg_3" height="510.999989" width="51" y="0.100029" x="225.3" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="null" fill="#E0E0E0"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 341 B

View File

@ -0,0 +1,7 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<circle stroke="#333333" id="svg_9" r="142.96561" cy="291.50001" cx="255.49999" fill-opacity="0" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" fill="#000000"/>
<circle id="svg_11" r="83.2406" cy="290" cx="255" stroke-opacity="0" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="20" stroke="#000000" fill="#333333"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 543 B

View File

@ -0,0 +1,6 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<circle stroke="#333333" id="svg_9" r="142.96561" cy="291.50001" cx="255.49999" fill-opacity="0" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" fill="#000000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 351 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
<polygon fill="#333333" id="svg_2" points="128,192 256,320 384,192 "/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 295 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
<polygon fill="#C0C0C0" id="svg_2" points="128,192 256,320 384,192 "/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 295 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="rotate(180 255.99999999999997,256) " id="svg_1">
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#333333"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 295 B

View File

@ -0,0 +1,8 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g transform="rotate(180 255.99999999999997,256) " id="svg_1">
<polygon points="128,192 256,320 384,192 " id="svg_2" fill="#C0C0C0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 295 B

View File

@ -0,0 +1,298 @@
; File path could be absolute path or relative path (related to this file).
; Use @color_tag to reference a style.
[metadata]
qss_file=v_pure.qss
[phony]
; Abstract color attributes.
master_fg=#F5F5F5
master_bg=#556DE8
base_fg=#222222
base_bg=#EAEAEA
main_fg=@base_fg
main_bg=#base_bg
title_fg=@base_fg
title_bg=@base_bg
disabled_fg=#9E9E9E
content_fg=@base_fg
content_bg=@base_bg
border_bg=#D3D3D3
separator_bg=#D3D3D3
hover_fg=@base_fg
hover_bg=#D0D0D0
selected_fg=@base_fg
selected_bg=#BDBDBD
active_fg=@selected_fg
active_bg=@selected_bg
inactive_fg=@selected_fg
inactive_bg=#D3D3D3
focus_fg=@selected_fg
focus_bg=@selected_bg
pressed_fg=@base_fg
pressed_bg=#B2B2B2
edit_fg=#222222
edit_bg=#F5F5F5
edit_focus_bg=#E8EAF6
edit_focus_border=@master_bg
edit_selection_fg=@edit_fg
edit_selection_bg=#CBD2F9
danger_red=#C9302C
icon_fg=#222222
[soft_defined]
; VAvatar.
avatar_border_bg=@selected_bg
avatar_fg=@base_bg
avatar_bg=@base_fg
; The border background color of the avatar when Captain mode is triggered.
avatar_captain_mode_border_bg=@master_bg
; Style of the label in Navigation mode.
navigation_label_fg=@master_fg
navigation_label_bg=@master_bg
; Style of the bubble of VButtonWithWidget.
bubble_fg=@master_fg
bubble_bg=@master_bg
; Icons' foreground.
danger_icon_fg=@danger_red
item_icon_fg=@icon_fg
title_icon_fg=@icon_fg
; VVimIndicator.
vim_indicator_key_label_fg=@base_fg
vim_indicator_mode_label_fg=@base_fg
vim_indicator_cmd_edit_pending_bg=@selected_bg
; VTabIndicator.
tab_indicator_label_fg=@base_fg
[widgets]
; Widget color attributes.
; QWidget.
widget_fg=@base_fg
; Separator of dock widgets.
dock_separator_bg=@border_bg
dock_separator_hover_bg=@border_bg
; Menubar.
menubar_bg=@main_bg
menubar_fg=@main_fg
menubar_item_selected_bg=@selected_bg
; Menu.
menu_bg=@base_bg
menu_fg=@base_fg
menu_item_disabled_fg=@disabled_fg
menu_item_selected_fg=@selected_fg
menu_item_selected_bg=@selected_bg
menu_separator_bg=@separator_bg
menu_icon_fg=@icon_fg
menu_icon_danger_fg=@danger_icon_fg
; Tooltip.
tooltip_bg=@master_bg
tooltip_fg=@master_fg
; Toolbar.
toolbar_bg=@main_bg
toolbutton_hover_bg=@hover_bg
toolbutton_pressed_bg=@pressed_bg
toolbutton_checked_bg=@selected_bg
toolbutton_icon_fg=@icon_fg
toolbutton_icon_danger_fg=@danger_icon_fg
; Toolbox.
toolbox_icon_fg=@icon_fg
; Dockwidget.
dockwidget_title_fg=@title_fg
dockwidget_title_bg=@title_bg
dockwidget_button_hover_bg=@hover_bg
; PushButton.
pushbutton_fg=@base_fg
pushbutton_bg=transparent
pushbutton_border=@border_bg
pushbutton_pressed_bg=@pressed_bg
pushbutton_checked_bg=@selected_bg
pushbutton_hover_bg=@hover_bg
pushbutton_default_border=@master_bg
pushbutton_specialbtn_fg=@master_fg
pushbutton_specialbtn_bg=@master_bg
pushbutton_specialbtn_hover_bg=#3F51B5
pushbutton_specialbtn_checked_bg=#3949AB
pushbutton_specialbtn_pressed_bg=#303F9F
pushbutton_cornerbtn_hover_bg=@hover_bg
pushbutton_cornerbtn_focus_bg=@focus_bg
pushbutton_cornerbtn_pressed_bg=@pressed_bg
pushbutton_statusbtn_hover_bg=@hover_bg
pushbutton_statusbtn_focus_bg=@focus_bg
pushbutton_statusbtn_pressed_bg=@pressed_bg
pushbutton_flatbtn_hover_bg=@hover_bg
pushbutton_flatbtn_focus_bg=@focus_bg
pushbutton_flatbtn_pressed_bg=@pressed_bg
pushbutton_selectionbtn_hover_bg=@hover_bg
pushbutton_selectionbtn_focus_bg=@focus_bg
pushbutton_selectionbtn_pressed_bg=@pressed_bg
pushbutton_titlebtn_bg=@title_bg
pushbutton_titlebtn_hover_bg=@hover_bg
pushbutton_titlebtn_focus_bg=@focus_bg
pushbutton_titlebtn_pressed_bg=@pressed_bg
pushbutton_dangerbtn_fg=#FFF
pushbutton_dangerbtn_border=#D43F3A
pushbutton_dangerbtn_bg=#D9534F
pushbutton_dangerbtn_hover_fg=#FFF
pushbutton_dangerbtn_hover_bg=#C9302C
pushbutton_dangerbtn_hover_border=#AC2925
button_icon_fg=@icon_fg
button_icon_danger_fg=@danger_icon_fg
; ComboBox.
combobox_border=@border_bg
combobox_fg=@content_fg
combobox_bg=@content_bg
combobox_view_border=@border_bg
combobox_view_selected_bg=@selected_bg
combobox_view_selected_fg=@selected_fg
combobox_view_item_hover_fg=@hover_fg
combobox_view_item_hover_bg=@hover_bg
combobox_focus_bg=@edit_focus_bg
combobox_focus_border=@edit_focus_border
combobox_item_icon_fg=@item_icon_fg
; Label.
label_fg=@base_fg
label_titlelabel_fg=@title_fg
label_titlelabel_bg=@title_bg
; LineEdit.
lineedit_border=@border_bg
lineedit_fg=@edit_fg
lineedit_bg=@edit_bg
lineedit_focus_bg=@edit_focus_bg
lineedit_focus_border=@edit_focus_border
lineedit_selection_fg=@edit_selection_fg
lineedit_selection_bg=@edit_selection_bg
; TabWidget.
tabwidget_pane_border=@selected_bg
; TabBar.
tabbar_fg=@base_fg
tabbar_bg=@base_bg
tabbar_border=@border_bg
tabbar_selected_fg=@edit_fg
tabbar_selected_bg=@edit_bg
tabbar_selected_border=@border_bg
tabbar_hover_fg=@hover_fg
tabbar_hover_bg=@hover_bg
tabbar_icon_fg=@icon_fg
tabbar_icon_special_fg=@danger_red
; SelectorItem.
selectoritem_border=@base_fg
selectoritem_fg=@base_fg
selectoritem_bg=@base_bg
; InsertSelector.
insertselector_bg=@base_bg
; TreeView.
treeview_fg=@content_fg
treeview_bg=@content_bg
treeview_item_hover_fg=@hover_fg
treeview_item_hover_bg=@hover_bg
treeview_item_selected_fg=@selected_fg
treeview_item_selected_bg=@selected_bg
treeview_item_selected_avtive_fg=@active_fg
treeview_item_selected_avtive_bg=@active_bg
treeview_item_selected_inactive_fg=@inactive_fg
treeview_item_selected_inactive_bg=@inactive_bg
treeview_item_icon_fg=@item_icon_fg
; ListView.
listview_fg=@content_fg
listview_bg=@content_bg
listview_item_hover_fg=@hover_fg
listview_item_hover_bg=@hover_bg
listview_item_selected_fg=@selected_fg
listview_item_selected_bg=@selected_bg
listview_item_selected_avtive_fg=@active_fg
listview_item_selected_avtive_bg=@active_bg
listview_item_selected_inactive_fg=@inactive_fg
listview_item_selected_inactive_bg=@inactive_bg
; Splitter.
splitter_handle_bg=@border_bg
; StatusBar.
statusbar_fg=@main_fg
statusbar_bg=@main_bg
; ScrollBar.
scrollbar_bg=@base_bg
scrollbar_page_bg=transparent
scrollbar_handle_bg=#DADADA
scrollbar_handle_hover_bg=@hover_bg
scrollbar_handle_pressed_bg=@pressed_bg
; VEditWindow.
editwindow_corner_icon_fg=@master_bg
editwindow_corner_icon_inactive_fg=#D3D3D3
; CheckBox.
checkbox_indicator_hover_bg=@hover_bg
checkbox_indicator_pressed_bg=@pressed_bg
; RadioButton.
radiobutton_indicator_hover_bg=@hover_bg
radiobutton_indicator_pressed_bg=@pressed_bg
; SpinBox.
spinbox_fg=@edit_fg
spinbox_bg=@edit_bg
spinbox_border=@border_bg
spinbox_selection_fg=@edit_selection_fg
spinbox_selection_bg=@edit_selection_bg
spinbox_focus_border=@edit_focus_border
spinbox_focus_bg=@edit_focus_bg
spinbox_button_hover_bg=@hover_bg
spinbox_button_pressed_bg=@pressed_bg
; HeaderView.
headerview_bg=#E0E0E0
headerview_fg=@base_fg
headerview_border=@border_bg
headerview_checked_fg=@selected_fg
headerview_checked_bg=@selected_bg

File diff suppressed because it is too large Load Diff

View File

@ -267,3 +267,17 @@ checkbox_indicator_pressed_bg=@pressed_bg
; RadioButton. ; RadioButton.
radiobutton_indicator_hover_bg=@hover_bg radiobutton_indicator_hover_bg=@hover_bg
radiobutton_indicator_pressed_bg=@pressed_bg radiobutton_indicator_pressed_bg=@pressed_bg
; SpinBox.
spinbox_fg=@content_fg
spinbox_bg=@content_bg
spinbox_border=@border_bg
spinbox_button_hover_bg=@hover_bg
spinbox_button_pressed_bg=@pressed_bg
; HeaderView.
headerview_bg=@base_bg
headerview_fg=@base_fg
headerview_border=@border_bg
headerview_checked_fg=@selected_fg
headerview_checked_bg=@selected_bg

View File

@ -3,7 +3,6 @@ QToolTip
border: 1px solid @tooltip_border; border: 1px solid @tooltip_border;
background: @tooltip_bg; background: @tooltip_bg;
color: @tooltip_fg; color: @tooltip_fg;
padding: 5px;
} }
/* QWidget */ /* QWidget */
@ -187,7 +186,7 @@ QPushButton:flat {
border: none; border: none;
} }
QPushButton::default { QPushButton:default {
border-color: @pushbutton_default_border; border-color: @pushbutton_default_border;
} }
@ -750,17 +749,21 @@ QDialog {
} }
/* QScrollBar */ /* QScrollBar */
QScrollBar::sub-page, QScrollBar::add-page {
background: transparent;
}
QScrollBar:vertical { QScrollBar:vertical {
background: @scrollbar_bg; background: @scrollbar_bg;
width: 20px; width: 16px;
margin: 20px 0px 20px 0px; margin: 16px 0px 16px 0px;
padding: 0px 2px 0px 2px; padding: 0px 2px 0px 2px;
border: none; border: none;
} }
QScrollBar::handle:vertical { QScrollBar::handle:vertical {
background: @scrollbar_handle_bg; background: @scrollbar_handle_bg;
min-height: 20px; min-height: 16px;
} }
QScrollBar::handle:vertical:hover { QScrollBar::handle:vertical:hover {
@ -774,8 +777,8 @@ QScrollBar::handle:vertical:pressed {
QScrollBar::add-line:vertical { QScrollBar::add-line:vertical {
border: none; border: none;
background: @scrollbar_bg; background: @scrollbar_bg;
width: 20px; width: 16px;
height: 20px; height: 16px;
subcontrol-position: bottom; subcontrol-position: bottom;
subcontrol-origin: margin; subcontrol-origin: margin;
} }
@ -791,8 +794,8 @@ QScrollBar::add-line:vertical:pressed {
QScrollBar::sub-line:vertical { QScrollBar::sub-line:vertical {
border: none; border: none;
background: @scrollbar_bg; background: @scrollbar_bg;
width: 20px; width: 16px;
height: 20px; height: 16px;
subcontrol-position: top; subcontrol-position: top;
subcontrol-origin: margin; subcontrol-origin: margin;
} }
@ -807,27 +810,27 @@ QScrollBar::sub-line:vertical:pressed {
QScrollBar::down-arrow:vertical { QScrollBar::down-arrow:vertical {
image: url(down.svg); image: url(down.svg);
width: 20px; width: 16px;
height: 20px; height: 16px;
} }
QScrollBar::up-arrow:vertical { QScrollBar::up-arrow:vertical {
image: url(up.svg); image: url(up.svg);
width: 20px; width: 16px;
height: 20px; height: 16px;
} }
QScrollBar:horizontal { QScrollBar:horizontal {
background: @scrollbar_bg; background: @scrollbar_bg;
height: 20px; height: 16px;
margin: 0px 20px 0px 20px; margin: 0px 16px 0px 16px;
padding: 2px 0px 2px 0px; padding: 2px 0px 2px 0px;
border: none; border: none;
} }
QScrollBar::handle:horizontal { QScrollBar::handle:horizontal {
background: @scrollbar_handle_bg; background: @scrollbar_handle_bg;
min-width: 20px; min-width: 16px;
} }
QScrollBar::handle:horizontal:hover { QScrollBar::handle:horizontal:hover {
@ -841,8 +844,8 @@ QScrollBar::handle:horizontal:pressed {
QScrollBar::add-line:horizontal { QScrollBar::add-line:horizontal {
border: none; border: none;
background: @scrollbar_bg; background: @scrollbar_bg;
width: 20px; width: 16px;
height: 20px; height: 16px;
subcontrol-position: right; subcontrol-position: right;
subcontrol-origin: margin; subcontrol-origin: margin;
} }
@ -858,8 +861,8 @@ QScrollBar::add-line:horizontal:pressed {
QScrollBar::sub-line:horizontal { QScrollBar::sub-line:horizontal {
border: none; border: none;
background: @scrollbar_bg; background: @scrollbar_bg;
width: 20px; width: 16px;
height: 20px; height: 16px;
subcontrol-position: left; subcontrol-position: left;
subcontrol-origin: margin; subcontrol-origin: margin;
} }
@ -874,14 +877,14 @@ QScrollBar::sub-line:horizontal:pressed {
QScrollBar::right-arrow:horizontal { QScrollBar::right-arrow:horizontal {
image: url(right.svg); image: url(right.svg);
width: 20px; width: 16px;
height: 20px; height: 16px;
} }
QScrollBar::left-arrow:horizontal { QScrollBar::left-arrow:horizontal {
image: url(left.svg); image: url(left.svg);
width: 20px; width: 16px;
height: 20px; height: 16px;
} }
/* End QScrollBar */ /* End QScrollBar */
@ -962,3 +965,91 @@ QRadioButton::indicator:checked:pressed {
background: @radiobutton_indicator_pressed_bg; background: @radiobutton_indicator_pressed_bg;
} }
/* End QRadioButton */ /* End QRadioButton */
/* QSpinBox */
QSpinBox, QDoubleSpinBox {
border: 1px solid @spinbox_border;
color: @spinbox_fg;
background: @spinbox_bg;
padding-right: 25px;
min-height: 25px;
}
QSpinBox::up-button, QDoubleSpinBox::up-button {
subcontrol-origin: border;
subcontrol-position: top right; /* position at the top right corner */
width: 25px;
border: none;
background: transparent;
}
QSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover {
background: @spinbox_button_hover_bg;
}
QSpinBox::up-button:pressed, QDoubleSpinBox::up-button:pressed {
background: @spinbox_button_pressed_bg;
}
QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
image: url(up.svg);
width: 12px;
height: 12px;
}
QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off, QDoubleSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:off {
image: url(up_disabled.svg);
}
QSpinBox::down-button, QDoubleSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right; /* position at the top right corner */
width: 25px;
border: none;
background: transparent;
}
QSpinBox::down-button:hover, QDoubleSpinBox::down-button:hover {
background: @spinbox_button_hover_bg;
}
QSpinBox::down-button:pressed, QDoubleSpinBox::down-button:pressed {
background: @spinbox_button_pressed_bg;
}
QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
image: url(down.svg);
width: 12px;
height: 12px;
}
QSpinBox::down-arrow:disabled, QSpinBox::down-arrow:off, QDoubleSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:off {
image: url(down_disabled.svg);
}
/* End QSpinBox */
/* QHeaderView */
QHeaderView::section {
background: @headerview_bg;
color: @headerview_fg;
padding-left: 4px;
border: none;
border-left: 1px solid @headerview_border;
border-bottom: 1px solid @headerview_border;
}
QHeaderView::section:checked
{
color: @headerview_checked_fg;
background: @headerview_checked_bg;
}
/* style the sort indicator */
QHeaderView::down-arrow {
image: url(down.svg);
}
QHeaderView::up-arrow {
image: url(up.svg);
}
/* End QHeaderView */

View File

@ -394,8 +394,13 @@ bool VUtils::copyDirectory(const QString &p_srcDirPath, const QString &p_destDir
return true; return true;
} }
int VUtils::showMessage(QMessageBox::Icon p_icon, const QString &p_title, const QString &p_text, const QString &p_infoText, int VUtils::showMessage(QMessageBox::Icon p_icon,
QMessageBox::StandardButtons p_buttons, QMessageBox::StandardButton p_defaultBtn, QWidget *p_parent, const QString &p_title,
const QString &p_text,
const QString &p_infoText,
QMessageBox::StandardButtons p_buttons,
QMessageBox::StandardButton p_defaultBtn,
QWidget *p_parent,
MessageBoxType p_type) MessageBoxType p_type)
{ {
QMessageBox msgBox(p_icon, p_title, p_text, p_buttons, p_parent); QMessageBox msgBox(p_icon, p_title, p_text, p_buttons, p_parent);
@ -405,7 +410,9 @@ int VUtils::showMessage(QMessageBox::Icon p_icon, const QString &p_title, const
if (p_type == MessageBoxType::Danger) { if (p_type == MessageBoxType::Danger) {
QPushButton *okBtn = dynamic_cast<QPushButton *>(msgBox.button(QMessageBox::Ok)); QPushButton *okBtn = dynamic_cast<QPushButton *>(msgBox.button(QMessageBox::Ok));
if (okBtn) { if (okBtn) {
okBtn->setStyleSheet(g_config->c_dangerBtnStyle); okBtn->setProperty("DangerBtn", true);
okBtn->style()->unpolish(okBtn);
okBtn->style()->polish(okBtn);
} }
} }
return msgBox.exec(); return msgBox.exec();

View File

@ -54,9 +54,6 @@ const QString VConfigManager::c_warningTextStyle = QString("color: red; font: bo
const QString VConfigManager::c_dataTextStyle = QString("font: bold"); const QString VConfigManager::c_dataTextStyle = QString("font: bold");
const QString VConfigManager::c_dangerBtnStyle = QString("QPushButton {color: #fff; border-color: #d43f3a; background-color: #d9534f;}"
"QPushButton::hover {color: #fff; border-color: #ac2925; background-color: #c9302c;}");
const QString VConfigManager::c_vnoteNotebookFolderName = QString("vnote_notebooks"); const QString VConfigManager::c_vnoteNotebookFolderName = QString("vnote_notebooks");
VConfigManager::VConfigManager(QObject *p_parent) VConfigManager::VConfigManager(QObject *p_parent)
@ -1367,6 +1364,7 @@ void VConfigManager::initThemes()
// Built-in. // Built-in.
m_themes.insert(tr("v_white"), ":/resources/themes/v_white/v_white.palette"); m_themes.insert(tr("v_white"), ":/resources/themes/v_white/v_white.palette");
m_themes.insert(tr("v_pure"), ":/resources/themes/v_pure/v_pure.palette");
// User theme folder. // User theme folder.
QDir dir(getThemeConfigFolder()); QDir dir(getThemeConfigFolder());

View File

@ -85,9 +85,6 @@ public:
// CSS style for data in label. // CSS style for data in label.
static const QString c_dataTextStyle; static const QString c_dataTextStyle;
// QStylesheet for danger button. Should keep identical with DangerBtn in QSS.
static const QString c_dangerBtnStyle;
QFont getMdEditFont() const; QFont getMdEditFont() const;
QPalette getMdEditPalette() const; QPalette getMdEditPalette() const;

View File

@ -81,6 +81,7 @@ void VExporter::setupUI()
connect(m_openBtn, &QPushButton::clicked, this, &VExporter::openTargetPath); connect(m_openBtn, &QPushButton::clicked, this, &VExporter::openTargetPath);
QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok); QPushButton *okBtn = m_btnBox->button(QDialogButtonBox::Ok);
okBtn->setProperty("SpecialBtn", true);
m_pathEdit->setMinimumWidth(okBtn->sizeHint().width() * 3); m_pathEdit->setMinimumWidth(okBtn->sizeHint().width() * 3);
QGridLayout *mainLayout = new QGridLayout(); QGridLayout *mainLayout = new QGridLayout();

View File

@ -163,5 +163,28 @@
<file>resources/themes/v_white/checkbox_unchecked.svg</file> <file>resources/themes/v_white/checkbox_unchecked.svg</file>
<file>resources/themes/v_white/radiobutton_checked.svg</file> <file>resources/themes/v_white/radiobutton_checked.svg</file>
<file>resources/themes/v_white/radiobutton_unchecked.svg</file> <file>resources/themes/v_white/radiobutton_unchecked.svg</file>
<file>resources/themes/v_pure/arrow_dropdown.svg</file>
<file>resources/themes/v_pure/branch_closed.svg</file>
<file>resources/themes/v_pure/branch_end.svg</file>
<file>resources/themes/v_pure/branch_more.svg</file>
<file>resources/themes/v_pure/branch_open.svg</file>
<file>resources/themes/v_pure/checkbox_checked.svg</file>
<file>resources/themes/v_pure/checkbox_unchecked.svg</file>
<file>resources/themes/v_pure/close.svg</file>
<file>resources/themes/v_pure/close_grey.svg</file>
<file>resources/themes/v_pure/down.svg</file>
<file>resources/themes/v_pure/down_disabled.svg</file>
<file>resources/themes/v_pure/float.svg</file>
<file>resources/themes/v_pure/left.svg</file>
<file>resources/themes/v_pure/left_disabled.svg</file>
<file>resources/themes/v_pure/line.svg</file>
<file>resources/themes/v_pure/radiobutton_checked.svg</file>
<file>resources/themes/v_pure/radiobutton_unchecked.svg</file>
<file>resources/themes/v_pure/right.svg</file>
<file>resources/themes/v_pure/right_disabled.svg</file>
<file>resources/themes/v_pure/up.svg</file>
<file>resources/themes/v_pure/up_disabled.svg</file>
<file>resources/themes/v_pure/v_pure.palette</file>
<file>resources/themes/v_pure/v_pure.qss</file>
</qresource> </qresource>
</RCC> </RCC>