Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
40796af9
Kaydet (Commit)
40796af9
authored
Eki 10, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
map GtkTextView to VCLMultiLineEdit
Change-Id: I05c4b4d50400035a2542e375a773ed6d867187e6
üst
940db0cb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
edit.cxx
vcl/source/control/edit.cxx
+3
-1
builder.cxx
vcl/source/window/builder.cxx
+3
-0
No files found.
vcl/source/control/edit.cxx
Dosyayı görüntüle @
40796af9
...
@@ -230,8 +230,10 @@ void Edit::SetMaxWidthInChars(sal_Int32 nMinWidthInChars)
...
@@ -230,8 +230,10 @@ void Edit::SetMaxWidthInChars(sal_Int32 nMinWidthInChars)
bool
Edit
::
set_property
(
const
rtl
::
OString
&
rKey
,
const
rtl
::
OString
&
rValue
)
bool
Edit
::
set_property
(
const
rtl
::
OString
&
rKey
,
const
rtl
::
OString
&
rValue
)
{
{
if
(
rKey
.
equalsL
(
RTL_CONSTASCII_STRINGPARAM
(
"width-chars"
))
)
if
(
rKey
==
"width-chars"
)
SetMaxWidthInChars
(
rValue
.
toInt32
());
SetMaxWidthInChars
(
rValue
.
toInt32
());
else
if
(
rKey
==
"editable"
)
SetReadOnly
(
!
toBool
(
rValue
));
else
else
return
Control
::
set_property
(
rKey
,
rValue
);
return
Control
::
set_property
(
rKey
,
rValue
);
return
true
;
return
true
;
...
...
vcl/source/window/builder.cxx
Dosyayı görüntüle @
40796af9
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <vcl/svapp.hxx>
#include <vcl/svapp.hxx>
#include <vcl/tabctrl.hxx>
#include <vcl/tabctrl.hxx>
#include <vcl/tabpage.hxx>
#include <vcl/tabpage.hxx>
#include <vcl/vclmedit.hxx>
#include <svdata.hxx>
#include <svdata.hxx>
#include <svids.hrc>
#include <svids.hrc>
#include <window.h>
#include <window.h>
...
@@ -698,6 +699,8 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
...
@@ -698,6 +699,8 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
pWindow
=
new
TabControl
(
pParent
,
WB_STDTABCONTROL
|
WB_3DLOOK
);
pWindow
=
new
TabControl
(
pParent
,
WB_STDTABCONTROL
|
WB_3DLOOK
);
else
if
(
name
==
"GtkDrawingArea"
)
else
if
(
name
==
"GtkDrawingArea"
)
pWindow
=
new
Window
(
pParent
);
pWindow
=
new
Window
(
pParent
);
else
if
(
name
==
"GtkTextView"
)
pWindow
=
new
VCLMultiLineEdit
(
pParent
);
else
else
{
{
sal_Int32
nDelim
=
name
.
indexOf
(
':'
);
sal_Int32
nDelim
=
name
.
indexOf
(
':'
);
...
...
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