Skip to content

Commit

Permalink
Add about widget
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Nov 16, 2016
1 parent cd3db2f commit 8492152
Show file tree
Hide file tree
Showing 30 changed files with 2,708 additions and 645 deletions.
4 changes: 2 additions & 2 deletions Authors.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
康林(QQ:16614119 MSN、email:kl222@126.com)
缪正伟(email:393758926@qq.com)
康林(QQ:16614119 email:kl222@126.com)

2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
版本:0.1.0
版本:0.0.1
--------------
7 changes: 7 additions & 0 deletions mainwindow.cpp → Mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "GpxModel/gpx_model.h"
#include "Global/Global.h"
#include "Common/Tool.h"
#include "Widgets/DlgAbout/DlgAbout.h"

#include <osgEarthAnnotation/FeatureNode>
#include <osgEarthFeatures/Feature>
Expand Down Expand Up @@ -562,3 +563,9 @@ int MainWindow::InitToolbar()
ui->mainToolBar->addAction(ui->actionMeasure_the_distance_M);
return 0;
}

void MainWindow::on_actionAbout_A_triggered()
{
CDlgAbout about(this);
about.exec();
}
2 changes: 2 additions & 0 deletions mainwindow.h → Mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ private slots:

void on_actionToolBar_triggered();

void on_actionAbout_A_triggered();

private:
int LoadMap(QString szFile);

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

=============================================================================

* Author:KangLin(msn、email:kl222@126.com ; QQ:16614119)
* Author:KangLin(email:kl222@126.com ; QQ:16614119)
* Project:https://github.com/KangLin/rabbitGIS

|[<img src="Resource/png/china.png" alt="Chinese" title="Chinese" width="16" height="16" />Chinese](README_ZH.md)|
|[<img src="Resource/png/China.png" alt="Chinese" title="Chinese" width="16" height="16" />Chinese](README_ZH.md)|

-----------------------------------------------------------------------------
## Build
Expand Down
2 changes: 1 addition & 1 deletion README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

=============================================================================

* 作者:康林(msn、email:kl222@126.com ; QQ:16614119)
* 作者:康林(email:kl222@126.com ; QQ:16614119)
* 项目位置:https://github.com/KangLin/rabbitGIS


Expand Down
6 changes: 4 additions & 2 deletions RabbitGIS.pro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ CONFIG += link_prl
include(pri/ThirdLibraryConfig.pri)
include(pri/ThirdLibrary.pri)
include(pri/ThirdLibraryJoin.pri)
include(pri/RabbitGISFiles.pri)
include(pri/Files.pri)
include(pri/Version.pri)

# Rules for creating/updating {ts|qm}-files
include(Resource/translations/translations.pri)
Expand All @@ -56,7 +57,8 @@ OTHER_FILES += \
.gitignore \
appveyor.yml \
ci/* \
Data/*
Data/* \
Version.h.template

DISTFILES += \
LICENSE.md \
Expand Down
2 changes: 1 addition & 1 deletion Resource/Resource.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<qresource prefix="/icon">
<file alias="AppIcon">png/AppIcon.png</file>
<file alias="Language">png/Language.jpg</file>
<file alias="China">png/china.png</file>
<file alias="English">png/English.png</file>
<file alias="Setting">png/settings16x16.png</file>
<file alias="Map">png/map.jpg</file>
<file alias="Track">png/track.png</file>
<file alias="Close">png/close.png</file>
<file alias="Stype">png/stype.png</file>
<file alias="Measure">png/Measure.png</file>
<file alias="China">png/China.png</file>
</qresource>
<qresource prefix="/sink">
<file alias="Blue">sink/blue.qss</file>
Expand Down
File renamed without changes
Loading

0 comments on commit 8492152

Please sign in to comment.