From 3f48ec8e73a5cb2cdffaf5edf0eb1e8c44cbc20f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 15 Jul 2013 13:58:50 +0100 Subject: HIG spacing and indents Change-Id: I97888b8659bb978595157e881c18ce51c1482b46 --- chart2/source/controller/dialogs/tp_ChartType.cxx | 4 +- chart2/uiconfig/ui/smoothlinesdlg.ui | 1 + chart2/uiconfig/ui/steppedlinesdlg.ui | 335 +++++++++++----------- chart2/uiconfig/ui/tp_SeriesToAxis.ui | 16 +- 4 files changed, 180 insertions(+), 176 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 420aa333cba1..34446a98cdb7 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -535,14 +535,14 @@ private: }; SteppedPropertiesDialog::SteppedPropertiesDialog( Window* pParent ) - : ModalDialog( pParent, "SteppedLinesDialog", "modules/schart/ui/steppedlinesdlg.ui") + : ModalDialog( pParent, "SteppedLinesDialog", "modules/schart/ui/steppedlinesdlg.ui") { get(m_pRB_Start, "step_start_rb"); get(m_pRB_End, "step_end_rb"); get(m_pRB_CenterX, "step_center_x_rb"); get(m_pRB_CenterY, "step_center_y_rb"); - this->SetText( String( SchResId( STR_DLG_STEPPED_LINE_PROPERTIES ) ) ); + SetText(SCH_RESSTR(STR_DLG_STEPPED_LINE_PROPERTIES)); } SteppedPropertiesDialog::~SteppedPropertiesDialog() diff --git a/chart2/uiconfig/ui/smoothlinesdlg.ui b/chart2/uiconfig/ui/smoothlinesdlg.ui index 65464d76433d..9b1b34c4e424 100644 --- a/chart2/uiconfig/ui/smoothlinesdlg.ui +++ b/chart2/uiconfig/ui/smoothlinesdlg.ui @@ -40,6 +40,7 @@ True False + 0 Line _Type: True diff --git a/chart2/uiconfig/ui/steppedlinesdlg.ui b/chart2/uiconfig/ui/steppedlinesdlg.ui index ff1b5c08f82f..2afedbe32226 100644 --- a/chart2/uiconfig/ui/steppedlinesdlg.ui +++ b/chart2/uiconfig/ui/steppedlinesdlg.ui @@ -4,177 +4,13 @@ False - 5 + 6 dialog False vertical - 2 - - - True - False - vertical - - - True - False - Choose the type of stepping: - - - False - True - 0 - - - - - True - False - 6 - - - True - False - chart2/res/step_center_x_30.png - - - 0 - 1 - 1 - 1 - - - - - True - False - chart2/res/step_end_30.png - - - 2 - 0 - 1 - 1 - - - - - True - False - chart2/res/step_center_y_30.png - - - 2 - 1 - 1 - 1 - - - - - _Start with horizontal line - True - True - False - True - 0 - True - True - step_center_x_rb - - - 1 - 0 - 1 - 1 - - - - - Step at the _horizontal mean - True - True - False - True - 0 - True - True - step_start_rb - - - 1 - 1 - 1 - 1 - - - - - _End with horizontal line - True - True - False - True - 0 - True - True - step_start_rb - - - 3 - 0 - 1 - 1 - - - - - Step to the _vertical mean - True - True - False - True - 0 - True - True - step_start_rb - - - 3 - 1 - 1 - 1 - - - - - True - False - chart2/res/step_start_30.png - - - 0 - 0 - 1 - 1 - - - - - False - True - 1 - - - - - False - True - 0 - - + 12 False @@ -231,6 +67,173 @@ 0 + + + True + False + 0 + none + + + True + False + 6 + 12 + + + True + False + 6 + 12 + + + True + False + chart2/res/step_center_x_30.png + + + 0 + 1 + 1 + 1 + + + + + True + False + chart2/res/step_end_30.png + + + 2 + 0 + 1 + 1 + + + + + True + False + chart2/res/step_center_y_30.png + + + 2 + 1 + 1 + 1 + + + + + _Start with horizontal line + True + True + False + True + 0 + True + True + step_center_x_rb + + + 1 + 0 + 1 + 1 + + + + + Step at the _horizontal mean + True + True + False + True + 0 + True + True + step_start_rb + + + 1 + 1 + 1 + 1 + + + + + _End with horizontal line + True + True + False + True + 0 + True + True + step_start_rb + + + 3 + 0 + 1 + 1 + + + + + Step to the _vertical mean + True + True + False + True + 0 + True + True + step_start_rb + + + 3 + 1 + 1 + 1 + + + + + True + False + chart2/res/step_start_30.png + + + 0 + 0 + 1 + 1 + + + + + + + + + True + False + Type of stepping + + + + + + + + False + True + 1 + + diff --git a/chart2/uiconfig/ui/tp_SeriesToAxis.ui b/chart2/uiconfig/ui/tp_SeriesToAxis.ui index e03181841336..ecb3f97b6efe 100644 --- a/chart2/uiconfig/ui/tp_SeriesToAxis.ui +++ b/chart2/uiconfig/ui/tp_SeriesToAxis.ui @@ -115,7 +115,7 @@ True False 6 - 6 + 12 True @@ -257,13 +257,7 @@ True False 6 - 6 - - - - - - + 12 True @@ -335,6 +329,12 @@ 1 + + + + + + False -- cgit v1.2.3