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
5525690f
Kaydet (Commit)
5525690f
authored
Tem 28, 2015
tarafından
Katarina Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplify: group widgets and enable them all at once
Change-Id: I2140cf83886654033d8fcb2acfb651041f24fa0d
üst
618fd9d9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
37 deletions
+26
-37
LinePropertyPanel.cxx
svx/source/sidebar/line/LinePropertyPanel.cxx
+6
-32
LinePropertyPanel.hxx
svx/source/sidebar/line/LinePropertyPanel.hxx
+3
-0
sidebarline.ui
svx/uiconfig/ui/sidebarline.ui
+17
-5
No files found.
svx/source/sidebar/line/LinePropertyPanel.cxx
Dosyayı görüntüle @
5525690f
...
...
@@ -190,6 +190,8 @@ LinePropertyPanel::LinePropertyPanel(
get
(
mpLBEdgeStyle
,
"edgestyle"
);
get
(
mpFTCapStyle
,
"caplabel"
);
get
(
mpLBCapStyle
,
"linecapstyle"
);
get
(
mpGridLineProps
,
"lineproperties"
);
get
(
mpBoxArrowProps
,
"arrowproperties"
);
Initialize
();
}
...
...
@@ -783,38 +785,10 @@ VclPtr<PopupControl> LinePropertyPanel::CreateLineWidthPopupControl (PopupContai
void
LinePropertyPanel
::
ActivateControls
()
{
const
sal_Int32
nPos
(
mpLBStyle
->
GetSelectEntryPos
());
if
(
0
==
nPos
)
{
mpFTWidth
->
Disable
();
mpTBWidth
->
Disable
();
mpFTColor
->
Disable
();
mpLBColor
->
Disable
();
mpFTTransparency
->
Disable
();
mpMFTransparent
->
Disable
();
mpFTArrow
->
Disable
();
mpLBStart
->
Disable
();
mpLBEnd
->
Disable
();
mpFTEdgeStyle
->
Disable
();
mpLBEdgeStyle
->
Disable
();
mpFTCapStyle
->
Disable
();
mpLBCapStyle
->
Disable
();
}
else
{
mpFTWidth
->
Enable
();
mpTBWidth
->
Enable
();
mpFTColor
->
Enable
();
mpLBColor
->
Enable
();
mpFTTransparency
->
Enable
();
mpMFTransparent
->
Enable
();
mpFTArrow
->
Enable
();
mpLBStart
->
Enable
();
mpLBEnd
->
Enable
();
mpFTEdgeStyle
->
Enable
();
mpLBEdgeStyle
->
Enable
();
mpFTCapStyle
->
Enable
();
mpLBCapStyle
->
Enable
();
}
bool
bLineStyle
(
nPos
!=
0
);
mpGridLineProps
->
Enable
(
bLineStyle
);
mpBoxArrowProps
->
Enable
(
bLineStyle
);
}
void
LinePropertyPanel
::
EndLineWidthPopupMode
()
...
...
svx/source/sidebar/line/LinePropertyPanel.hxx
Dosyayı görüntüle @
5525690f
...
...
@@ -25,6 +25,7 @@
#include <sfx2/sidebar/ControllerItem.hxx>
#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
#include <vcl/layout.hxx>
#include <memory>
#include <svx/sidebar/PanelLayout.hxx>
#include <svx/xtable.hxx>
...
...
@@ -108,6 +109,8 @@ private:
VclPtr
<
ListBox
>
mpLBEdgeStyle
;
VclPtr
<
FixedText
>
mpFTCapStyle
;
VclPtr
<
ListBox
>
mpLBCapStyle
;
VclPtr
<
VclGrid
>
mpGridLineProps
;
VclPtr
<
VclVBox
>
mpBoxArrowProps
;
//ControllerItem
sfx2
::
sidebar
::
ControllerItem
maStyleControl
;
...
...
svx/uiconfig/ui/sidebarline.ui
Dosyayı görüntüle @
5525690f
...
...
@@ -2,6 +2,7 @@
<!-- Generated with glade 3.18.3 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.0"
/>
<requires
lib=
"LibreOffice"
version=
"1.0"
/>
<object
class=
"GtkAdjustment"
id=
"adjustment1"
>
<property
name=
"upper"
>
100
</property>
<property
name=
"step_increment"
>
5
</property>
...
...
@@ -64,7 +65,7 @@
</packing>
</child>
<child>
<object
class=
"GtkGrid"
id=
"
grid4
"
>
<object
class=
"GtkGrid"
id=
"
lineproperties
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
...
...
@@ -190,6 +191,10 @@
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"arrowproperties"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<child>
<object
class=
"GtkLabel"
id=
"arrowlabel"
>
<property
name=
"can_focus"
>
False
</property>
...
...
@@ -201,7 +206,7 @@
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
3
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
...
...
@@ -215,7 +220,7 @@
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
4
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
...
...
@@ -229,7 +234,7 @@
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
5
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child>
...
...
@@ -318,7 +323,14 @@
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
6
</property>
<property
name=
"position"
>
3
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
...
...
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