diff --git a/plugins/gui/include/gui/context_manager_widget/context_manager_widget.h b/plugins/gui/include/gui/context_manager_widget/context_manager_widget.h
index 28a5ef8d162..aac2852caa0 100644
--- a/plugins/gui/include/gui/context_manager_widget/context_manager_widget.h
+++ b/plugins/gui/include/gui/context_manager_widget/context_manager_widget.h
@@ -62,6 +62,7 @@ namespace hal
Q_OBJECT
Q_PROPERTY(QString disabledIconStyle READ disabledIconStyle WRITE setDisabledIconStyle)
Q_PROPERTY(QString newViewIconPath READ newViewIconPath WRITE setNewViewIconPath)
+ Q_PROPERTY(QString newDirIconPath READ newDirIconPath WRITE setNewDirIconPath)
Q_PROPERTY(QString newViewIconStyle READ newViewIconStyle WRITE setNewViewIconStyle)
Q_PROPERTY(QString renameIconPath READ renameIconPath WRITE setRenameIconPath)
Q_PROPERTY(QString renameIconStyle READ renameIconStyle WRITE setRenameIconStyle)
@@ -121,6 +122,7 @@ namespace hal
///@{
QString disabledIconStyle() const;
QString newViewIconPath() const;
+ QString newDirIconPath() const;
QString newViewIconStyle() const;
QString renameIconPath() const;
QString renameIconStyle() const;
@@ -140,6 +142,7 @@ namespace hal
///@{
void setDisabledIconStyle(const QString &path);
void setNewViewIconPath(const QString &path);
+ void setNewDirIconPath(const QString &path);
void setNewViewIconStyle(const QString &style);
void setRenameIconPath(const QString &path);
void setRenameIconStyle(const QString &style);
@@ -189,6 +192,7 @@ namespace hal
QAction* mNewViewAction;
QString mNewViewIconPath;
+ QString mNewDirIconPath;
QString mNewViewIconStyle;
QAction* mRenameAction;
diff --git a/plugins/gui/resources/gui_resources.qrc b/plugins/gui/resources/gui_resources.qrc
index 804397056c4..c334ab9ed4f 100644
--- a/plugins/gui/resources/gui_resources.qrc
+++ b/plugins/gui/resources/gui_resources.qrc
@@ -64,6 +64,7 @@
icons/new-file.svg
icons/pen.svg
icons/plus.svg
+ icons/plusdir.svg
icons/trashcan.svg
icons/0189-tree.svg
icons/0086-keyboard.svg
diff --git a/plugins/gui/resources/icons/plusdir.svg b/plugins/gui/resources/icons/plusdir.svg
new file mode 100755
index 00000000000..b1d9fae80db
--- /dev/null
+++ b/plugins/gui/resources/icons/plusdir.svg
@@ -0,0 +1,69 @@
+
+
+
+
diff --git a/plugins/gui/resources/icons/views-dir.svg b/plugins/gui/resources/icons/views-dir.svg
new file mode 100755
index 00000000000..4927deece64
--- /dev/null
+++ b/plugins/gui/resources/icons/views-dir.svg
@@ -0,0 +1,63 @@
+
+
+
+
diff --git a/plugins/gui/resources/icons/views-view.svg b/plugins/gui/resources/icons/views-view.svg
new file mode 100755
index 00000000000..cb71c9b3f50
--- /dev/null
+++ b/plugins/gui/resources/icons/views-view.svg
@@ -0,0 +1,191 @@
+
+
+
+
diff --git a/plugins/gui/resources/stylesheet/dark.qss b/plugins/gui/resources/stylesheet/dark.qss
index c435968bc0d..2a1c41c4427 100755
--- a/plugins/gui/resources/stylesheet/dark.qss
+++ b/plugins/gui/resources/stylesheet/dark.qss
@@ -1128,6 +1128,7 @@ hal--ContextManagerWidget
qproperty-newViewIconStyle: "all->#e8e8e8";
qproperty-newViewIconPath: ":/icons/plus";
+ qproperty-newDirIconPath: ":/icons/plusdir";
qproperty-renameIconStyle: "all->#e8e8e8";
qproperty-renameIconPath: ":/icons/pen";
diff --git a/plugins/gui/resources/stylesheet/light.qss b/plugins/gui/resources/stylesheet/light.qss
index 2094bdb0cd3..0afb057a6de 100755
--- a/plugins/gui/resources/stylesheet/light.qss
+++ b/plugins/gui/resources/stylesheet/light.qss
@@ -1153,6 +1153,7 @@ hal--ContextManagerWidget
qproperty-newViewIconStyle: "all->#FFFFFF";
qproperty-newViewIconPath: ":/icons/plus";
+ qproperty-newDirIconPath: ":/icons/plusdir";
qproperty-renameIconStyle: "all->#FFFFFF";
qproperty-renameIconPath: ":/icons/pen";
diff --git a/plugins/gui/src/context_manager_widget/context_manager_widget.cpp b/plugins/gui/src/context_manager_widget/context_manager_widget.cpp
index ef6414da129..05501bb4c6f 100644
--- a/plugins/gui/src/context_manager_widget/context_manager_widget.cpp
+++ b/plugins/gui/src/context_manager_widget/context_manager_widget.cpp
@@ -47,7 +47,7 @@ namespace hal
mOpenAction->setIcon(gui_utility::getStyledSvgIcon(mOpenIconStyle, mOpenIconPath));
mNewViewAction->setIcon(gui_utility::getStyledSvgIcon(mNewViewIconStyle, mNewViewIconPath));
- mNewDirectoryAction->setIcon(gui_utility::getStyledSvgIcon(mNewViewIconStyle, mNewViewIconPath));
+ mNewDirectoryAction->setIcon(gui_utility::getStyledSvgIcon(mNewViewIconStyle, mNewDirIconPath));
mRenameAction->setIcon(gui_utility::getStyledSvgIcon(mRenameIconStyle, mRenameIconPath));
mDuplicateAction->setIcon(gui_utility::getStyledSvgIcon(mDuplicateIconStyle, mDuplicateIconPath));
mDeleteAction->setIcon(gui_utility::getStyledSvgIcon(mDeleteIconStyle, mDeleteIconPath));
@@ -364,6 +364,11 @@ namespace hal
return mNewViewIconPath;
}
+ QString ContextManagerWidget::newDirIconPath() const
+ {
+ return mNewDirIconPath;
+ }
+
QString ContextManagerWidget::newViewIconStyle() const
{
return mNewViewIconStyle;
@@ -434,6 +439,11 @@ namespace hal
mNewViewIconPath = path;
}
+ void ContextManagerWidget::setNewDirIconPath(const QString& path)
+ {
+ mNewDirIconPath = path;
+ }
+
void ContextManagerWidget::setNewViewIconStyle(const QString& style)
{
mNewViewIconStyle = style;