-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*************************************************************************** | ||
* Copyright (C) 2019-2022 by Stefan Kebekus * | ||
* Copyright (C) 2019-2025 by Stefan Kebekus * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
|
@@ -219,7 +219,7 @@ class Leg { | |
// | ||
|
||
// Width of the leg. A position is considered near the leg if the distance is less. | ||
static constexpr Units::Distance nearThreshold = Units::Distance::fromNM(3.0); | ||
static constexpr Units::Distance nearThreshold = Units::Distance::fromNM(5.0); | ||
|
||
private: | ||
// Necessary data for computation of wind triangle? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*************************************************************************** | ||
* Copyright (C) 2019-2024 by Stefan Kebekus * | ||
* Copyright (C) 2019-2025 by Stefan Kebekus * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*************************************************************************** | ||
* Copyright (C) 2019-2023 by Stefan Kebekus * | ||
* Copyright (C) 2019-2025 by Stefan Kebekus * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
|
@@ -72,8 +72,18 @@ class FileExchange : public Platform::FileExchange_Abstract | |
*/ | ||
QString viewContent(const QByteArray& content, const QString& mimeType, const QString& fileNameTemplate) override; | ||
|
||
#warning | ||
Q_INVOKABLE static void openFilePicker(const QString& mime); | ||
/*! \brief Opens the native Android file picker | ||
* | ||
* This method facilitates a workaround against | ||
* https://bugreports.qt.io/browse/QTBUG-118154 which renders the file | ||
* dialog effectively unusable under Android. This method returns | ||
* immediately. It display the file picker on top of the app. Once a file | ||
* is chosen, the standart import mechanism is invoked. | ||
* | ||
* @param mimeType A space-separated list of mime types for that that | ||
* should be selectable | ||
*/ | ||
Q_INVOKABLE static void openFilePicker(const QString& mimeType); | ||
|
||
public slots: | ||
/*! \brief Implements pure virtual method from FileExchange_Abstract */ | ||
|