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
9ab9a15c
Kaydet (Commit)
9ab9a15c
authored
Ara 05, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
only IMG_PRIMARY_KEY is actually used
Change-Id: Ie888ed93f0d511e0c040af32f41e8350113b586c
üst
cca70d07
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
45 deletions
+6
-45
dbu_resource.hrc
dbaccess/source/ui/inc/dbu_resource.hrc
+1
-1
WTypeSelect.cxx
dbaccess/source/ui/misc/WTypeSelect.cxx
+1
-5
QTableWindow.cxx
dbaccess/source/ui/querydesign/QTableWindow.cxx
+0
-1
Query.hrc
dbaccess/source/ui/querydesign/Query.hrc
+0
-27
TableWindow.cxx
dbaccess/source/ui/querydesign/TableWindow.cxx
+2
-4
query.src
dbaccess/source/ui/querydesign/query.src
+2
-7
No files found.
dbaccess/source/ui/inc/dbu_resource.hrc
Dosyayı görüntüle @
9ab9a15c
...
...
@@ -105,6 +105,7 @@
#define QUERYFOLDER_TREE_ICON RID_IMAGE_START + 6
#define QUERY_TREE_ICON RID_IMAGE_START + 7
#define DATABASE_TREE_ICON RID_IMAGE_START + 8
#define BMP_PRIMARY_KEY RID_IMAGE_START + 9
// free
#define IMG_PKEYICON RID_IMAGE_START + 12
// free
...
...
@@ -121,7 +122,6 @@
#define FORMFOLDER_TREE_ICON RID_IMAGE_START + 55
// image lists
#define IMG_JOINS RID_IMAGELIST_START + 0
#define IMG_INDEX_DLG_SC RID_IMAGELIST_START + 1
#define IMG_INDEX_DLG_LC RID_IMAGELIST_START + 3
...
...
dbaccess/source/ui/misc/WTypeSelect.cxx
Dosyayı görüntüle @
9ab9a15c
...
...
@@ -216,7 +216,6 @@ OUString OWizTypeSelectControl::getAutoIncrementValue() const
return
static_cast
<
OWizTypeSelect
*>
(
m_pParentTabPage
.
get
())
->
m_sAutoIncrementValue
;
}
#define IMG_PRIMARY_KEY 1
OWizTypeSelect
::
OWizTypeSelect
(
vcl
::
Window
*
pParent
,
SvStream
*
_pStream
)
:
OWizardPage
(
pParent
,
"TypeSelect"
,
"dbaccess/ui/typeselectpage.ui"
)
,
m_pTypeControl
(
VclPtr
<
OWizTypeSelectControl
>::
Create
(
get
<
VclVBox
>
(
"control_container"
),
this
)
)
...
...
@@ -235,10 +234,7 @@ OWizTypeSelect::OWizTypeSelect( vcl::Window* pParent, SvStream* _pStream )
m_pColumnNames
->
SetSelectHdl
(
LINK
(
this
,
OWizTypeSelect
,
ColumnSelectHdl
));
ModuleRes
aModuleRes
(
IMG_JOINS
);
ImageList
aImageList
(
aModuleRes
);
m_imgPKey
=
aImageList
.
GetImage
(
IMG_PRIMARY_KEY
);
m_imgPKey
=
Image
(
BitmapEx
(
ModuleRes
(
BMP_PRIMARY_KEY
)));
m_pTypeControl
->
Show
();
m_pTypeControl
->
Init
();
...
...
dbaccess/source/ui/querydesign/QTableWindow.cxx
Dosyayı görüntüle @
9ab9a15c
...
...
@@ -28,7 +28,6 @@
#include <vcl/image.hxx>
#include "TableWindowListBox.hxx"
#include "dbu_qry.hrc"
#include "Query.hrc"
#include <com/sun/star/sdbcx/XKeysSupplier.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
...
...
dbaccess/source/ui/querydesign/Query.hrc
deleted
100644 → 0
Dosyayı görüntüle @
cca70d07
/* -*- 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 DBAUI_QUERY_HRC
#define DBAUI_QUERY_HRC
#define IMG_PRIMARY_KEY 1
#define IMG_FOREIGN_KEY 2
#endif // DBAUI_QUERY_HRC
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
dbaccess/source/ui/querydesign/TableWindow.cxx
Dosyayı görüntüle @
9ab9a15c
...
...
@@ -37,7 +37,6 @@
#include "querycontroller.hxx"
#include "dbu_qry.hrc"
#include "dbustrings.hrc"
#include "Query.hrc"
#include <comphelper/extract.hxx>
#include "UITools.hxx"
#include "TableWindowAccess.hxx"
...
...
@@ -193,10 +192,9 @@ bool OTableWindow::FillListBox()
if
(
xContainer
.
is
()
)
m_pContainerListener
=
new
::
comphelper
::
OContainerListenerAdapter
(
this
,
xContainer
);
}
// mark all primary keys with special image
ModuleRes
TmpRes
(
IMG_JOINS
);
ImageList
aImageList
(
TmpRes
);
Image
aPrimKeyImage
=
aImageList
.
GetImage
(
IMG_PRIMARY_KEY
);
Image
aPrimKeyImage
=
Image
(
BitmapEx
(
ModuleRes
(
BMP_PRIMARY_KEY
)));
if
(
GetData
()
->
IsShowAll
())
{
...
...
dbaccess/source/ui/querydesign/query.src
Dosyayı görüntüle @
9ab9a15c
...
...
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "dbu_qry.hrc"
#include "Query.hrc"
#include <sfx2/cntids.hrc>
#include "browserids.hxx"
#include "dbaccess_helpid.hrc"
...
...
@@ -77,13 +76,9 @@ Menu RID_QUERYCOLPOPUPMENU
};
};
ImageList IMG_JOINS
Bitmap BMP_PRIMARY_KEY
{
Prefix = "jo";
IdList = {
IMG_PRIMARY_KEY; IMG_FOREIGN_KEY;
};
IdCount = { 2; };
File = "jo01.png";
};
String STR_QUERY_UNDO_TABWINSHOW
...
...
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