Commit e61403cd authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Make title widget smaller

related to #412
parent a60666fd
......@@ -6,14 +6,30 @@
<rect>
<x>0</x>
<y>0</y>
<width>1281</width>
<height>1306</height>
<width>1293</width>
<height>895</height>
</rect>
</property>
<property name="windowTitle">
<string>Title Clip</string>
</property>
<layout class="QGridLayout" name="gridLayout_9">
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<widget class="QFrame" name="frame_toolbar">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QFrame" name="frame_properties">
<property name="sizePolicy">
......@@ -41,20 +57,9 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="13">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Z-Index:</string>
</property>
</widget>
</item>
<item row="0" column="12">
<widget class="QToolButton" name="zBottom">
<property name="text">
<string/>
</property>
</widget>
</item>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="4">
<widget class="QLabel" name="lWidth">
<property name="text">
......@@ -72,26 +77,17 @@
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QSpinBox" name="value_y">
<property name="minimum">
<number>-5000</number>
</property>
<property name="maximum">
<number>5000</number>
<item row="0" column="9">
<widget class="QToolButton" name="zUp">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="origin_x_left">
<item row="0" column="10">
<widget class="QToolButton" name="zDown">
<property name="text">
<string>+X</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
<string/>
</property>
</widget>
</item>
......@@ -105,10 +101,20 @@
</property>
</widget>
</item>
<item row="0" column="9">
<widget class="QToolButton" name="zUp">
<item row="0" column="6">
<widget class="QLabel" name="label_19">
<property name="text">
<string/>
<string>H</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QSpinBox" name="value_y">
<property name="minimum">
<number>-5000</number>
</property>
<property name="maximum">
<number>5000</number>
</property>
</widget>
</item>
......@@ -122,6 +128,20 @@
</property>
</widget>
</item>
<item row="0" column="12">
<widget class="QToolButton" name="zBottom">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="11">
<widget class="QToolButton" name="zTop">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="8">
<spacer name="horizontalSpacer_3">
<property name="orientation">
......@@ -135,17 +155,10 @@
</property>
</spacer>
</item>
<item row="0" column="11">
<widget class="QToolButton" name="zTop">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="origin_y_top">
<item row="0" column="0">
<widget class="QPushButton" name="origin_x_left">
<property name="text">
<string>+Y</string>
<string>+X</string>
</property>
<property name="checkable">
<bool>true</bool>
......@@ -165,247 +178,82 @@
</property>
</widget>
</item>
<item row="0" column="10">
<widget class="QToolButton" name="zDown">
<item row="0" column="13">
<widget class="QLabel" name="label_12">
<property name="text">
<string/>
<string>Z-Index:</string>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QLabel" name="label_19">
<item row="0" column="2">
<widget class="QPushButton" name="origin_y_top">
<property name="text">
<string>H</string>
<string>+Y</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="topMargin">
<number>0</number>
<item row="1" column="0" colspan="2">
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<item>
<widget class="QToolButton" name="buttonFitZoom">
<property name="text">
<string>V</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonRealSize">
<property name="text">
<string>V</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="zoom_slider">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>1000</number>
</property>
<property name="pageStep">
<number>30</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="zoom_spin">
<property name="keyboardTracking">
<bool>false</bool>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>1000</number>
<widget class="QWidget" name="verticalLayoutWidget">
<layout class="QGridLayout" name="gridLayout_16" rowstretch="0,0,0,0">
<property name="bottomMargin">
<number>0</number>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
<property name="horizontalSpacing">
<number>6</number>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="displayBg">
<property name="text">
<string>Show background</string>
<property name="verticalSpacing">
<number>0</number>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="bgBox">
<item>
<property name="text">
<string>Checkered</string>
</property>
<item row="3" column="5">
<widget class="QCheckBox" name="use_grid">
<property name="text">
<string>Use grid</string>
</property>
</widget>
</item>
<item>
<property name="text">
<string>Black</string>
</property>
<item row="3" column="4">
<widget class="QToolButton" name="buttonSelectRects">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item>
<property name="text">
<string>White</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="Line" name="line_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>Template:</string>
</property>
</widget>
</item>
<item>
<widget class="KComboBox" name="templateBox">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0">
<widget class="QFrame" name="frame_toolbar">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QSplitter" name="splitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<layout class="QGridLayout" name="gridLayout_16" rowstretch="0,0,0,0">
<property name="spacing">
<number>6</number>
</property>
<item row="3" column="2">
<widget class="QToolButton" name="buttonUnselectAll">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>N</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QToolButton" name="buttonSelectImages">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>I</string>
</property>
</widget>
</item>
<item row="3" column="10">
<spacer name="spacerBottomStack">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<item row="3" column="0">
<widget class="QToolButton" name="buttonSelectImages">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>I</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="11">
<widget class="QGraphicsView" name="graphicsView">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="3" column="5">
<widget class="QCheckBox" name="use_grid">
<property name="text">
<string>Use grid</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QToolButton" name="buttonSelectText">
<property name="enabled">
......@@ -445,6 +293,36 @@
</property>
</widget>
</item>
<item row="0" column="0" colspan="11">
<layout class="QVBoxLayout" name="messageLayout">
<property name="spacing">
<number>0</number>
</property>
</layout>
</item>
<item row="3" column="2">
<widget class="QToolButton" name="buttonUnselectAll">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>N</string>
</property>
</widget>
</item>
<item row="3" column="10">
<spacer name="spacerBottomStack">
<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="3" column="6">
<widget class="QCheckBox" name="show_guides">
<property name="text">
......@@ -452,13 +330,13 @@
</property>
</widget>
</item>
<item row="3" column="4">
<widget class="QToolButton" name="buttonSelectRects">
<property name="enabled">
<bool>false</bool>
<item row="3" column="3">
<widget class="QToolButton" name="buttonSelectAll">
<property name="whatsThis">
<string>Selects all items on the canvas.</string>
</property>
<property name="text">
<string>R</string>
<string>A</string>
</property>
</widget>
</item>
......@@ -473,14 +351,14 @@
<property name="flat">
<bool>false</bool>
</property>
<property name="color" stdset="0">
<property name="color">
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="defaultColor" stdset="0">
<property name="defaultColor">
<color>
<red>255</red>
<green>0</green>
......@@ -489,419 +367,614 @@
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QToolButton" name="buttonSelectAll">
<property name="whatsThis">
<string>Selects all items on the canvas.</string>
</property>
<property name="text">
<string>A</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="11">
<layout class="QVBoxLayout" name="messageLayout">
<property name="spacing">
<number>0</number>
</property>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="1">
<widget class="QLineEdit" name="title_duration"/>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>Rotate Y:</string>
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="1" column="1" rowspan="2">
<widget class="QSpinBox" name="itemzoom">
<property name="maximum">
<number>100000</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_21">
<item row="2" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Rotate Z:</string>
<string>Zoom</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<item row="0" column="1">
<widget class="QLineEdit" name="title_duration"/>
</item>
<item row="9" column="1">
<widget class="QSpinBox" name="itemrotatez">
<property name="minimum">
<number>-360</number>
</property>
<property name="maximum">
<number>360</number>
</property>
</widget>
<item row="3" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_15">
<property name="text">
<string>Rotate X</string>
</property>