Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F36276267
test_kdhorizontalline.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
759 B
Subscribers
None
test_kdhorizontalline.cpp
View Options
/*
test_kdhorizontalline.cpp
This file is part of libkleopatra's test suite.
SPDX-FileCopyrightText: 2008 Klarälvdalens Datakonsult AB
SPDX-License-Identifier: GPL-2.0-only
*/
#include
"ui/kdhorizontalline.h"
#include
<QApplication>
#include
<QGridLayout>
#include
<QLabel>
#include
<QLineEdit>
int
main
(
int
argc
,
char
*
argv
[])
{
QApplication
app
(
argc
,
argv
);
QWidget
w
;
QGridLayout
glay
(
&
w
);
KDHorizontalLine
hl1
(
QStringLiteral
(
"Foo"
),
&
w
);
glay
.
addWidget
(
&
hl1
,
0
,
0
,
1
,
2
);
QLabel
lb1
(
QStringLiteral
(
"Foo 1:"
),
&
w
);
glay
.
addWidget
(
&
lb1
,
1
,
0
);
QLineEdit
le1
(
&
w
);
glay
.
addWidget
(
&
le1
,
1
,
1
);
glay
.
setColumnStretch
(
1
,
1
);
glay
.
setRowStretch
(
2
,
1
);
w
.
show
();
return
app
.
exec
();
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Feb 22, 6:41 PM (9 m, 2 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d3/c4/a92012c2f68c70e23805d0498229
Attached To
rLIBKLEO Libkleo
Event Timeline
Log In to Comment