From f61e2b95965aa9382a1514350cbd54405e777dad Mon Sep 17 00:00:00 2001 From: Le Tan Date: Mon, 23 Sep 2019 19:16:51 +0800 Subject: [PATCH] add v_next to config --- src/vconfigmanager.cpp | 2 ++ src/vnote.qrc | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/src/vconfigmanager.cpp b/src/vconfigmanager.cpp index 5abbb709..1f2c3cba 100644 --- a/src/vconfigmanager.cpp +++ b/src/vconfigmanager.cpp @@ -1507,6 +1507,8 @@ void VConfigManager::initThemes() m_themes.insert(VPalette::themeName(file), file); file = ":/resources/themes/v_simple/v_simple.palette"; m_themes.insert(VPalette::themeName(file), file); + file = ":/resources/themes/v_next/v_next.palette"; + m_themes.insert(VPalette::themeName(file), file); outputBuiltInThemes(); diff --git a/src/vnote.qrc b/src/vnote.qrc index 3566af0d..93c9e6af 100644 --- a/src/vnote.qrc +++ b/src/vnote.qrc @@ -322,5 +322,39 @@ resources/themes/v_simple/v_simple.qss resources/themes/v_simple/v_simple_codeblock.css resources/themes/v_simple/v_simple_mermaid.css + resources/themes/v_next/arrow_dropdown.svg + resources/themes/v_next/arrow_dropdown_disabled.svg + resources/themes/v_next/branch_closed.svg + resources/themes/v_next/branch_end.svg + resources/themes/v_next/branch_more.svg + resources/themes/v_next/branch_open.svg + resources/themes/v_next/checkbox_checked.svg + resources/themes/v_next/checkbox_checked_disabled.svg + resources/themes/v_next/checkbox_unchecked.svg + resources/themes/v_next/checkbox_unchecked_disabled.svg + resources/themes/v_next/close.svg + resources/themes/v_next/close_grey.svg + resources/themes/v_next/down.svg + resources/themes/v_next/down_disabled.svg + resources/themes/v_next/float.svg + resources/themes/v_next/left.svg + resources/themes/v_next/left_disabled.svg + resources/themes/v_next/line.svg + resources/themes/v_next/menu_checkbox.svg + resources/themes/v_next/menu_radiobutton.svg + resources/themes/v_next/radiobutton_checked.svg + resources/themes/v_next/radiobutton_checked_disabled.svg + resources/themes/v_next/radiobutton_unchecked.svg + resources/themes/v_next/radiobutton_unchecked_disabled.svg + resources/themes/v_next/right.svg + resources/themes/v_next/right_disabled.svg + resources/themes/v_next/up.svg + resources/themes/v_next/up_disabled.svg + resources/themes/v_next/v_next.css + resources/themes/v_next/v_next.mdhl + resources/themes/v_next/v_next.palette + resources/themes/v_next/v_next.qss + resources/themes/v_next/v_next_codeblock.css + resources/themes/v_next/v_next_mermaid.css