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
214f317d
Kaydet (Commit)
214f317d
authored
Kas 26, 2002
tarafından
Ocke Janssen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#105538# base class changed to FixedText
üst
f8015454
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
17 deletions
+18
-17
TableWindowTitle.hxx
dbaccess/source/ui/inc/TableWindowTitle.hxx
+6
-6
TableWindowTitle.cxx
dbaccess/source/ui/querydesign/TableWindowTitle.cxx
+12
-11
No files found.
dbaccess/source/ui/inc/TableWindowTitle.hxx
Dosyayı görüntüle @
214f317d
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: TableWindowTitle.hxx,v $
* $RCSfile: TableWindowTitle.hxx,v $
*
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
*
* last change: $Author: oj $ $Date: 200
1-02-28 10:08:17
$
* last change: $Author: oj $ $Date: 200
2-11-26 12:47:22
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -61,20 +61,20 @@
...
@@ -61,20 +61,20 @@
#ifndef DBAUI_TABLEWINDOWTITLE_HXX
#ifndef DBAUI_TABLEWINDOWTITLE_HXX
#define DBAUI_TABLEWINDOWTITLE_HXX
#define DBAUI_TABLEWINDOWTITLE_HXX
#ifndef _SV_
CTRL
_HXX
#ifndef _SV_
FIXED
_HXX
#include <vcl/
ctrl
.hxx>
#include <vcl/
fixed
.hxx>
#endif
#endif
namespace
dbaui
namespace
dbaui
{
{
class
OTableWindow
;
class
OTableWindow
;
class
OTableWindowTitle
:
public
Control
class
OTableWindowTitle
:
public
FixedText
{
{
OTableWindow
*
m_pTabWin
;
OTableWindow
*
m_pTabWin
;
protected
:
protected
:
virtual
void
Command
(
const
CommandEvent
&
rEvt
);
virtual
void
Command
(
const
CommandEvent
&
rEvt
);
virtual
void
Paint
(
const
Rectangle
&
rRect
);
//
virtual void Paint( const Rectangle& rRect );
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rEvt
);
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rEvt
);
virtual
void
KeyInput
(
const
KeyEvent
&
rEvt
);
virtual
void
KeyInput
(
const
KeyEvent
&
rEvt
);
virtual
void
DataChanged
(
const
DataChangedEvent
&
rDCEvt
);
virtual
void
DataChanged
(
const
DataChangedEvent
&
rDCEvt
);
...
...
dbaccess/source/ui/querydesign/TableWindowTitle.cxx
Dosyayı görüntüle @
214f317d
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: TableWindowTitle.cxx,v $
* $RCSfile: TableWindowTitle.cxx,v $
*
*
* $Revision: 1.1
6
$
* $Revision: 1.1
7
$
*
*
* last change: $Author: oj $ $Date: 2002-
08-19 08:01:31
$
* last change: $Author: oj $ $Date: 2002-
11-26 12:47:05
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -115,7 +115,7 @@ using namespace ::com::sun::star::uno;
...
@@ -115,7 +115,7 @@ using namespace ::com::sun::star::uno;
DBG_NAME
(
OTableWindowTitle
);
DBG_NAME
(
OTableWindowTitle
);
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
OTableWindowTitle
::
OTableWindowTitle
(
OTableWindow
*
pParent
)
:
OTableWindowTitle
::
OTableWindowTitle
(
OTableWindow
*
pParent
)
:
Control
(
pParent
,
WB_3DLOOK
)
FixedText
(
pParent
,
WB_3DLOOK
|
WB_CENTER
|
WB_NOLABEL
)
,
m_pTabWin
(
pParent
)
,
m_pTabWin
(
pParent
)
{
{
DBG_CTOR
(
OTableWindowTitle
,
NULL
);
DBG_CTOR
(
OTableWindowTitle
,
NULL
);
...
@@ -190,18 +190,19 @@ void OTableWindowTitle::Command( const CommandEvent& rEvt )
...
@@ -190,18 +190,19 @@ void OTableWindowTitle::Command( const CommandEvent& rEvt )
}
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
void
OTableWindowTitle
::
Paint
(
const
Rectangle
&
rRect
)
//
void OTableWindowTitle::Paint( const Rectangle& rRect )
{
//
{
//////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////
// Ausgabe des Textes in der Titelzeile
//
// Ausgabe des Textes in der Titelzeile
Rectangle
aWinRect
(
Point
(
0
,
0
),
GetSizePixel
()
);
//
Rectangle aWinRect( Point(0,0), GetSizePixel() );
DrawText
(
aWinRect
,
GetText
(),
TEXT_DRAW_CENTER
|
TEXT_DRAW_VCENTER
|
TEXT_DRAW_ENDELLIPSIS
);
//
DrawText( aWinRect, GetText(), TEXT_DRAW_CENTER|TEXT_DRAW_VCENTER|TEXT_DRAW_ENDELLIPSIS );
}
//
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
void
OTableWindowTitle
::
KeyInput
(
const
KeyEvent
&
rEvt
)
void
OTableWindowTitle
::
KeyInput
(
const
KeyEvent
&
rEvt
)
{
{
m_pTabWin
->
KeyInput
(
rEvt
);
if
(
m_pTabWin
)
m_pTabWin
->
KeyInput
(
rEvt
);
}
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
...
...
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