[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra] krita/plugins/extensions/dockers/defaultdockers: Make
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2011-07-25 7:57:11
Message-ID: 20110725075711.E31ACA60B4 () git ! kde ! org
[Download RAW message or body]
Git commit b4f01ee29dd70d4fd1e26c0f0f420a57a4a65782 by Boudewijn Rempt.
Committed on 25/07/2011 at 09:56.
Pushed by rempt into branch 'master'.
Make create node buttons a bit smaller
For now -- this should at least give us some space until we find the
right layout.
M +0 -10 krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp
M +61 -61 krita/plugins/extensions/dockers/defaultdockers/wdglayerbox.ui
http://commits.kde.org/calligra/b4f01ee29dd70d4fd1e26c0f0f420a57a4a65782
diff --git a/krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp \
b/krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp index \
f36b95f..ce2d050 100644
--- a/krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp
+++ b/krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp
@@ -116,7 +116,6 @@ KisLayerBox::KisLayerBox()
actions[1]->trigger(); //TODO save/load previous state
m_wdgLayerBox->bnViewMode->setMenu(m_viewModeMenu);
- m_wdgLayerBox->bnViewMode->setIconSize(QSize(22,22));
m_wdgLayerBox->bnViewMode->setPopupMode(QToolButton::InstantPopup);
m_wdgLayerBox->bnViewMode->setIcon(KIcon("view-choose"));
m_wdgLayerBox->bnViewMode->setText(i18n("View mode"));
@@ -163,39 +162,30 @@ KisLayerBox::KisLayerBox()
connect(m_wdgLayerBox->cmbComposite, SIGNAL(activated(int)), \
SLOT(slotCompositeOpChanged(int)));
m_wdgLayerBox->bnAddPaintLayer->setIcon(BarIcon("document-new"));
- m_wdgLayerBox->bnAddPaintLayer->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddPaintLayer, SIGNAL(clicked()), \
SLOT(slotNewPaintLayer()));
m_wdgLayerBox->bnAddGroupLayer->setIcon(BarIcon("folder-new"));
- m_wdgLayerBox->bnAddGroupLayer->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddGroupLayer, SIGNAL(clicked()), \
SLOT(slotNewGroupLayer()));
m_wdgLayerBox->bnAddCloneLayer->setIcon(BarIcon("edit-copy"));
- m_wdgLayerBox->bnAddCloneLayer->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddCloneLayer, SIGNAL(clicked()), \
SLOT(slotNewCloneLayer()));
m_wdgLayerBox->bnAddShapeLayer->setIcon(BarIcon("bookmaer-new"));
- m_wdgLayerBox->bnAddShapeLayer->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddShapeLayer, SIGNAL(clicked()), \
SLOT(slotNewShapeLayer()));
m_wdgLayerBox->bnAddFilterLayer->setIcon(BarIcon("view-filter"));
- m_wdgLayerBox->bnAddFilterLayer->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddFilterLayer, SIGNAL(clicked()), \
SLOT(slotNewAdjustmentLayer()));
m_wdgLayerBox->bnAddGeneratedLayer->setIcon(BarIcon("view-filter"));
- m_wdgLayerBox->bnAddGeneratedLayer->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddGeneratedLayer, SIGNAL(clicked()), \
SLOT(slotNewGeneratorLayer()));
m_wdgLayerBox->bnAddTransparencyMask->setIcon(BarIcon("edit-copy"));
- m_wdgLayerBox->bnAddTransparencyMask->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddTransparencyMask, SIGNAL(clicked()), \
SLOT(slotNewTransparencyMask()));
m_wdgLayerBox->bnAddFilterMask->setIcon(BarIcon("bookmarks"));
- m_wdgLayerBox->bnAddFilterMask->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddFilterMask, SIGNAL(clicked()), \
SLOT(slotNewEffectMask()));
m_wdgLayerBox->bnAddLocalSelectionMask->setIcon(BarIcon("edit-paste"));
- m_wdgLayerBox->bnAddLocalSelectionMask->setIconSize(QSize(22,22));
connect(m_wdgLayerBox->bnAddLocalSelectionMask, SIGNAL(clicked()), \
SLOT(slotNewSelectionMask()));
m_nodeModel = new KisNodeModel(this);
diff --git a/krita/plugins/extensions/dockers/defaultdockers/wdglayerbox.ui \
b/krita/plugins/extensions/dockers/defaultdockers/wdglayerbox.ui index \
3c85084..aeafc93 100644
--- a/krita/plugins/extensions/dockers/defaultdockers/wdglayerbox.ui
+++ b/krita/plugins/extensions/dockers/defaultdockers/wdglayerbox.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>258</width>
- <height>470</height>
+ <height>492</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
@@ -74,14 +74,14 @@
<widget class="QToolButton" name="bnViewMode">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="text">
@@ -89,8 +89,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -109,14 +109,14 @@
<widget class="KisDropButton" name="bnAddPaintLayer">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -130,8 +130,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -143,14 +143,14 @@
<widget class="KisDropButton" name="bnAddGroupLayer">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -167,8 +167,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -180,14 +180,14 @@
<widget class="KisDropButton" name="bnAddFilterLayer">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -201,8 +201,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -214,14 +214,14 @@
<widget class="KisDropButton" name="bnAddCloneLayer">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -235,8 +235,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -248,14 +248,14 @@
<widget class="KisDropButton" name="bnAddGeneratedLayer">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -269,8 +269,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -282,14 +282,14 @@
<widget class="KisDropButton" name="bnAddShapeLayer">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -303,8 +303,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -323,14 +323,14 @@
<widget class="KisDropButton" name="bnAddTransparencyMask">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -344,8 +344,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -357,14 +357,14 @@
<widget class="KisDropButton" name="bnAddFilterMask">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -378,8 +378,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
@@ -391,14 +391,14 @@
<widget class="KisDropButton" name="bnAddLocalSelectionMask">
<property name="minimumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>32</width>
- <height>32</height>
+ <width>22</width>
+ <height>22</height>
</size>
</property>
<property name="toolTip">
@@ -412,8 +412,8 @@
</property>
<property name="iconSize">
<size>
- <width>22</width>
- <height>22</height>
+ <width>16</width>
+ <height>16</height>
</size>
</property>
<property name="autoRaise">
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic