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
6fd363af
Kaydet (Commit)
6fd363af
authored
Eki 10, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwHelpToolBox doesn't do anything now
Change-Id: I5b8865218d3cd8492d148af8d69389c256bbb27f
üst
ca791503
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
78 deletions
+8
-78
Library_sw.mk
sw/Library_sw.mk
+0
-1
popbox.cxx
sw/source/uibase/cctrl/popbox.cxx
+0
-32
navipi.hxx
sw/source/uibase/inc/navipi.hxx
+3
-3
popbox.hxx
sw/source/uibase/inc/popbox.hxx
+0
-37
navipi.cxx
sw/source/uibase/utlui/navipi.cxx
+5
-5
No files found.
sw/Library_sw.mk
Dosyayı görüntüle @
6fd363af
...
...
@@ -572,7 +572,6 @@ $(eval $(call gb_Library_add_exception_objects,sw,\
sw/source/uibase/app/swmodule \
sw/source/uibase/app/swwait \
sw/source/uibase/cctrl/actctrl \
sw/source/uibase/cctrl/popbox \
sw/source/uibase/cctrl/swlbox \
sw/source/uibase/chrdlg/ccoll \
sw/source/uibase/config/StoredChapterNumbering \
...
...
sw/source/uibase/cctrl/popbox.cxx
deleted
100644 → 0
Dosyayı görüntüle @
ca791503
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <cmdid.h>
#include <swtypes.hxx>
#include <popbox.hxx>
#include <navipi.hxx>
SwHelpToolBox
::
SwHelpToolBox
(
SwNavigationPI
*
pParent
,
const
ResId
&
rResId
)
:
ToolBox
(
pParent
,
rResId
)
{
}
SwHelpToolBox
::~
SwHelpToolBox
()
{}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sw/source/uibase/inc/navipi.hxx
Dosyayı görüntüle @
6fd363af
...
...
@@ -20,6 +20,7 @@
#define INCLUDED_SW_SOURCE_UIBASE_INC_NAVIPI_HXX
#include <vcl/lstbox.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/idle.hxx>
#include <svl/lstner.hxx>
#include <svtools/transfer.hxx>
...
...
@@ -27,7 +28,6 @@
#include <sfx2/ctrlitem.hxx>
#include <sfx2/tbxctrl.hxx>
#include <conttree.hxx>
#include <popbox.hxx>
class
SwWrtShell
;
class
SwNavigationPI
;
...
...
@@ -42,7 +42,7 @@ class SwNavigationPI;
enum
class
RegionMode
;
class
SpinField
;
class
SwNavHelpToolBox
:
public
SwHelp
ToolBox
class
SwNavHelpToolBox
:
public
ToolBox
{
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rEvt
)
override
;
virtual
void
RequestHelp
(
const
HelpEvent
&
rHEvt
)
override
;
...
...
@@ -58,7 +58,7 @@ class SwNavigationPI : public vcl::Window,
friend
class
SwGlobalTree
;
VclPtr
<
SwNavHelpToolBox
>
m_aContentToolBox
;
VclPtr
<
SwHelpToolBox
>
m_aGlobalToolBox
;
VclPtr
<
ToolBox
>
m_aGlobalToolBox
;
ImageList
m_aContentImageList
;
VclPtr
<
SwContentTree
>
m_aContentTree
;
VclPtr
<
SwGlobalTree
>
m_aGlobalTree
;
...
...
sw/source/uibase/inc/popbox.hxx
deleted
100644 → 0
Dosyayı görüntüle @
ca791503
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_POPBOX_HXX
#define INCLUDED_SW_SOURCE_UIBASE_INC_POPBOX_HXX
#include <vcl/toolbox.hxx>
#include <svtools/transfer.hxx>
class
SwNavigationPI
;
class
SwHelpToolBox
:
public
ToolBox
{
public
:
SwHelpToolBox
(
SwNavigationPI
*
pParent
,
const
ResId
&
);
virtual
~
SwHelpToolBox
()
override
;
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sw/source/uibase/utlui/navipi.cxx
Dosyayı görüntüle @
6fd363af
...
...
@@ -421,8 +421,8 @@ IMPL_LINK( SwNavigationPI, ToolBoxDropdownClickHdl, ToolBox*, pBox, void )
}
}
SwNavHelpToolBox
::
SwNavHelpToolBox
(
SwNavigationPI
*
pParent
,
const
ResId
&
rResId
)
:
SwHelp
ToolBox
(
pParent
,
rResId
)
SwNavHelpToolBox
::
SwNavHelpToolBox
(
SwNavigationPI
*
pParent
,
const
ResId
&
rResId
)
:
ToolBox
(
pParent
,
rResId
)
{}
void
SwNavHelpToolBox
::
MouseButtonDown
(
const
MouseEvent
&
rEvt
)
...
...
@@ -433,7 +433,7 @@ void SwNavHelpToolBox::MouseButtonDown(const MouseEvent &rEvt)
static_cast
<
SwNavigationPI
*>
(
GetParent
())
->
CreateNavigationTool
(
GetItemRect
(
FN_CREATE_NAVIGATION
),
false
,
this
);
}
else
SwHelp
ToolBox
::
MouseButtonDown
(
rEvt
);
ToolBox
::
MouseButtonDown
(
rEvt
);
}
void
SwNavigationPI
::
CreateNavigationTool
(
const
Rectangle
&
rRect
,
bool
bSetFocus
,
vcl
::
Window
*
pParent
)
...
...
@@ -461,7 +461,7 @@ void SwNavHelpToolBox::RequestHelp( const HelpEvent& rHEvt )
{
SetItemText
(
nItemId
,
SwScrollNaviPopup
::
GetQuickHelpText
((
FN_DOWN
==
nItemId
)));
}
SwHelp
ToolBox
::
RequestHelp
(
rHEvt
);
ToolBox
::
RequestHelp
(
rHEvt
);
}
// Action-Handler Edit:
...
...
@@ -645,7 +645,7 @@ SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings,
SfxControllerItem
(
SID_DOCFULLNAME
,
*
_pBindings
),
m_aContentToolBox
(
VclPtr
<
SwNavHelpToolBox
>::
Create
(
this
,
SW_RES
(
TB_CONTENT
))),
m_aGlobalToolBox
(
VclPtr
<
SwHelp
ToolBox
>::
Create
(
this
,
SW_RES
(
TB_GLOBAL
))),
m_aGlobalToolBox
(
VclPtr
<
ToolBox
>::
Create
(
this
,
SW_RES
(
TB_GLOBAL
))),
m_aContentImageList
(
SW_RES
(
IL_CONTENT
)),
m_aContentTree
(
VclPtr
<
SwContentTree
>::
Create
(
this
,
SW_RES
(
TL_CONTENT
))),
m_aGlobalTree
(
VclPtr
<
SwGlobalTree
>::
Create
(
this
,
SW_RES
(
TL_GLOBAL
))),
...
...
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