Skip to content

A simple application which search weather informations for the entered city with airport's weather informations

License

Notifications You must be signed in to change notification settings

VeagleDev/weather-widget

Repository files navigation

weather-widget

A simple application which search weather informations for the entered city with airport's weather informations. I use METARS weather informations and airports informations (btw thanks to @davidmegginson).


Here are some pictures of the application :


Tech stack

This application is no longer in development. But you can still make suggestions or Pull Requests, it will stay active. This application is made with the C++ langage, using the Qt Framework. The Qt Framework has it whole environment and all an ecosystem like QVector, QMap etc... You can see all the files below and their utility. You can ask questions about working.

So to explane a bit, at startup, the app looks for Update, and then loads all the informations about weather. It take out the informations from the NSAA website as CSV. It parses all the data and add it to SQLite memory server. Then when the user enters a IATA, ICAO or even the name of the airport, it checks if this one exists and then it displays the information. Every few minutes, the application reload the information so you can have the newest informations !


Files

All .hpp files are only header matching with their source code .cpp Here are the important .cpp files :

  • main.cpp : Main file which creates the window and call the version checking
  • tools.cpp : Set of tools used everywhere in the code
  • ui.cpp : Code that creates the User Interface
  • update.cpp : File that totally handles the auto-update of the application
  • widget.cpp : The most important file that fetch, analyze the METARs, save the informations and search the weather and name information of the airport and displays it

How to install WeathGet ?

  • Download the latest release
  • Extract the .zip archive
  • Enter the folder and run WeathGet.exe
  • If an warning message appear, just ignore it (don't be frightened, the source code is here and it's just because I'm not approved by Microsoft
  • If you have an error, you can report it here

How to contribute to the WeathGet project ?

To contribute, there is lot of ways, you can :
  • Report bugs or suggest improvements on the issue page.
  • React with the already existing issues.
  • Share the project to your friends or people which could be interessed.
  • Come in the discussions to talk about problems, features or others.
  • Write articles in the open Wiki
  • Submit pull requests, for that, you can check the CONTRIBUTING.md file.