Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SDK
KDiff3
Commits
473ddc45
Commit
473ddc45
authored
Aug 13, 2016
by
Michael Reeves
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*add missing include
*use KDialog::spacingHint for now.
parent
47152605
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
src/difftextwindow.cpp
src/difftextwindow.cpp
+1
-2
src/optiondialog.cpp
src/optiondialog.cpp
+12
-12
No files found.
src/difftextwindow.cpp
View file @
473ddc45
...
...
@@ -33,8 +33,7 @@
#include <QUrl>
#include <QMenu>
#include <QTextLayout>
#include <QMimeData>
#include <klocale.h>
#include <kfiledialog.h>
...
...
src/optiondialog.cpp
View file @
473ddc45
...
...
@@ -574,7 +574,7 @@ void OptionDialog::setupFontPage( void )
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
page
);
topLayout
->
setMargin
(
5
);
topLayout
->
setSpacing
(
spacingHint
()
);
topLayout
->
setSpacing
(
KDialog
::
spacingHint
()
);
QFont
defaultFont
=
#ifdef _WIN32
...
...
@@ -611,7 +611,7 @@ void OptionDialog::setupColorPage( void )
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
page
);
topLayout
->
setMargin
(
5
);
topLayout
->
setSpacing
(
spacingHint
()
);
topLayout
->
setSpacing
(
KDialog
::
spacingHint
()
);
QGridLayout
*
gbox
=
new
QGridLayout
();
...
...
@@ -760,7 +760,7 @@ void OptionDialog::setupEditPage( void )
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
page
);
topLayout
->
setMargin
(
5
);
topLayout
->
setSpacing
(
spacingHint
()
);
topLayout
->
setSpacing
(
KDialog
::
spacingHint
()
);
QGridLayout
*
gbox
=
new
QGridLayout
();
gbox
->
setColumnStretch
(
1
,
5
);
...
...
@@ -828,7 +828,7 @@ void OptionDialog::setupDiffPage( void )
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
page
);
topLayout
->
setMargin
(
5
);
topLayout
->
setSpacing
(
spacingHint
()
);
topLayout
->
setSpacing
(
KDialog
::
spacingHint
()
);
QGridLayout
*
gbox
=
new
QGridLayout
();
gbox
->
setColumnStretch
(
1
,
5
);
...
...
@@ -912,7 +912,7 @@ void OptionDialog::setupMergePage( void )
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
page
);
topLayout
->
setMargin
(
5
);
topLayout
->
setSpacing
(
spacingHint
()
);
topLayout
->
setSpacing
(
KDialog
::
spacingHint
()
);
QGridLayout
*
gbox
=
new
QGridLayout
();
gbox
->
setColumnStretch
(
1
,
5
);
...
...
@@ -968,7 +968,7 @@ void OptionDialog::setupMergePage( void )
++
line
;
{
QGridLayout
*
gbox
=
new
QGridLayout
(
pGroupBox
);
gbox
->
setMargin
(
spacingHint
());
gbox
->
setMargin
(
KDialog
::
spacingHint
());
gbox
->
setColumnStretch
(
1
,
10
);
int
line
=
0
;
...
...
@@ -994,7 +994,7 @@ void OptionDialog::setupMergePage( void )
++
line
;
{
QGridLayout
*
gbox
=
new
QGridLayout
(
pGroupBox
);
gbox
->
setMargin
(
spacingHint
()
);
gbox
->
setMargin
(
KDialog
::
spacingHint
()
);
gbox
->
setColumnStretch
(
1
,
10
);
int
line
=
0
;
...
...
@@ -1104,7 +1104,7 @@ void OptionDialog::setupDirectoryMergePage( void )
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
page
);
topLayout
->
setMargin
(
5
);
topLayout
->
setSpacing
(
spacingHint
()
);
topLayout
->
setSpacing
(
KDialog
::
spacingHint
()
);
QGridLayout
*
gbox
=
new
QGridLayout
();
gbox
->
setColumnStretch
(
1
,
5
);
...
...
@@ -1219,7 +1219,7 @@ void OptionDialog::setupDirectoryMergePage( void )
gbox
->
addWidget
(
pBG
,
line
,
0
,
1
,
2
);
QVBoxLayout
*
pBGLayout
=
new
QVBoxLayout
(
pBG
);
pBGLayout
->
setMargin
(
spacingHint
());
pBGLayout
->
setMargin
(
KDialog
::
spacingHint
());
OptionRadioButton
*
pBinaryComparison
=
new
OptionRadioButton
(
i18n
(
"Binary comparison"
),
true
,
"BinaryComparison"
,
&
m_options
.
m_bDmBinaryComparison
,
pBG
,
this
);
pBinaryComparison
->
setToolTip
(
i18n
(
"Binary comparison of each file. (Default)"
)
);
...
...
@@ -1360,7 +1360,7 @@ void OptionDialog::setupRegionalPage( void )
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
page
);
topLayout
->
setMargin
(
5
);
topLayout
->
setSpacing
(
spacingHint
()
);
topLayout
->
setSpacing
(
KDialog
::
spacingHint
()
);
QGridLayout
*
gbox
=
new
QGridLayout
();
gbox
->
setColumnStretch
(
1
,
5
);
...
...
@@ -1610,7 +1610,7 @@ void OptionDialog::setupIntegrationPage( void )
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
page
);
topLayout
->
setMargin
(
5
);
topLayout
->
setSpacing
(
spacingHint
()
);
topLayout
->
setSpacing
(
KDialog
::
spacingHint
()
);
QGridLayout
*
gbox
=
new
QGridLayout
();
gbox
->
setColumnStretch
(
2
,
5
);
...
...
@@ -1715,7 +1715,7 @@ void OptionDialog::setupKeysPage( void )
//QVBox *page = addVBoxPage( i18n("Keys"), i18n("KeyDialog" ),
// BarIcon("fonts", KIconLoader::SizeMedium ) );
//QVBoxLayout *topLayout = new QVBoxLayout( page, 0, spacingHint() );
//QVBoxLayout *topLayout = new QVBoxLayout( page, 0,
KDialog::
spacingHint() );
// new KFontChooser( page,"font",false/*onlyFixed*/,QStringList(),false,6 );
//m_pKeyDialog=new KKeyDialog( false, 0 );
//topLayout->addWidget( m_pKeyDialog );
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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