KRestrictedLine > QLineEdit

parent 6ec5eb09
......@@ -21,11 +21,11 @@
#include "kdenlivesettings.h"
#include <QMouseEvent>
#include <QLineEdit>
#include <kglobal.h>
#include <klocale.h>
#include <kdebug.h>
#include <krestrictedline.h>
#include <KColorScheme>
#include <KGlobalSettings>
......
......@@ -6,74 +6,74 @@
<rect>
<x>0</x>
<y>0</y>
<width>323</width>
<height>557</height>
<width>344</width>
<height>720</height>
</rect>
</property>
<property name="windowTitle">
<string>Clip Properties</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="4">
<item row="0" column="0" colspan="5">
<widget class="QLabel" name="clip_thumb">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0" colspan="4">
<item row="1" column="0" colspan="5">
<widget class="QLabel" name="label_path">
<property name="text">
<string>Path</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="4">
<item row="2" column="0" colspan="5">
<widget class="QLineEdit" name="clip_path">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" colspan="4">
<item row="3" column="0" colspan="5">
<widget class="QLabel" name="label_description">
<property name="text">
<string>Description</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="4">
<item row="4" column="0" colspan="5">
<widget class="QLineEdit" name="clip_description"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_duration">
<item row="5" column="3">
<widget class="QLabel" name="label_size">
<property name="text">
<string>Duration</string>
<string>Size:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="KRestrictedLine" name="clip_duration">
<property name="inputMask">
<string>99:99:99:99; </string>
<item row="5" column="0">
<widget class="QLabel" name="label_duration">
<property name="text">
<string>Duration</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QLabel" name="label_size">
<item row="5" column="4">
<widget class="QLabel" name="clip_filesize">
<property name="text">
<string>Size:</string>
<string>File size</string>
</property>
</widget>
</item>
<item row="5" column="3">
<widget class="QLabel" name="clip_filesize">
<item row="6" column="0" colspan="5">
<widget class="KUrlLabel" name="clip_license">
<property name="text">
<string>File size</string>
<string/>
</property>
</widget>
</item>
<item row="7" column="0" colspan="4">
<item row="7" column="0" colspan="5">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">
<enum>QTabWidget::South</enum>
......@@ -226,11 +226,7 @@
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="KRestrictedLine" name="slide_duration">
<property name="inputMask">
<string>99:99:99:99; </string>
</property>
</widget>
<widget class="QLineEdit" name="slide_duration"/>
</item>
<item>
<widget class="QSpinBox" name="slide_duration_frames">
......@@ -270,11 +266,7 @@
<item row="5" column="1" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="KRestrictedLine" name="luma_duration">
<property name="inputMask">
<string>99:99:99:99; </string>
</property>
</widget>
<widget class="QLineEdit" name="luma_duration"/>
</item>
<item>
<widget class="QSpinBox" name="luma_duration_frames">
......@@ -487,8 +479,8 @@
</item>
<item row="1" column="3">
<widget class="KSeparator" name="kseparator">
<property name="orientation">
<enum>Qt::Vertical</enum>
<property name="orientation" stdset="0">
<number>5</number>
</property>
</widget>
</item>
......@@ -642,7 +634,7 @@
<string>Advanced</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
<item row="13" column="2">
<item row="13" column="3">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
......@@ -662,7 +654,7 @@
</property>
</widget>
</item>
<item row="7" column="2">
<item row="7" column="3">
<widget class="QSpinBox" name="clip_vindex">
<property name="enabled">
<bool>false</bool>
......@@ -675,7 +667,7 @@
</property>
</widget>
</item>
<item row="8" column="2">
<item row="8" column="3">
<widget class="QSpinBox" name="clip_aindex">
<property name="enabled">
<bool>false</bool>
......@@ -702,14 +694,14 @@
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QCheckBox" name="clip_force_aindex">
<item row="3" column="1">
<widget class="QCheckBox" name="clip_force_progressive">
<property name="text">
<string>Audio index</string>
<string>Force scanning</string>
</property>
</widget>
</item>
<item row="6" column="2">
<item row="6" column="3">
<widget class="QSpinBox" name="clip_threads">
<property name="enabled">
<bool>false</bool>
......@@ -722,10 +714,10 @@
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="clip_force_progressive">
<item row="8" column="1">
<widget class="QCheckBox" name="clip_force_aindex">
<property name="text">
<string>Force scanning</string>
<string>Audio index</string>
</property>
</widget>
</item>
......@@ -736,16 +728,6 @@
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QDoubleSpinBox" name="clip_framerate">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximum">
<double>1000.0</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="clip_force_out">
<property name="text">
......@@ -753,13 +735,13 @@
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="KRestrictedLine" name="clip_out">
<item row="2" column="3">
<widget class="QDoubleSpinBox" name="clip_framerate">
<property name="enabled">
<bool>false</bool>
</property>
<property name="inputMask">
<string>99:99:99:99; </string>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
</widget>
</item>
......@@ -770,21 +752,35 @@
</property>
</widget>
</item>
<item row="9" column="2">
<item row="9" column="3">
<widget class="KComboBox" name="clip_colorspace">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="10" column="1" colspan="2">
<item row="5" column="1">
<widget class="QCheckBox" name="clip_force_fieldorder">
<property name="text">
<string>Force field order</string>
</property>
</widget>
</item>
<item row="10" column="1" colspan="3">
<widget class="QCheckBox" name="clip_full_luma">
<property name="text">
<string>Full luma range</string>
</property>
</widget>
</item>
<item row="1" column="2">
<item row="5" column="3">
<widget class="KComboBox" name="clip_fieldorder">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="3">
<layout class="QHBoxLayout" name="horizontalLayout_aspect">
<item>
<widget class="QSpinBox" name="clip_ar_num">
......@@ -827,20 +823,6 @@
</item>
</layout>
</item>
<item row="5" column="1">
<widget class="QCheckBox" name="clip_force_fieldorder">
<property name="text">
<string>Force field order</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="KComboBox" name="clip_fieldorder">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="11" column="1">
<widget class="QCheckBox" name="clip_force_transparency">
<property name="text">
......@@ -848,7 +830,7 @@
</property>
</widget>
</item>
<item row="11" column="2">
<item row="11" column="3">
<widget class="KComboBox" name="clip_transparency">
<item>
<property name="text">
......@@ -862,18 +844,21 @@
</item>
</widget>
</item>
<item row="3" column="2">
<item row="3" column="3">
<widget class="KComboBox" name="clip_progressive">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLineEdit" name="clip_out"/>
</item>
</layout>
</widget>
</widget>
</item>
<item row="8" column="1" colspan="2">
<item row="8" column="2" colspan="2">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
......@@ -886,7 +871,7 @@
</property>
</spacer>
</item>
<item row="9" column="0" colspan="4">
<item row="9" column="0" colspan="5">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
......@@ -896,12 +881,8 @@
</property>
</widget>
</item>
<item row="6" column="0" colspan="4">
<widget class="KUrlLabel" name="clip_license">
<property name="text">
<string/>
</property>
</widget>
<item row="5" column="1">
<widget class="QLineEdit" name="clip_duration"/>
</item>
</layout>
</widget>
......@@ -916,26 +897,17 @@
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KSeparator</class>
<extends>QFrame</extends>
<header>kseparator.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>KUrlLabel</class>
<extends>QLabel</extends>
<header>kurllabel.h</header>
</customwidget>
<customwidget>
<class>KRestrictedLine</class>
<extends>QLineEdit</extends>
<header>krestrictedline.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
......
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>294</width>
<height>507</height>
<width>330</width>
<height>582</height>
</rect>
</property>
<property name="windowTitle">
......@@ -33,7 +33,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="method_mime">
<property name="text">
<string>Mimetype</string>
<string>&amp;Mimetype</string>
</property>
<property name="checked">
<bool>true</bool>
......@@ -43,7 +43,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="method_pattern">
<property name="text">
<string>Filename pattern</string>
<string>Fi&amp;lename pattern</string>
</property>
</widget>
</item>
......@@ -131,11 +131,7 @@
<item row="2" column="2">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="KRestrictedLine" name="clip_duration">
<property name="inputMask">
<string>99:99:99:99; </string>
</property>
</widget>
<widget class="QLineEdit" name="clip_duration"/>
</item>
<item>
<widget class="QSpinBox" name="clip_duration_frames">
......@@ -175,14 +171,7 @@
<item row="5" column="2" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="KRestrictedLine" name="luma_duration">
<property name="enabled">
<bool>false</bool>
</property>
<property name="inputMask">
<string>99:99:99:99; </string>
</property>
</widget>
<widget class="QLineEdit" name="luma_duration"/>
</item>
<item>
<widget class="QSpinBox" name="luma_duration_frames">
......@@ -321,20 +310,11 @@
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>QLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KRestrictedLine</class>
<extends>QLineEdit</extends>
<header>krestrictedline.h</header>
</customwidget>
<customwidget>
<class>KUrlRequester</class>
<extends>QFrame</extends>
<header>kurlrequester.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
......
......@@ -760,28 +760,21 @@
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="KRestrictedLine" name="title_duration">
<property name="inputMask">
<string>99:99:99:99</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3">
<item row="2" column="0" colspan="3">
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="0">
<item row="3" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Zoom:</string>
</property>
</widget>
</item>
<item row="2" column="2">
<item row="3" column="2">
<widget class="QSpinBox" name="itemzoom">
<property name="maximum">
<number>100000</number>
......@@ -791,28 +784,28 @@
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_15">
<item row="9" column="0">
<widget class="QLabel" name="label_21">
<property name="text">
<string>Rotate X:</string>
<string>Rotate Z:</string>
</property>
</widget>
</item>
<item row="6" column="0">
<item row="7" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>Rotate Y:</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_21">
<item row="4" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Rotate Z:</string>
<string>Rotate X:</string>
</property>
</widget>
</item>
<item row="9" column="0" colspan="3">
<item row="10" column="0" colspan="3">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QToolButton" name="itemleft">
......@@ -871,7 +864,7 @@
</item>
</layout>
</item>
<item row="10" column="0" colspan="3">
<item row="11" column="0" colspan="3">
<widget class="QFrame" name="effect_frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
......@@ -973,22 +966,22 @@
</item>
<item row="3" column="2">
<widget class="QSpinBox" name="shadow_x">
<property name="value">
<number>8</number>
</property>
<property name="maximum">
<number>5000</number>
</property>
<property name="value">
<number>8</number>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QSpinBox" name="shadow_y">
<property name="value">
<number>8</number>
</property>
<property name="maximum">
<number>5000</number>
</property>
<property name="value">
<number>8</number>
</property>
</widget>
</item>
</layout>
......@@ -1028,12 +1021,12 @@
<property name="minimum">
<number>1</number>
</property>
<property name="value">
<number>5</number>
</property>
<property name="maximum">
<number>5000</number>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
</item>
<item row="1" column="0">
......@@ -1073,7 +1066,7 @@
</layout>
</widget>
</item>
<item row="11" column="0" colspan="3">
<item row="12" column="0" colspan="3">
<widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
......@@ -1230,7 +1223,7 @@
</widget>
</widget>
</item>
<item row="6" column="2">
<item row="7" column="2">
<widget class="QSpinBox" name="itemrotatey">
<property name="minimum">
<number>-360</number>
......@@ -1240,7 +1233,7 @@
</property>
</widget>
</item>
<item row="3" column="2">
<item row="4" column="2">
<widget class="QSpinBox" name="itemrotatex">
<property name="minimum">
<number>-360</number>
......@@ -1250,7 +1243,7 @@
</property>
</widget>
</item>
<item row="8" column="2">
<item row="9" column="2">
<widget class="QSpinBox" name="itemrotatez">
<property name="minimum">
<number>-360</number>
......@@ -1260,6 +1253,9 @@
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLineEdit" name="title_duration"/>
</item>
</layout>
</widget>
</widget>
......@@ -1267,11 +1263,6 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KRestrictedLine</class>
<extends>QLineEdit</extends>
<header>krestrictedline.h</header>
</customwidget>
<customwidget>
<class>KColorButton</class>
<extends>QPushButton</extends>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment