change icons from png to svg
Signed-off-by: Le Tan <tamlokveer@gmail.com>
Before Width: | Height: | Size: 223 B |
7
src/resources/icons/create_note.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<?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">
|
||||
<polygon points="448,224 288,224 288,64 224,64 224,224 64,224 64,288 224,288 224,448 288,448 288,288 448,288 "/>
|
||||
</svg>
|
After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 223 B |
7
src/resources/icons/create_notebook.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<?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">
|
||||
<polygon points="448,224 288,224 288,64 224,64 224,224 64,224 64,288 224,288 224,448 288,448 288,288 448,288 "/>
|
||||
</svg>
|
After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 223 B |
7
src/resources/icons/create_rootdir.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<?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">
|
||||
<polygon points="448,224 288,224 288,64 224,64 224,224 64,224 64,288 224,288 224,448 288,448 288,288 448,288 "/>
|
||||
</svg>
|
After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 160 B |
7
src/resources/icons/delete_dir.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<?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">
|
||||
<rect x="64" y="224" width="384" height="64"/>
|
||||
</svg>
|
After Width: | Height: | Size: 538 B |
Before Width: | Height: | Size: 160 B |
7
src/resources/icons/delete_note.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<?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">
|
||||
<rect x="64" y="224" width="384" height="64"/>
|
||||
</svg>
|
After Width: | Height: | Size: 538 B |
Before Width: | Height: | Size: 160 B |
7
src/resources/icons/delete_notebook.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<?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">
|
||||
<rect x="64" y="224" width="384" height="64"/>
|
||||
</svg>
|
After Width: | Height: | Size: 538 B |
Before Width: | Height: | Size: 2.2 KiB |
10
src/resources/icons/dir_info.svg
Normal 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">
|
||||
<g>
|
||||
<polygon points="288,448 288,192 192,192 192,208 224,208 224,448 192,448 192,464 320,464 320,448 "/>
|
||||
<path d="M255.8,144.5c26.6,0,48.2-21.6,48.2-48.2s-21.6-48.2-48.2-48.2c-26.6,0-48.2,21.6-48.2,48.2S229.2,144.5,255.8,144.5z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 2.2 KiB |
10
src/resources/icons/note_info.svg
Normal 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">
|
||||
<g>
|
||||
<polygon points="288,448 288,192 192,192 192,208 224,208 224,448 192,448 192,464 320,464 320,448 "/>
|
||||
<path d="M255.8,144.5c26.6,0,48.2-21.6,48.2-48.2s-21.6-48.2-48.2-48.2c-26.6,0-48.2,21.6-48.2,48.2S229.2,144.5,255.8,144.5z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 2.2 KiB |
10
src/resources/icons/notebook_info.svg
Normal 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">
|
||||
<g>
|
||||
<polygon points="288,448 288,192 192,192 192,208 224,208 224,448 192,448 192,464 320,464 320,448 "/>
|
||||
<path d="M255.8,144.5c26.6,0,48.2-21.6,48.2-48.2s-21.6-48.2-48.2-48.2c-26.6,0-48.2,21.6-48.2,48.2S229.2,144.5,255.8,144.5z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 733 B |
@ -15,11 +15,11 @@ VFileList::VFileList(VNote *vnote, QWidget *parent)
|
||||
|
||||
void VFileList::setupUI()
|
||||
{
|
||||
newFileBtn = new QPushButton(QIcon(":/resources/icons/create_note.png"), "");
|
||||
newFileBtn = new QPushButton(QIcon(":/resources/icons/create_note.svg"), "");
|
||||
newFileBtn->setToolTip(tr("Create a new note"));
|
||||
deleteFileBtn = new QPushButton(QIcon(":/resources/icons/delete_note.png"), "");
|
||||
deleteFileBtn = new QPushButton(QIcon(":/resources/icons/delete_note.svg"), "");
|
||||
deleteFileBtn->setToolTip(tr("Delete current note"));
|
||||
fileInfoBtn = new QPushButton(QIcon(":/resources/icons/note_info.png"), "");
|
||||
fileInfoBtn = new QPushButton(QIcon(":/resources/icons/note_info.svg"), "");
|
||||
fileInfoBtn->setToolTip(tr("View and edit current note's information"));
|
||||
|
||||
fileList = new QListWidget(this);
|
||||
|
@ -37,18 +37,18 @@ void VMainWindow::setupUI()
|
||||
notebookLabel = new QLabel(tr("Notebook"));
|
||||
directoryLabel = new QLabel(tr("Directory"));
|
||||
|
||||
newNotebookBtn = new QPushButton(QIcon(":/resources/icons/create_notebook.png"), "");
|
||||
newNotebookBtn = new QPushButton(QIcon(":/resources/icons/create_notebook.svg"), "");
|
||||
newNotebookBtn->setToolTip(tr("Create a new notebook"));
|
||||
deleteNotebookBtn = new QPushButton(QIcon(":/resources/icons/delete_notebook.png"), "");
|
||||
deleteNotebookBtn = new QPushButton(QIcon(":/resources/icons/delete_notebook.svg"), "");
|
||||
deleteNotebookBtn->setToolTip(tr("Delete current notebook"));
|
||||
notebookInfoBtn = new QPushButton(QIcon(":/resources/icons/notebook_info.png"), "");
|
||||
notebookInfoBtn = new QPushButton(QIcon(":/resources/icons/notebook_info.svg"), "");
|
||||
notebookInfoBtn->setToolTip(tr("View and edit current notebook's information"));
|
||||
|
||||
newRootDirBtn = new QPushButton(QIcon(":/resources/icons/create_rootdir.png"), "");
|
||||
newRootDirBtn = new QPushButton(QIcon(":/resources/icons/create_rootdir.svg"), "");
|
||||
newRootDirBtn->setToolTip(tr("Create a new root directory"));
|
||||
deleteDirBtn = new QPushButton(QIcon(":/resources/icons/delete_dir.png"), "");
|
||||
deleteDirBtn = new QPushButton(QIcon(":/resources/icons/delete_dir.svg"), "");
|
||||
deleteDirBtn->setToolTip(tr("Delete current directory"));
|
||||
dirInfoBtn = new QPushButton(QIcon(":/resources/icons/dir_info.png"), "");
|
||||
dirInfoBtn = new QPushButton(QIcon(":/resources/icons/dir_info.svg"), "");
|
||||
dirInfoBtn->setToolTip(tr("View and edit current directory's information"));
|
||||
|
||||
notebookComboBox = new QComboBox();
|
||||
|
@ -36,19 +36,19 @@
|
||||
<file>resources/styles/solarized-light.mdhl</file>
|
||||
<file>resources/styles/solarized-dark.mdhl</file>
|
||||
<file>resources/vnote.ini</file>
|
||||
<file>resources/icons/create_notebook.png</file>
|
||||
<file>resources/icons/delete_notebook.png</file>
|
||||
<file>resources/icons/notebook_info.png</file>
|
||||
<file>resources/icons/create_rootdir.png</file>
|
||||
<file>resources/icons/delete_dir.png</file>
|
||||
<file>resources/icons/dir_info.png</file>
|
||||
<file>resources/icons/create_note.png</file>
|
||||
<file>resources/icons/delete_note.png</file>
|
||||
<file>resources/icons/note_info.png</file>
|
||||
<file>resources/icons/create_note_tb.svg</file>
|
||||
<file>resources/icons/save_note.svg</file>
|
||||
<file>resources/icons/edit_note.svg</file>
|
||||
<file>resources/icons/save_exit.svg</file>
|
||||
<file>resources/icons/discard_exit.svg</file>
|
||||
<file>resources/icons/create_note.svg</file>
|
||||
<file>resources/icons/create_notebook.svg</file>
|
||||
<file>resources/icons/create_rootdir.svg</file>
|
||||
<file>resources/icons/delete_dir.svg</file>
|
||||
<file>resources/icons/delete_note.svg</file>
|
||||
<file>resources/icons/delete_notebook.svg</file>
|
||||
<file>resources/icons/note_info.svg</file>
|
||||
<file>resources/icons/dir_info.svg</file>
|
||||
<file>resources/icons/notebook_info.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|