Commit 06a613c0 authored by Srikanth Tiyyagura's avatar Srikanth Tiyyagura

Changed the UI which contains labels and textfields into QFormLayout to set alignment issues

	modified:   krita/plugins/extensions/compose/wdg_compose.ui
	modified:   krita/plugins/extensions/dockers/advancedcolorselector/wdg_color_selector_settings.ui
	modified:   krita/plugins/extensions/dropshadow/wdg_dropshadow.ui
	modified:   krita/plugins/extensions/extensionsmanager/ExtensionInformationWidget.ui
	modified:   krita/plugins/extensions/histogram/wdghistogram.ui
	modified:   krita/plugins/extensions/imagesize/wdg_canvassize.ui

	// check these files once, I have some problem in these three files
		modified:   krita/plugins/extensions/imagesize/wdg_imagescale.ui
		modified:   krita/plugins/extensions/imagesize/wdg_imagesize.ui
		modified:   krita/plugins/extensions/imagesize/wdg_layersize.ui

	modified:   krita/plugins/extensions/imagesplit/dlg_imagesplit.cpp
	modified:   krita/plugins/extensions/imagesplit/wdg_imagesplit.ui
	modified:   krita/plugins/extensions/metadataeditor/editors/dublincore.ui
	modified:   krita/plugins/extensions/metadataeditor/editors/exif.ui
	modified:   krita/plugins/extensions/shearimage/wdg_shearimage.ui
	modified:   krita/plugins/extensions/tonemapping/operators/ashikhmin02/ashikhmin02_configuration_widget.ui
	modified:   krita/plugins/extensions/tonemapping/operators/icam/icam_configuration_widget.ui
	modified:   krita/plugins/extensions/tonemapping/operators/reinhard02/reinhard02_configuration_widget.ui
	modified:   krita/plugins/extensions/tonemapping/operators/reinhard05/reinhard05_configuration_widget.ui
	modified:   krita/plugins/extensions/tonemapping/operators/trilateral/trilateral_configuration_widget.ui
	modified:   krita/plugins/extensions/tonemapping/wdgtonemappingdialog.ui
	modified:   krita/plugins/filters/blur/wdg_lens_blur.ui
	modified:   krita/plugins/filters/blur/wdgblur.ui
	modified:   krita/plugins/filters/bumpmap/wdgbumpmap.ui
	modified:   krita/plugins/filters/colors/wdgcolortoalphabase.ui
	modified:   krita/plugins/filters/colorsfilters/wdg_hsv_adjustment.ui
	modified:   krita/plugins/filters/colorsfilters/wdg_perchannel.ui
	modified:   krita/plugins/filters/dodgeburn/DodgeBurnConfigurationBaseWidget.ui
	modified:   krita/plugins/filters/fastcolortransfer/wdgfastcolortransfer.ui
	modified:   krita/plugins/filters/noisefilter/wdgnoiseoptions.ui
        modified:   krita/plugins/filters/phongbumpmap/wdgphongbumpmap.ui
	modified:   krita/plugins/filters/randompickfilter/wdgrandompickoptions.ui
	modified:   krita/plugins/filters/unsharp/wdgunsharp.ui
	modified:   krita/plugins/filters/wavefilter/wdgwaveoptions.ui
	modified:   krita/plugins/formats/exr/exr_export_widget.ui
	modified:   krita/plugins/formats/jp2/kis_wdg_options_jp2.ui
	modified:   krita/plugins/formats/jpeg/kis_wdg_options_jpeg.ui
	modified:   krita/plugins/formats/pdf/pdfimportwidgetbase.ui
	modified:   krita/plugins/formats/ppm/kis_wdg_options_ppm.ui
	modified:   krita/plugins/formats/tiff/kis_wdg_options_tiff.ui
	modified:   krita/plugins/generators/solid/wdgcoloroptions.ui
	modified:   krita/plugins/paintops/chalk/wdgchalkoptions.ui
	modified:   krita/plugins/paintops/curvebrush/wdgcurveoptions.ui
	modified:   krita/plugins/paintops/dynadraw/wdgdynaoptions.ui
	modified:   krita/plugins/paintops/experiment/wdgexperimentoptions.ui
	modified:   krita/plugins/paintops/experiment/wdgshapeoptions.ui
	modified:   krita/plugins/paintops/gridbrush/wdggridoptions.ui
	modified:   krita/plugins/paintops/gridbrush/wdgshapeoptions.ui
	modified:   krita/plugins/paintops/hairy/wdgbristleoptions.ui
	modified:   krita/plugins/paintops/hairy/wdghairyeoptions.ui
	modified:   krita/plugins/paintops/hairy/wdgshapeoptions.ui
	modified:   krita/plugins/paintops/hatching/wdghatchingoptions.ui
	modified:   krita/plugins/paintops/libpaintop/sensors/SensorDistanceConfiguration.ui
	modified:   krita/plugins/paintops/libpaintop/sensors/SensorFadeConfiguration.ui
	modified:   krita/plugins/paintops/libpaintop/sensors/SensorTimeConfiguration.ui
	modified:   krita/plugins/paintops/libpaintop/wdgBrushSizeOptions.ui
	modified:   krita/plugins/paintops/libpaintop/wdgairbrush.ui
	modified:   krita/plugins/paintops/libpaintop/wdgautobrush.ui
	modified:   krita/plugins/paintops/libpaintop/wdgcoloroptions.ui
	modified:   krita/plugins/paintops/libpaintop/wdgcustombrush.ui
	modified:   krita/plugins/paintops/libpaintop/wdgfilteroption.ui
	modified:   krita/plugins/paintops/libpaintop/wdgtextbrush.ui
	modified:   krita/plugins/paintops/mypaint/wdgmypaintoptions.ui
	modified:   krita/plugins/paintops/particle/wdgparticleoptions.ui
	modified:   krita/plugins/paintops/sketch/wdgsketchoptions.ui
	modified:   krita/plugins/paintops/spray/wdgshapeoptions.ui
	modified:   krita/plugins/paintops/spray/wdgsprayoptions.ui
	modified:   krita/plugins/tools/defaulttools/wdgcolorpicker.ui
	modified:   krita/plugins/tools/selectiontools/kis_tool_select_magnetic_option_widget.ui
	modified:   krita/plugins/tools/tool_curves/wdg_tool_example.ui

	modified:   krita/ui/dialogs/kis_dlg_generator_layer.h           // A change in class name in this file

	modified:   krita/ui/forms/wdg_resolution.ui
	modified:   krita/ui/forms/wdgapplyprofile.ui
	modified:   krita/ui/forms/wdgautogradient.ui
	modified:   krita/ui/forms/wdgcolorsettings.ui
	modified:   krita/ui/forms/wdgcolorspaceselector.ui
	modified:   krita/ui/forms/wdgcustompattern.ui
	modified:   krita/ui/forms/wdgdisplaysettings.ui
	modified:   krita/ui/forms/wdgdlggeneratorlayer.ui
	modified:   krita/ui/forms/wdgfilternodecreation.ui
	modified:   krita/ui/forms/wdgfilterselector.ui
	modified:   krita/ui/forms/wdggeneralsettings.ui
	modified:   krita/ui/forms/wdggridsettings.ui
	modified:   krita/ui/forms/wdgimageproperties.ui
	modified:   krita/ui/forms/wdglayerproperties.ui
	modified:   krita/ui/forms/wdgmetadatamergestrategychooser.ui
	modified:   krita/ui/forms/wdgnewimage.ui
	modified:   krita/ui/forms/wdgpaintactioneditor.ui
	modified:   krita/ui/forms/wdgpaintopsettings.ui
	modified:   krita/ui/forms/wdgperformancesettings.ui
	modified:   krita/ui/forms/wdgselectionoptions.ui
	modified:   krita/ui/forms/wdgshapeoptions.ui
	modified:   krita/ui/forms/wdgtransformationeffect.ui
parent 146fa264
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
<width>398</width>
<height>298</height>
</rect>
</property>
<property name="windowTitle">
......@@ -15,48 +15,55 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Name:</string>
<layout class="QFormLayout" name="formLayout">
<property name="rowWrapPolicy">
<enum>QFormLayout::WrapLongRows</enum>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="labelName">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Description:</string>
</property>
</widget>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Name:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="labelName">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Description:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="labelDescription">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Version:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="labelVersion">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<widget class="QLabel" name="labelDescription">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Version:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="labelVersion">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="3" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
......
......@@ -44,9 +44,9 @@ DlgImagesplit::DlgImagesplit(KisView2* view,QString suffix,QStringList listMimeF
setMainWidget(m_page);
m_page->lineEdit->setText(suffix);
m_page->setMinimumWidth (200);
m_page->setMinimumHeight(160);
resize(m_page->sizeHint());
//m_page->setMinimumWidth (220);
//m_page->setMinimumHeight(160);
//resize(m_page->sizeHint());
m_page->cmbFileType->clear();
m_page->cmbFileType->addItems(listMimeFilter);
m_page->cmbFileType->setCurrentIndex(0);
......
......@@ -6,105 +6,135 @@
<rect>
<x>0</x>
<y>0</y>
<width>200</width>
<height>194</height>
<width>289</width>
<height>221</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>160</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="windowTitle">
<string>Image Size</string>
</property>
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>12</x>
<y>12</y>
<width>169</width>
<height>180</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="lblHorizontalSplitLines">
<property name="text">
<string>Horizontal Lines</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KIntSpinBox" name="intHorizontalSplitLines"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblVerticalSplitLines">
<property name="text">
<string>Vertical Lines </string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KIntSpinBox" name="intVerticalSplitLines"/>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="chkAutoSave">
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Autosave on Split</string>
</property>
</widget>
</item>
<item row="2" column="0">
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="lblSuffix">
<property name="text">
<string>Suffix </string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblFileType">
<property name="text">
<string>File Type</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbFileType"/>
</item>
</layout>
</item>
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>38</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QFormLayout" name="formLayout">
<property name="rowWrapPolicy">
<enum>QFormLayout::DontWrapRows</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="lblHorizontalSplitLines">
<property name="text">
<string>Horizontal Lines</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="KIntSpinBox" name="intHorizontalSplitLines"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblVerticalSplitLines">
<property name="text">
<string>Vertical Lines</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KIntSpinBox" name="intVerticalSplitLines"/>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="chkAutoSave">
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Autosave on Split</string>
</property>
</widget>
</item>
<item row="2" column="0">
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<property name="rowWrapPolicy">
<enum>QFormLayout::WrapLongRows</enum>
</property>
<property name="horizontalSpacing">
<number>-1</number>
</property>
<property name="verticalSpacing">
<number>-1</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="lblSuffix">
<property name="text">
<string>Suffix</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblFileType">
<property name="text">
<string>File Type</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbFileType"/>
</item>
</layout>
</item>
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>38</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
......@@ -112,6 +142,7 @@
<class>KIntSpinBox</class>
<extends>QSpinBox</extends>
<header>knuminput.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
......
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DublinCore</class>
<widget class="QWidget" name="DublinCore" >
<property name="geometry" >
<widget class="QWidget" name="DublinCore">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>321</height>
<width>396</width>
<height>317</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<layout class="QFormLayout" name="formLayout">
<property name="rowWrapPolicy">
<enum>QFormLayout::WrapLongRows</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Creator name:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>editCreator</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="editCreator" />
<item row="0" column="1">
<widget class="QLineEdit" name="editCreator"/>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Publisher:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>editPublisher</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="editPublisher" />
<item row="1" column="1">
<widget class="QLineEdit" name="editPublisher"/>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Rights:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>editRights</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLineEdit" name="editRights" />
<item row="2" column="1">
<widget class="QLineEdit" name="editRights"/>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Date:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>editDate</cstring>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QDateTimeEdit" name="editDate" />
<item row="3" column="1">
<widget class="QDateTimeEdit" name="editDate"/>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<item row="4" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Title:</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>editTitle</cstring>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QLineEdit" name="editTitle" />
<item row="4" column="1">
<widget class="QLineEdit" name="editTitle"/>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<item row="5" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Description:</string>
</property>
<property name="alignment" >
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>editDescription</cstring>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QTextEdit" name="editDescription" />
<item row="5" column="1">
<widget class="QTextEdit" name="editDescription"/>
</item>
</layout>
</item>
......
<ui version="4.0" stdsetdef="1" >
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<class>WdgShearImage</class>
<widget class="QWidget" name="WdgShearImage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>323</width>
<height>114</height>
</rect>
</property>
<property name="windowTitle" >
<string>Shear Image</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QGroupBox" name="grpPixelDimensions" >
<property name="title" >
<string>&amp;Shear Image</string>
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>WdgShearImage</class>
<widget class="QWidget" name="WdgShearImage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>218</width>
<height>111</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>218</width>
<height>110</height>
</size>
</property>
<property name="windowTitle">
<string>Shear Image</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="grpPixelDimensions">
<property name="title">
<string>&amp;Shear Image</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QFormLayout" name="formLayout">
<property name="rowWrapPolicy">
<enum>QFormLayout::WrapLongRows</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="lblShearAngleX">
<property name="text">
<string>Shear angle X:</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="1" >
<widget class="KIntNumInput" name="shearAngleX" >
<property name="minimum" >
<number>-45</number>