mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
set layer colors enabled
git-svn-id: http://svn.osgeo.org/qgis/trunk@96 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
121b0bd25b
commit
e377850382
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
# Makefile for building: qgis
|
||||
# Generated by qmake (1.03a) on: Mon Jul 29 21:37:47 2002
|
||||
# Generated by qmake (1.03a) on: Sun Aug 11 18:37:20 2002
|
||||
# Project: qgis.pro
|
||||
# Template: subdirs
|
||||
# Command: $(QMAKE) qgis.pro
|
||||
|
59
src/Makefile
59
src/Makefile
@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
# Makefile for building: qgis
|
||||
# Generated by qmake (1.03a) on: Sun Aug 11 08:24:45 2002
|
||||
# Generated by qmake (1.03a) on: Sun Aug 11 18:38:52 2002
|
||||
# Project: src.pro
|
||||
# Template: app
|
||||
# Command: $(QMAKE) src.pro
|
||||
@ -61,7 +61,8 @@ HEADERS = qgsdbsourceselectbase.ui.h \
|
||||
qgslinesymbol.h \
|
||||
qgspolygonsymbol.h \
|
||||
qgslegend.h \
|
||||
qgslegenditem.h
|
||||
qgslegenditem.h \
|
||||
qgslayerproperties.h
|
||||
SOURCES = main.cpp \
|
||||
qgisapp.cpp \
|
||||
qgsdatabaselayer.cpp \
|
||||
@ -80,7 +81,8 @@ SOURCES = main.cpp \
|
||||
qgssymbol.cpp \
|
||||
qgsmarkersymbol.cpp \
|
||||
qgslinesymbol.cpp \
|
||||
qgspolygonsymbol.cpp
|
||||
qgspolygonsymbol.cpp \
|
||||
qgslayerproperties.cpp
|
||||
OBJECTS = main.o \
|
||||
qgisapp.o \
|
||||
qgsdatabaselayer.o \
|
||||
@ -100,26 +102,31 @@ OBJECTS = main.o \
|
||||
qgsmarkersymbol.o \
|
||||
qgslinesymbol.o \
|
||||
qgspolygonsymbol.o \
|
||||
qgslayerproperties.o \
|
||||
qgsdbsourceselectbase.o \
|
||||
qgisappbase.o \
|
||||
qgsnewconnectionbase.o \
|
||||
qgslegenditembase.o \
|
||||
qgsabout.o
|
||||
qgsabout.o \
|
||||
qgslayerpropertiesbase.o
|
||||
FORMS = qgsdbsourceselectbase.ui \
|
||||
qgisappbase.ui \
|
||||
qgsnewconnectionbase.ui \
|
||||
qgslegenditembase.ui \
|
||||
qgsabout.ui
|
||||
qgsabout.ui \
|
||||
qgslayerpropertiesbase.ui
|
||||
UICDECLS = qgsdbsourceselectbase.h \
|
||||
qgisappbase.h \
|
||||
qgsnewconnectionbase.h \
|
||||
qgslegenditembase.h \
|
||||
qgsabout.h
|
||||
qgsabout.h \
|
||||
qgslayerpropertiesbase.h
|
||||
UICIMPLS = qgsdbsourceselectbase.cpp \
|
||||
qgisappbase.cpp \
|
||||
qgsnewconnectionbase.cpp \
|
||||
qgslegenditembase.cpp \
|
||||
qgsabout.cpp
|
||||
qgsabout.cpp \
|
||||
qgslayerpropertiesbase.cpp
|
||||
SRCMOC = moc_qgisapp.cpp \
|
||||
moc_qgsdatabaselayer.cpp \
|
||||
moc_qgsmapcanvas.cpp \
|
||||
@ -131,7 +138,8 @@ SRCMOC = moc_qgisapp.cpp \
|
||||
moc_qgisappbase.cpp \
|
||||
moc_qgsnewconnectionbase.cpp \
|
||||
moc_qgslegenditembase.cpp \
|
||||
moc_qgsabout.cpp
|
||||
moc_qgsabout.cpp \
|
||||
moc_qgslayerpropertiesbase.cpp
|
||||
OBJMOC = moc_qgisapp.o \
|
||||
moc_qgsdatabaselayer.o \
|
||||
moc_qgsmapcanvas.o \
|
||||
@ -143,7 +151,8 @@ OBJMOC = moc_qgisapp.o \
|
||||
moc_qgisappbase.o \
|
||||
moc_qgsnewconnectionbase.o \
|
||||
moc_qgslegenditembase.o \
|
||||
moc_qgsabout.o
|
||||
moc_qgsabout.o \
|
||||
moc_qgslayerpropertiesbase.o
|
||||
DIST = src.pro
|
||||
QMAKE_TARGET = qgis
|
||||
DESTDIR =
|
||||
@ -216,6 +225,7 @@ main.o: main.cpp qgisapp.h \
|
||||
|
||||
qgisapp.o: qgisapp.cpp qgsrect.h \
|
||||
qgsmapcanvas.h \
|
||||
qgslegenditem.h \
|
||||
qgslegend.h \
|
||||
qgsdbsourceselect.h \
|
||||
qgsdatabaselayer.h \
|
||||
@ -260,12 +270,14 @@ qgsmaplayer.o: qgsmaplayer.cpp qgsrect.h \
|
||||
qgssymbol.h \
|
||||
qgsmaplayer.h \
|
||||
qgsdatasource.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h
|
||||
|
||||
qgsrasterlayer.o: qgsrasterlayer.cpp qgsrasterlayer.h \
|
||||
qgsmaplayer.h \
|
||||
qgsdatasource.h \
|
||||
qgsrect.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h \
|
||||
qgssymbol.h
|
||||
|
||||
@ -275,6 +287,7 @@ qgsshapefilelayer.o: qgsshapefilelayer.cpp qgsrect.h \
|
||||
qgsshapefilelayer.h \
|
||||
qgsmaplayer.h \
|
||||
qgsdatasource.h \
|
||||
qgis.h \
|
||||
qgssymbol.h
|
||||
|
||||
qgsdbsourceselect.o: qgsdbsourceselect.cpp xpm/point_layer.xpm \
|
||||
@ -302,6 +315,7 @@ qgslegend.o: qgslegend.cpp qgsmapcanvas.h \
|
||||
qgsrect.h \
|
||||
qgspoint.h \
|
||||
qgsdatasource.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h \
|
||||
qgssymbol.h
|
||||
|
||||
@ -310,6 +324,7 @@ qgslegenditem.o: qgslegenditem.cpp qgssymbol.h \
|
||||
qgslegenditem.h \
|
||||
qgsdatasource.h \
|
||||
qgsrect.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h
|
||||
|
||||
qgssymbol.o: qgssymbol.cpp qgssymbol.h
|
||||
@ -322,6 +337,15 @@ qgslinesymbol.o: qgslinesymbol.cpp qgslinesymbol.h \
|
||||
|
||||
qgspolygonsymbol.o: qgspolygonsymbol.cpp
|
||||
|
||||
qgslayerproperties.o: qgslayerproperties.cpp qgsmaplayer.h \
|
||||
qgslayerproperties.h \
|
||||
qgsdatasource.h \
|
||||
qgsrect.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h \
|
||||
qgssymbol.h \
|
||||
qgslayerpropertiesbase.h
|
||||
|
||||
qgsdbsourceselectbase.h: qgsdbsourceselectbase.ui
|
||||
$(UIC) qgsdbsourceselectbase.ui -o qgsdbsourceselectbase.h
|
||||
|
||||
@ -352,6 +376,12 @@ qgsabout.h: qgsabout.ui
|
||||
qgsabout.cpp: qgsabout.h qgsabout.ui
|
||||
$(UIC) qgsabout.ui -i qgsabout.h -o qgsabout.cpp
|
||||
|
||||
qgslayerpropertiesbase.h: qgslayerpropertiesbase.ui
|
||||
$(UIC) qgslayerpropertiesbase.ui -o qgslayerpropertiesbase.h
|
||||
|
||||
qgslayerpropertiesbase.cpp: qgslayerpropertiesbase.h qgslayerpropertiesbase.ui
|
||||
$(UIC) qgslayerpropertiesbase.ui -i qgslayerpropertiesbase.h -o qgslayerpropertiesbase.cpp
|
||||
|
||||
qgsdbsourceselectbase.o: qgsdbsourceselectbase.cpp qgsdbsourceselectbase.ui.h \
|
||||
qgsdbsourceselectbase.h
|
||||
|
||||
@ -365,11 +395,14 @@ qgslegenditembase.o: qgslegenditembase.cpp qgslegenditembase.h
|
||||
qgsabout.o: qgsabout.cpp qgsabout.ui.h \
|
||||
qgsabout.h
|
||||
|
||||
qgslayerpropertiesbase.o: qgslayerpropertiesbase.cpp qgslayerpropertiesbase.h
|
||||
|
||||
moc_qgisapp.o: moc_qgisapp.cpp qgisapp.h qgisappbase.h
|
||||
|
||||
moc_qgsdatabaselayer.o: moc_qgsdatabaselayer.cpp qgsdatabaselayer.h qgsmaplayer.h \
|
||||
qgsdatasource.h \
|
||||
qgsrect.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h \
|
||||
qgssymbol.h
|
||||
|
||||
@ -378,18 +411,21 @@ moc_qgsmapcanvas.o: moc_qgsmapcanvas.cpp qgsmapcanvas.h qgsrect.h \
|
||||
|
||||
moc_qgsmaplayer.o: moc_qgsmaplayer.cpp qgsmaplayer.h qgsdatasource.h \
|
||||
qgsrect.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h \
|
||||
qgssymbol.h
|
||||
|
||||
moc_qgsrasterlayer.o: moc_qgsrasterlayer.cpp qgsrasterlayer.h qgsmaplayer.h \
|
||||
qgsdatasource.h \
|
||||
qgsrect.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h \
|
||||
qgssymbol.h
|
||||
|
||||
moc_qgsshapefilelayer.o: moc_qgsshapefilelayer.cpp qgsshapefilelayer.h qgsmaplayer.h \
|
||||
qgsdatasource.h \
|
||||
qgsrect.h \
|
||||
qgis.h \
|
||||
qgscoordinatetransform.h \
|
||||
qgssymbol.h
|
||||
|
||||
@ -405,6 +441,8 @@ moc_qgslegenditembase.o: moc_qgslegenditembase.cpp qgslegenditembase.h
|
||||
|
||||
moc_qgsabout.o: moc_qgsabout.cpp qgsabout.h
|
||||
|
||||
moc_qgslayerpropertiesbase.o: moc_qgslayerpropertiesbase.cpp qgslayerpropertiesbase.h
|
||||
|
||||
moc_qgisapp.cpp: $(MOC) qgisapp.h
|
||||
$(MOC) qgisapp.h -o moc_qgisapp.cpp
|
||||
|
||||
@ -441,6 +479,9 @@ moc_qgslegenditembase.cpp: $(MOC) qgslegenditembase.h
|
||||
moc_qgsabout.cpp: $(MOC) qgsabout.h
|
||||
$(MOC) qgsabout.h -o moc_qgsabout.cpp
|
||||
|
||||
moc_qgslayerpropertiesbase.cpp: $(MOC) qgslayerpropertiesbase.h
|
||||
$(MOC) qgslayerpropertiesbase.h -o moc_qgslayerpropertiesbase.cpp
|
||||
|
||||
####### Install
|
||||
|
||||
install: all
|
||||
|
578
src/qgis.kdevprj
578
src/qgis.kdevprj
@ -5,9 +5,9 @@ cflags=
|
||||
cppflags=
|
||||
cxxflags=\s-O0 -g3 -Wall
|
||||
ldadd=
|
||||
ldflags=\s \s
|
||||
ldflags=\s \s
|
||||
libtool_dir=
|
||||
path_to_bin_program=src
|
||||
path_to_bin_program=.
|
||||
|
||||
[General]
|
||||
AMChanged=false
|
||||
@ -18,12 +18,12 @@ email=sherman at mrcc dot com
|
||||
kdevprj_version=1.3
|
||||
lfv_open_groups=
|
||||
make_options=\s-w -j1
|
||||
makefiles=Makefile.am,qgis/Makefile.am,qgis/docs/Makefile.am,qgis/docs/en/Makefile.am,src/Makefile.am
|
||||
makefiles=Makefile.am,Makefile.am,docs/Makefile.am,docs/en/Makefile.am,Makefile.am
|
||||
modifyMakefiles=false
|
||||
project_name=Qgis
|
||||
project_type=normal_empty
|
||||
short_info=
|
||||
sub_dir=src/
|
||||
sub_dir=
|
||||
version=0.0.4
|
||||
version_control=CVS
|
||||
workspace=1
|
||||
@ -36,59 +36,290 @@ User Interface=*.kdevdlg,*.ui,*.rc,*.dlg
|
||||
groups=Headers,Sources,User Interface,Others
|
||||
|
||||
[Makefile.am]
|
||||
files=qgis.kdevprj,qgisapp.cpp,qgsrect.h,qgsrect.cpp
|
||||
sub_dirs=qgis,src
|
||||
files=main.cpp,qgisapp.cpp,qgscoordinatetransform.cpp,qgsdatabaselayer.cpp,qgsdatasource.cpp,qgsdbsourceselect.cpp,qgsmapcanvas.cpp,qgsmaplayer.cpp,qgsnewconnection.cpp,qgspoint.cpp,qgsrasterlayer.cpp,qgsrect.cpp,qgisapp.h,qgscoordinatetransform.h,qgsdatabaselayer.h,qgsdatasource.h,qgsdbsourceselect.h,qgslinesymbol.h,qgsmapcanvas.h,qgsmaplayer.h,qgsmarkersymbol.h,qgsnewconnection.h,qgspoint.h,qgspolygonsymbol.h,qgsrasterlayer.h,qgsrect.h,qgsshapefilelayer.h,qgisappbase.ui,qgsdbsourceselectbase.ui,qgsnewconnectionbase.ui,qgscustomsymbol.cpp,qgscustomsymbol.h,qgslegend.h,qgslegend.cpp,qgslegenditem.cpp,qgslegenditem.h,qgssymbol.h,qgstable.h,qgsshapefilelayer.cpp,qgslegenditembase.h,qgsabout.ui,qgsabout.ui.h,qgsaboutqgis.cpp,qgsaboutqgis.h,QgsSymbol.cpp,qgsmarkersymbol.cpp,qgslinesymbol.cpp,qgspolygonsymbol.cpp,qgslayerproperties.cpp,qgslayerproperties.h
|
||||
sharedlib_LDFLAGS=-version-info 0:0:0
|
||||
sharedlib_rootname=src
|
||||
sub_dirs=
|
||||
type=static_library
|
||||
|
||||
[QgsSymbol.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[docs/Makefile.am]
|
||||
sub_dirs=
|
||||
type=normal
|
||||
|
||||
[docs/en/Makefile.am]
|
||||
sub_dirs=
|
||||
type=normal
|
||||
|
||||
[main.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgis.kdevprj]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[qgis/Makefile.am]
|
||||
files=qgis/qgscustomsymbol.cpp,qgis/qgscustomsymbol.h,qgis/qgslegend.cpp,qgis/qgslegend.h
|
||||
sub_dirs=
|
||||
type=prog_main
|
||||
|
||||
[qgis/docs/Makefile.am]
|
||||
sub_dirs=
|
||||
type=normal
|
||||
|
||||
[qgis/docs/en/Makefile.am]
|
||||
sub_dirs=
|
||||
type=normal
|
||||
|
||||
[qgis/qgscustomsymbol.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgis/qgscustomsymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgis/qgslegend.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgis/qgslegend.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgisapp.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgisapp.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgisappbase.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsabout.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsabout.ui.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsaboutqgis.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsaboutqgis.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgscoordinatetransform.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgscoordinatetransform.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgscustomsymbol.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgscustomsymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsdatabaselayer.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsdatabaselayer.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsdatasource.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsdatasource.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsdbsourceselect.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsdbsourceselect.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsdbsourceselectbase.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgslayerproperties.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgslayerproperties.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgslegend.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgslegend.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgslegenditem.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgslegenditem.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgslegenditembase.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgslinesymbol.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgslinesymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsmapcanvas.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsmapcanvas.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsmaplayer.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsmaplayer.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsmarkersymbol.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsmarkersymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsnewconnection.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsnewconnection.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsnewconnectionbase.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgspoint.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgspoint.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgspolygonsymbol.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgspolygonsymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsrasterlayer.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[qgsrasterlayer.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[qgsrect.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
@ -101,278 +332,25 @@ install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/Makefile.am]
|
||||
files=src/main.cpp,src/qgisapp.cpp,src/qgscoordinatetransform.cpp,src/qgsdatabaselayer.cpp,src/qgsdatasource.cpp,src/qgsdbsourceselect.cpp,src/qgsmapcanvas.cpp,src/qgsmaplayer.cpp,src/qgsnewconnection.cpp,src/qgspoint.cpp,src/qgsrasterlayer.cpp,src/qgsrect.cpp,src/qgisapp.h,src/qgscoordinatetransform.h,src/qgsdatabaselayer.h,src/qgsdatasource.h,src/qgsdbsourceselect.h,src/qgslinesymbol.h,src/qgsmapcanvas.h,src/qgsmaplayer.h,src/qgsmarkersymbol.h,src/qgsnewconnection.h,src/qgspoint.h,src/qgspolygonsymbol.h,src/qgsrasterlayer.h,src/qgsrect.h,src/qgsshapefilelayer.h,src/qgisappbase.ui,src/qgsdbsourceselectbase.ui,src/qgsnewconnectionbase.ui,src/qgscustomsymbol.cpp,src/qgscustomsymbol.h,src/qgslegend.h,src/qgslegend.cpp,src/qgslegenditem.cpp,src/qgslegenditem.h,src/qgssymbol.h,src/qgstable.h,src/qgsshapefilelayer.cpp,src/qgslegenditembase.h,src/qgsabout.ui,src/qgsabout.ui.h,src/qgsaboutqgis.cpp,src/qgsaboutqgis.h,src/QgsSymbol.cpp
|
||||
sharedlib_LDFLAGS=-version-info 0:0:0
|
||||
sharedlib_rootname=src
|
||||
sub_dirs=
|
||||
type=static_library
|
||||
|
||||
[src/QgsSymbol.cpp]
|
||||
[qgsshapefilelayer.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/main.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgisapp.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgisapp.h]
|
||||
[qgsshapefilelayer.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgisappbase.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsabout.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsabout.ui.h]
|
||||
[qgssymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsaboutqgis.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsaboutqgis.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgscoordinatetransform.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgscoordinatetransform.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgscustomsymbol.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgscustomsymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsdatabaselayer.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsdatabaselayer.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsdatasource.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsdatasource.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsdbsourceselect.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsdbsourceselect.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsdbsourceselectbase.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgslegend.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgslegend.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgslegenditem.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgslegenditem.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgslegenditembase.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgslinesymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsmapcanvas.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsmapcanvas.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsmaplayer.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsmaplayer.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsmarkersymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsnewconnection.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsnewconnection.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsnewconnectionbase.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgspoint.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgspoint.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgspolygonsymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsrasterlayer.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsrasterlayer.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsrect.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsrect.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgsshapefilelayer.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[src/qgsshapefilelayer.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgssymbol.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[src/qgstable.h]
|
||||
[qgstable.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include "qgsdbsourceselect.h"
|
||||
#include "qgsdatabaselayer.h"
|
||||
#include "qgsshapefilelayer.h"
|
||||
#include "qgslayerproperties.h"
|
||||
#include "qgsabout.h"
|
||||
#include "qgis.h"
|
||||
#include "qgisapp.h"
|
||||
@ -396,11 +397,16 @@ else{
|
||||
|
||||
lyr = ((QgsLegendItem *)li)->layer();
|
||||
}
|
||||
QMessageBox::information(this,"Layer Properties",lyr->name());
|
||||
QgsLayerProperties *lp = new QgsLayerProperties(lyr);
|
||||
if( lp->exec()){
|
||||
// apply changes
|
||||
mapCanvas->render2();
|
||||
}
|
||||
}
|
||||
void QgisApp::removeLayer(){
|
||||
}
|
||||
void QgisApp::rightClickLegendMenu(QListViewItem *lvi, const QPoint &pt, int i){
|
||||
if(lvi)
|
||||
popMenu->exec(pt);
|
||||
}
|
||||
|
||||
|
47
src/qgslayerproperties.cpp
Normal file
47
src/qgslayerproperties.cpp
Normal file
@ -0,0 +1,47 @@
|
||||
/***************************************************************************
|
||||
qgslayerproperties.cpp - description
|
||||
-------------------
|
||||
begin : Sun Aug 11 2002
|
||||
copyright : (C) 2002 by Gary E.Sherman
|
||||
email : sherman at mrcc dot com
|
||||
Romans 3:23=>Romans 6:23=>Romans 5:8=>Romans 10:9,10=>Romans 12
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
#include <qframe.h>
|
||||
#include <qcolordialog.h>
|
||||
#include "qgsmaplayer.h"
|
||||
#include "qgssymbol.h"
|
||||
#include "qgslayerproperties.h"
|
||||
|
||||
QgsLayerProperties::QgsLayerProperties(QgsMapLayer *lyr) : layer(lyr){
|
||||
// populate the property sheet based on the layer properties
|
||||
sym = layer->symbol();
|
||||
frmOutlineColor->setBackgroundColor(sym->color());
|
||||
frmFillColor->setBackgroundColor(sym->fillColor());
|
||||
setCaption("Layer Properties - " + lyr->name());
|
||||
}
|
||||
QgsLayerProperties::~QgsLayerProperties(){
|
||||
}
|
||||
void QgsLayerProperties::selectFillColor(){
|
||||
|
||||
QColor fc = QColorDialog::getColor ( sym->fillColor(), this);
|
||||
if(fc.isValid()){
|
||||
frmFillColor->setBackgroundColor(fc);
|
||||
sym->setFillColor(fc);
|
||||
}
|
||||
}
|
||||
void QgsLayerProperties::selectOutlineColor(){
|
||||
QColor oc = QColorDialog::getColor ( sym->color(), this);
|
||||
if(oc.isValid()){
|
||||
frmOutlineColor->setBackgroundColor(oc);
|
||||
sym->setColor(oc);
|
||||
}
|
||||
}
|
41
src/qgslayerproperties.h
Normal file
41
src/qgslayerproperties.h
Normal file
@ -0,0 +1,41 @@
|
||||
/***************************************************************************
|
||||
qgslayerproperties.h - description
|
||||
-------------------
|
||||
begin : Sun Aug 11 2002
|
||||
copyright : (C) 2002 by Gary E.Sherman
|
||||
email : sherman at mrcc dot com
|
||||
Romans 3:23=>Romans 6:23=>Romans 5:8=>Romans 10:9,10=>Romans 12
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef QGSLAYERPROPERTIES_H
|
||||
#define QGSLAYERPROPERTIES_H
|
||||
class QgsMapLayer;
|
||||
class QgsSymbol;
|
||||
#include "qgslayerpropertiesbase.h"
|
||||
|
||||
|
||||
/**Property sheet for a map layer
|
||||
*@author Gary E.Sherman
|
||||
*/
|
||||
|
||||
class QgsLayerProperties : public QgsLayerPropertiesBase {
|
||||
public:
|
||||
QgsLayerProperties(QgsMapLayer *ml);
|
||||
~QgsLayerProperties();
|
||||
void selectFillColor();
|
||||
void selectOutlineColor();
|
||||
private:
|
||||
QgsMapLayer *layer;
|
||||
QgsSymbol *sym;
|
||||
};
|
||||
|
||||
#endif
|
265
src/qgslayerpropertiesbase.ui
Normal file
265
src/qgslayerpropertiesbase.ui
Normal file
@ -0,0 +1,265 @@
|
||||
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
||||
<class>QgsLayerPropertiesBase</class>
|
||||
<widget class="QDialog">
|
||||
<property name="name">
|
||||
<cstring>QgsLayerPropertiesBase</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>403</width>
|
||||
<height>237</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Layer Properties</string>
|
||||
</property>
|
||||
<property name="sizeGripEnabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<grid>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>11</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget class="QTabWidget" row="0" column="1">
|
||||
<property name="name">
|
||||
<cstring>tabWidget</cstring>
|
||||
</property>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>Widget2</cstring>
|
||||
</property>
|
||||
<attribute name="title">
|
||||
<string>Symbology</string>
|
||||
</attribute>
|
||||
<widget class="QFrame">
|
||||
<property name="name">
|
||||
<cstring>frmOutlineColor</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>85</x>
|
||||
<y>15</y>
|
||||
<width>31</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>Raised</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>TextLabel1_2</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>50</y>
|
||||
<width>61</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Fill Color</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>btnSetColor</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>120</x>
|
||||
<y>15</y>
|
||||
<width>26</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>btnSetFillColor</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>120</x>
|
||||
<y>50</y>
|
||||
<width>26</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QFrame">
|
||||
<property name="name">
|
||||
<cstring>frmFillColor</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>85</x>
|
||||
<y>50</y>
|
||||
<width>31</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>Raised</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>TextLabel1</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>15</y>
|
||||
<width>61</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Outline color</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>Widget3</cstring>
|
||||
</property>
|
||||
<attribute name="title">
|
||||
<string>Labels</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
|
||||
<property name="name">
|
||||
<cstring>Layout1</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>buttonHelp</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Help</string>
|
||||
</property>
|
||||
<property name="accel">
|
||||
<number>4144</number>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>Horizontal Spacing2</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>buttonOk</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>OK</string>
|
||||
</property>
|
||||
<property name="accel">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="default">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>buttonCancel</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Cancel</string>
|
||||
</property>
|
||||
<property name="accel">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
</grid>
|
||||
</widget>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttonOk</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>QgsLayerPropertiesBase</receiver>
|
||||
<slot>accept()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>buttonCancel</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>QgsLayerPropertiesBase</receiver>
|
||||
<slot>reject()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>btnSetFillColor</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>QgsLayerPropertiesBase</receiver>
|
||||
<slot>selectFillColor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>btnSetColor</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>QgsLayerPropertiesBase</receiver>
|
||||
<slot>selectOutlineColor()</slot>
|
||||
</connection>
|
||||
</connections>
|
||||
<slots>
|
||||
<slot>selectFillColor()</slot>
|
||||
<slot>selectOutlineColor()</slot>
|
||||
</slots>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
</UI>
|
@ -28,13 +28,15 @@ HEADERS += qgsdbsourceselectbase.ui.h \
|
||||
qgslinesymbol.h \
|
||||
qgspolygonsymbol.h \
|
||||
qgslegend.h \
|
||||
qgslegenditem.h
|
||||
qgslegenditem.h \
|
||||
qgslayerproperties.h
|
||||
|
||||
INTERFACES += qgsdbsourceselectbase.ui \
|
||||
qgisappbase.ui \
|
||||
qgsnewconnectionbase.ui \
|
||||
qgslegenditembase.ui \
|
||||
qgsabout.ui
|
||||
qgsabout.ui \
|
||||
qgslayerpropertiesbase.ui
|
||||
SOURCES += main.cpp \
|
||||
qgisapp.cpp \
|
||||
qgsdatabaselayer.cpp \
|
||||
@ -53,4 +55,5 @@ SOURCES += main.cpp \
|
||||
qgssymbol.cpp \
|
||||
qgsmarkersymbol.cpp \
|
||||
qgslinesymbol.cpp \
|
||||
qgspolygonsymbol.cpp
|
||||
qgspolygonsymbol.cpp \
|
||||
qgslayerproperties.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user