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
1bf191e8
Kaydet (Commit)
1bf191e8
authored
Tem 19, 2013
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
GUI improvements for RNG, sampling and desc. statistics dialogs.
Change-Id: Ie34267d180015ae10d536d302ab4d206548de761
üst
ceefeb68
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
88 additions
and
63 deletions
+88
-63
DescriptiveStatisticsDialog.cxx
...urce/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
+2
-2
SamplingDialog.cxx
sc/source/ui/StatisticsDialogs/SamplingDialog.cxx
+1
-1
descriptivestatisticsdialog.ui
sc/uiconfig/scalc/ui/descriptivestatisticsdialog.ui
+7
-1
randomnumbergenerator.ui
sc/uiconfig/scalc/ui/randomnumbergenerator.ui
+67
-58
samplingdialog.ui
sc/uiconfig/scalc/ui/samplingdialog.ui
+11
-1
No files found.
sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
Dosyayı görüntüle @
1bf191e8
...
@@ -174,7 +174,7 @@ void ScDescriptiveStatisticsDialog::SetReference( const ScRange& rReferenceRange
...
@@ -174,7 +174,7 @@ void ScDescriptiveStatisticsDialog::SetReference( const ScRange& rReferenceRange
void
ScDescriptiveStatisticsDialog
::
ApplyCalculationsFormulas
(
)
void
ScDescriptiveStatisticsDialog
::
ApplyCalculationsFormulas
(
)
{
{
OUString
aUndo
(
S
cResId
(
STR_DESCRIPTIVE_STATISTICS_UNDO_NAME
));
OUString
aUndo
(
S
C_RESSTR
(
STR_DESCRIPTIVE_STATISTICS_UNDO_NAME
));
ScDocShell
*
pDocShell
=
mViewData
->
GetDocShell
();
ScDocShell
*
pDocShell
=
mViewData
->
GetDocShell
();
svl
::
IUndoManager
*
pUndoManager
=
pDocShell
->
GetUndoManager
();
svl
::
IUndoManager
*
pUndoManager
=
pDocShell
->
GetUndoManager
();
pUndoManager
->
EnterListAction
(
aUndo
,
aUndo
);
pUndoManager
->
EnterListAction
(
aUndo
,
aUndo
);
...
@@ -196,7 +196,7 @@ void ScDescriptiveStatisticsDialog::ApplyCalculationsFormulas( )
...
@@ -196,7 +196,7 @@ void ScDescriptiveStatisticsDialog::ApplyCalculationsFormulas( )
for
(
sal_Int32
i
=
0
;
lclCalcDefinitions
[
i
].
aFormula
!=
NULL
;
i
++
)
for
(
sal_Int32
i
=
0
;
lclCalcDefinitions
[
i
].
aFormula
!=
NULL
;
i
++
)
{
{
aAddress
=
ScAddress
(
outCol
,
outRow
,
outTab
);
aAddress
=
ScAddress
(
outCol
,
outRow
,
outTab
);
OUString
aCalculationName
(
S
cResId
(
lclCalcDefinitions
[
i
].
aCalculationNameId
));
OUString
aCalculationName
(
S
C_RESSTR
(
lclCalcDefinitions
[
i
].
aCalculationNameId
));
pDocShell
->
GetDocFunc
().
SetStringCell
(
aAddress
,
aCalculationName
,
true
);
pDocShell
->
GetDocFunc
().
SetStringCell
(
aAddress
,
aCalculationName
,
true
);
outRow
++
;
outRow
++
;
}
}
...
...
sc/source/ui/StatisticsDialogs/SamplingDialog.cxx
Dosyayı görüntüle @
1bf191e8
...
@@ -258,7 +258,7 @@ ScRange ScSamplingDialog::PerformRandomSampling(ScDocShell* pDocShell)
...
@@ -258,7 +258,7 @@ ScRange ScSamplingDialog::PerformRandomSampling(ScDocShell* pDocShell)
void
ScSamplingDialog
::
PerformSampling
()
void
ScSamplingDialog
::
PerformSampling
()
{
{
OUString
aUndo
(
S
cResId
(
STR_SAMPLING_UNDO_NAME
));
OUString
aUndo
(
S
C_RESSTR
(
STR_SAMPLING_UNDO_NAME
));
ScDocShell
*
pDocShell
=
mViewData
->
GetDocShell
();
ScDocShell
*
pDocShell
=
mViewData
->
GetDocShell
();
svl
::
IUndoManager
*
pUndoManager
=
pDocShell
->
GetUndoManager
();
svl
::
IUndoManager
*
pUndoManager
=
pDocShell
->
GetUndoManager
();
...
...
sc/uiconfig/scalc/ui/descriptivestatisticsdialog.ui
Dosyayı görüntüle @
1bf191e8
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<interface>
<!-- interface-requires LibreOffice 1.0 -->
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object
class=
"GtkDialog"
id=
"DescriptiveStatisticsDialog"
>
<object
class=
"GtkDialog"
id=
"DescriptiveStatisticsDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
5
</property>
<property
name=
"border_width"
>
5
</property>
...
@@ -53,6 +53,8 @@
...
@@ -53,6 +53,8 @@
<property
name=
"label"
>
gtk-close
</property>
<property
name=
"label"
>
gtk-close
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
</object>
...
@@ -82,6 +84,8 @@
...
@@ -82,6 +84,8 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Input Range
</property>
<property
name=
"label"
translatable=
"yes"
>
Input Range
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
input-range-edit
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
@@ -126,6 +130,8 @@
...
@@ -126,6 +130,8 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Output Range
</property>
<property
name=
"label"
translatable=
"yes"
>
Output Range
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
output-range-edit
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
...
sc/uiconfig/scalc/ui/randomnumbergenerator.ui
Dosyayı görüntüle @
1bf191e8
...
@@ -2,6 +2,63 @@
...
@@ -2,6 +2,63 @@
<interface>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object
class=
"GtkListStore"
id=
"distribution-liststore"
>
<columns>
<!-- column-name value -->
<column
type=
"gchararray"
/>
<!-- column-name id -->
<column
type=
"gint"
/>
</columns>
<data>
<row>
<col
id=
"0"
translatable=
"yes"
>
Uniform
</col>
<col
id=
"1"
>
0
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Uniform Integer
</col>
<col
id=
"1"
>
8
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Normal
</col>
<col
id=
"1"
>
1
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Cauchy
</col>
<col
id=
"1"
>
2
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Bernoulli
</col>
<col
id=
"1"
>
3
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Binomial
</col>
<col
id=
"1"
>
4
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Chi Squared
</col>
<col
id=
"1"
>
5
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Geometric
</col>
<col
id=
"1"
>
6
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Negative Binomial
</col>
<col
id=
"1"
>
7
</col>
</row>
</data>
</object>
<object
class=
"GtkAdjustment"
id=
"parameter1-adjustment"
>
<property
name=
"upper"
>
100
</property>
<property
name=
"value"
>
1
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_increment"
>
10
</property>
</object>
<object
class=
"GtkAdjustment"
id=
"parameter2-adjustment"
>
<property
name=
"upper"
>
100
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_increment"
>
10
</property>
</object>
<object
class=
"GtkDialog"
id=
"RandomNumberGeneratorDialog"
>
<object
class=
"GtkDialog"
id=
"RandomNumberGeneratorDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"border_width"
>
6
</property>
...
@@ -53,6 +110,8 @@
...
@@ -53,6 +110,8 @@
<property
name=
"label"
>
gtk-close
</property>
<property
name=
"label"
>
gtk-close
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
</object>
...
@@ -97,6 +156,7 @@
...
@@ -97,6 +156,7 @@
<property
name=
"valign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"invisible_char"
>
•
</property>
<property
name=
"invisible_char"
>
•
</property>
<property
name=
"width_chars"
>
30
</property>
<property
name=
"invisible_char_set"
>
True
</property>
<property
name=
"invisible_char_set"
>
True
</property>
</object>
</object>
<packing>
<packing>
...
@@ -168,6 +228,8 @@
...
@@ -168,6 +228,8 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Seed
</property>
<property
name=
"label"
translatable=
"yes"
>
Seed
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
seed-spin
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
@@ -181,7 +243,7 @@
...
@@ -181,7 +243,7 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
out
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<child>
<object
class=
"GtkAlignment"
id=
"alignment2"
>
<object
class=
"GtkAlignment"
id=
"alignment2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
...
@@ -203,6 +265,8 @@
...
@@ -203,6 +265,8 @@
<property
name=
"hexpand"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
...
</property>
<property
name=
"label"
translatable=
"yes"
>
...
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
parameter1-spin
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
@@ -218,6 +282,8 @@
...
@@ -218,6 +282,8 @@
<property
name=
"hexpand"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
...
</property>
<property
name=
"label"
translatable=
"yes"
>
...
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
parameter2-spin
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
@@ -310,61 +376,4 @@
...
@@ -310,61 +376,4 @@
<action-widget
response=
"0"
>
close
</action-widget>
<action-widget
response=
"0"
>
close
</action-widget>
</action-widgets>
</action-widgets>
</object>
</object>
<object
class=
"GtkListStore"
id=
"distribution-liststore"
>
<columns>
<!-- column-name value -->
<column
type=
"gchararray"
/>
<!-- column-name id -->
<column
type=
"gint"
/>
</columns>
<data>
<row>
<col
id=
"0"
translatable=
"yes"
>
Uniform
</col>
<col
id=
"1"
>
0
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Uniform Integer
</col>
<col
id=
"1"
>
8
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Normal
</col>
<col
id=
"1"
>
1
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Cauchy
</col>
<col
id=
"1"
>
2
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Bernoulli
</col>
<col
id=
"1"
>
3
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Binomial
</col>
<col
id=
"1"
>
4
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Chi Squared
</col>
<col
id=
"1"
>
5
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Geometric
</col>
<col
id=
"1"
>
6
</col>
</row>
<row>
<col
id=
"0"
translatable=
"yes"
>
Negative Binomial
</col>
<col
id=
"1"
>
7
</col>
</row>
</data>
</object>
<object
class=
"GtkAdjustment"
id=
"parameter1-adjustment"
>
<property
name=
"upper"
>
100
</property>
<property
name=
"value"
>
1
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_increment"
>
10
</property>
</object>
<object
class=
"GtkAdjustment"
id=
"parameter2-adjustment"
>
<property
name=
"upper"
>
100
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_increment"
>
10
</property>
</object>
</interface>
</interface>
sc/uiconfig/scalc/ui/samplingdialog.ui
Dosyayı görüntüle @
1bf191e8
...
@@ -65,6 +65,8 @@
...
@@ -65,6 +65,8 @@
<property
name=
"label"
>
gtk-close
</property>
<property
name=
"label"
>
gtk-close
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
</object>
...
@@ -94,6 +96,8 @@
...
@@ -94,6 +96,8 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Input Range
</property>
<property
name=
"label"
translatable=
"yes"
>
Input Range
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
input-range-edit
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
@@ -138,6 +142,8 @@
...
@@ -138,6 +142,8 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Output Range
</property>
<property
name=
"label"
translatable=
"yes"
>
Output Range
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
output-range-edit
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
@@ -181,7 +187,7 @@
...
@@ -181,7 +187,7 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
in
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<child>
<object
class=
"GtkAlignment"
id=
"alignment2"
>
<object
class=
"GtkAlignment"
id=
"alignment2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
...
@@ -221,7 +227,9 @@
...
@@ -221,7 +227,9 @@
<property
name=
"hexpand"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Sample SIze
</property>
<property
name=
"label"
translatable=
"yes"
>
Sample SIze
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"justify"
>
center
</property>
<property
name=
"justify"
>
center
</property>
<property
name=
"mnemonic_widget"
>
sample-size-spin
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
@@ -288,6 +296,8 @@
...
@@ -288,6 +296,8 @@
<property
name=
"hexpand"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Period
</property>
<property
name=
"label"
translatable=
"yes"
>
Period
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
period-spin
</property>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
...
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