Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
f0a92d7f
Commit
f0a92d7f
authored
Dec 08, 2016
by
Laurent Montel
Browse files
Remove duplicate margin + extra widget
parent
5b85e93f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/titler/unicodedialog.cpp
View file @
f0a92d7f
...
...
@@ -28,11 +28,8 @@ UnicodeDialog::UnicodeDialog(InputMethod inputMeth, QWidget *parent)
:
QDialog
(
parent
)
{
setWindowTitle
(
i18n
(
"Details"
)
);
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
);
QWidget
*
mainWidget
=
new
QWidget
(
this
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
;
setLayout
(
mainLayout
);
mainLayout
->
addWidget
(
mainWidget
);
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
,
this
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
QPushButton
*
okButton
=
buttonBox
->
button
(
QDialogButtonBox
::
Ok
);
okButton
->
setDefault
(
true
);
okButton
->
setShortcut
(
Qt
::
CTRL
|
Qt
::
Key_Return
);
...
...
src/ui/unicodewidget_ui.ui
View file @
f0a92d7f
...
...
@@ -20,6 +20,18 @@
<string>
Enter Unicode value
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<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>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QFrame"
name=
"frame"
>
<property
name=
"sizePolicy"
>
...
...
@@ -265,7 +277,7 @@
<enum>
QFrame::Plain
</enum>
</property>
<property
name=
"documentTitle"
>
<string
notr=
"true"
></string
>
<string
notr=
"true"
/
>
</property>
<property
name=
"readOnly"
>
<bool>
true
</bool>
...
...
@@ -319,13 +331,6 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>
QLineEdit
</class>
<extends>
QLineEdit
</extends>
<header>
klineedit.h
</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment