diff options
author | Efe Gürkan YALAMAN <efeyalaman@gmail.com> | 2013-06-20 16:44:25 +0300 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-08-01 01:48:34 +0200 |
commit | f106f277b517ebba523ff48a888e3c8496dc9e97 (patch) | |
tree | 3e3128b338af74f2f5863cad2ff80cbe19d560c8 /cui | |
parent | 208e3f6ea77057e301bfe6693b3bd4e3ba66defc (diff) |
Improvements on current prototypes.
License statement added to header. modulename changed svx to cui.
Change-Id: I90f96e6c4720af392b344fce1052dd135e611bae
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optaboutconfig.hxx | 23 | ||||
-rw-r--r-- | cui/uiconfig/ui/aboutconfigdialog.ui | 7 |
2 files changed, 24 insertions, 6 deletions
diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx index 969f130ad5a9..68fb0c5ac41f 100644 --- a/cui/source/options/optaboutconfig.hxx +++ b/cui/source/options/optaboutconfig.hxx @@ -1,16 +1,24 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -#ifndef _SVX_OPTABOUTCONFIG_HXX -#define _SVX_OPTABOUTCONFIG_HXX +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_CUI_OPTABOUTCONFIG_HXX +#define INCLUDED_CUI_OPTBABOUTCONFIG_HXX #include <svx/simpltabl.hxx> -namespace svx +namespace cui { class OptHeaderTabListBox; } -class SvxAboutConfigTabPage : public SfxTabPage +class CuiAboutConfigTabPage : public SfxTabPage { private: SvxSimpleTableContainer* m_pPrefCtrl; @@ -18,7 +26,12 @@ private: //PushButton* m_pDefaultBtn PushButton* m_pEditBtn; - ::svx::OptHeaderTabListBox* pPrefBox; + ::cui::OptHeaderTabListBox* pPrefBox; public: + CuiAboutConfigTabPage( Window* pParent, const SfxItemSet& rItemSet ); + ~CuiAboutConfigTabPage(); + + static SfxTabPage* create( Window* pParent, const SfxItemSet& rItemset ); + } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/uiconfig/ui/aboutconfigdialog.ui b/cui/uiconfig/ui/aboutconfigdialog.ui index e3af35091acb..960200eecd6a 100644 --- a/cui/uiconfig/ui/aboutconfigdialog.ui +++ b/cui/uiconfig/ui/aboutconfigdialog.ui @@ -85,22 +85,27 @@ <object class="GtkFrame" id="frame1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="vexpand">True</property> <property name="label_xalign">0</property> <property name="shadow_type">none</property> <child> <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="top_padding">6</property> <property name="left_padding">12</property> <child> <object class="GtkBox" id="box1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> <property name="column_homogeneous">True</property> <child> <object class="GtkLabel" id="preference"> @@ -185,7 +190,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">frame1</property> + <property name="label" translatable="yes">Preferences</property> <attributes> <attribute name="weight" value="semibold"/> </attributes> |