buttonItalic->setIcon(KIcon("format-text-italic"));
buttonUnder->setIcon(KIcon("format-text-underline"));
+ itemhcenter->setIcon(KIcon("kdenlive-align-hor"));
+ itemhcenter->setToolTip(i18n("Align item horizontally"));
+ itemvcenter->setIcon(KIcon("kdenlive-align-vert"));
+ itemvcenter->setToolTip(i18n("Align item vertically"));
+
QHBoxLayout *layout = new QHBoxLayout;
frame_toolbar->setLayout(layout);
QToolBar *m_toolbar = new QToolBar("titleToolBar", this);
- m_buttonRect = m_toolbar->addAction(KIcon("insert-rect"), i18n("Add Rectangle"));
+ m_buttonRect = m_toolbar->addAction(KIcon("kdenlive-insert-rect"), i18n("Add Rectangle"));
m_buttonRect->setCheckable(true);
connect(m_buttonRect, SIGNAL(triggered()), this, SLOT(slotRectTool()));
m_buttonImage->setCheckable(false);
connect(m_buttonImage, SIGNAL(triggered()), this, SLOT(slotImageTool()));
- m_buttonCursor = m_toolbar->addAction(KIcon("select-rectangular"), i18n("Selection Tool"));
+ m_buttonCursor = m_toolbar->addAction(KIcon("transform-move"), i18n("Selection Tool"));
m_buttonCursor->setCheckable(true);
connect(m_buttonCursor, SIGNAL(triggered()), this, SLOT(slotSelectTool()));
<rect>
<x>0</x>
<y>0</y>
- <width>227</width>
+ <width>283</width>
<height>154</height>
</rect>
</property>
<attribute name="label" >
<string>BasicOperations</string>
</attribute>
- <layout class="QGridLayout" >
- <item row="2" column="0" colspan="3" >
- <layout class="QVBoxLayout" >
- <item>
- <layout class="QHBoxLayout" >
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="label_14" >
- <property name="text" >
- <string>Zoom:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="KIntSpinBox" name="itemzoom" >
- <property name="maximum" >
- <number>300</number>
- </property>
- <property name="value" >
- <number>100</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
+ <layout class="QGridLayout" name="gridLayout_3" >
+ <item row="0" column="0" colspan="3" >
+ <layout class="QHBoxLayout" name="horizontalLayout" >
<item>
- <layout class="QHBoxLayout" >
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="label_15" >
- <property name="text" >
- <string>Rotate:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="KIntSpinBox" name="itemrotate" >
- <property name="minimum" >
- <number>-360</number>
- </property>
- <property name="maximum" >
- <number>360</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <spacer>
+ <spacer name="horizontalSpacer_4" >
<property name="orientation" >
- <enum>Qt::Vertical</enum>
+ <enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
- <width>20</width>
- <height>40</height>
+ <width>161</width>
+ <height>26</height>
</size>
</property>
</spacer>
</item>
+ <item>
+ <widget class="QToolButton" name="itemhcenter" >
+ <property name="text" >
+ <string>...</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="itemvcenter" >
+ <property name="text" >
+ <string>...</string>
+ </property>
+ </widget>
+ </item>
</layout>
</item>
- <item row="0" column="1" >
- <widget class="QToolButton" name="itemvcenter" >
+ <item row="1" column="0" >
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="1" >
+ <widget class="QLabel" name="label_14" >
<property name="text" >
- <string>...</string>
+ <string>Zoom:</string>
</property>
</widget>
</item>
- <item row="0" column="0" >
- <widget class="QToolButton" name="itemhcenter" >
+ <item row="1" column="2" >
+ <widget class="KIntSpinBox" name="itemzoom" >
+ <property name="maximum" >
+ <number>300</number>
+ </property>
+ <property name="value" >
+ <number>100</number>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" >
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="1" >
+ <widget class="QLabel" name="label_15" >
<property name="text" >
- <string>...</string>
+ <string>Rotate:</string>
</property>
</widget>
</item>
+ <item row="2" column="2" >
+ <widget class="KIntSpinBox" name="itemrotate" >
+ <property name="minimum" >
+ <number>-360</number>
+ </property>
+ <property name="maximum" >
+ <number>360</number>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" colspan="3" >
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
</layout>
</widget>
<widget class="QWidget" name="Background" >
<rect>
<x>0</x>
<y>0</y>
- <width>227</width>
+ <width>283</width>
<height>154</height>
</rect>
</property>
<rect>
<x>0</x>
<y>0</y>
- <width>229</width>
+ <width>264</width>
<height>212</height>
</rect>
</property>