Don Gagne
5fd125d9d6
Add Light/Dark theme support to QML
10 years ago
dogmaphobic
1b813145f0
More work on filter description consistency.
10 years ago
dogmaphobic
9b6b87788a
Adding and/or fixing even more and more captions.
10 years ago
dogmaphobic
77f442fd86
Changing the defaultSuffix argument from a pointer to a const.
...
Changing the order of the QGCFileDialog::getSaveFileName() function. The idea was to expand the existing QFileDialog version but as we removed the selectedFilter, we might as well make this more intuitive. The options argument is the one trully optional and should be last.
Adding an example to the documentation on how to go about figuring out what file type was returned by these functions.
10 years ago
dogmaphobic
209d354cd3
Removed the “selectedFilter” argument from the QGCFileDialog functions along with references to it in unit tests.
...
Fixed function declarations and prototypes formatting while at it.
Changed the caption of a few file save dialogs with a more descriptive text (explicitly telling what is being saved).
10 years ago
dogmaphobic
6ee1a42384
Initial work on enforcing extension.
10 years ago
dogmaphobic
32495fc404
Added default suffixes to these functions:
...
QGCApplication::saveTempFlightDataLogOnMainThread()
MainWindow::startVideoCapture()
QGCBaseParamWidget::saveParametersToFile()
QGCDataPlot2D::savePlot()
QGCDataPlot2D::saveCsvLog()
WaypointList::saveWaypoints()
QGCToolWidget::exportWidget()
LinechartWidget::startLogging()
Making sure defaultSuffix doesn’t start with a dot (i.e. “.bar”)
QGCFileDialog::getSaveFileName()
Assert if defaultSuffix contains a dot (i.e. “.bar”)
UnitTest::_getSaveFileName()
10 years ago
dogmaphobic
fcf4fda2ca
WIP issue #1173 . Adding default suffix (extension). While at it, added selected filter support and removed unit test assert about its use.
10 years ago
Don Gagne
33f9fae21d
Don't use native widget siblings
...
QQuickWidget can’t handle this
11 years ago
Don Gagne
c81927fae7
Rework Connect toolbar button usage
...
Now works for more than Serial links
11 years ago
Don Gagne
fb197a75bc
Move ui style from MainWindow to QGCApplication
11 years ago
Don Gagne
d3ad49f3d5
Moving more things off of MainWindow
...
Moving methods from MainWindow to QGCApplication so that more things
can run without a window. Helpful for testing.
11 years ago
Don Gagne
0981868537
DeleteOnClose causes strange Qt bug
...
When using DeleteOnClose with a QQuickWidget, the shutdown sequence
causes the MainWindow destructor loop back onto itself.
11 years ago
Don Gagne
fc493d75c1
Move UAS and MAVLinkProtocol back to main thread
...
Plus a large number of other changes to allow for orderly shutdown of
objects without crashes or asserts. This is need for unit tests to
create/delete global state around every test.
11 years ago
Don Gagne
7ffa27f86a
New Singleton Manager
11 years ago
Don Gagne
42351ee00b
Restructure LinkManager/MAVLinkProtocol
11 years ago
Don Gagne
d6ddbdc382
New FactSystem
...
Allows parameter access from QML among other things
11 years ago
Don Gagne
1903e1f87f
Fix incorrect directory
11 years ago
Don Gagne
b11fd1d6b4
Default qtlogging.ini file is copied if it doesn't exist
11 years ago
Don Gagne
505220e0e7
Change to use QGCTemporaryFile
11 years ago
Don Gagne
fa50037158
Unit Tests run from there own QSettings space
...
This is done by tweaking the application name when running unit test
11 years ago
Bryant
6359f78a32
Remove all unnecessary calls to QSettings.sync().
...
This function is called automatically when a QSettings object is destroyed,
so is rarely needed to be called explicitly.
There are still some cases where
a QSettings object is passed-by-reference, so there I left the sync() calls as
it's unclear how permanent those objects are and if they'd call sync() before
application shutdown
11 years ago
Don Gagne
c7e17869d4
Restructured for unit testing
11 years ago
Don Gagne
028c700982
New Unit Testing framework
...
Allows for UI unit tests to be written:
- Ability to respond to expected message boxes
- Ability to fail test if unexpected message boxes occurs
11 years ago
Don Gagne
381de98a3d
Unit test changes
11 years ago
Don Gagne
d1bab1999e
Fix shutdown sequence
11 years ago
Don Gagne
23e9acf2a8
Cleanup application object
11 years ago
Don Gagne
d2923d8ee0
Track Singletons in QGCApplication
...
- allow unit tests to use QGCApplication
- clear global singletons for each unit test run
11 years ago
Don Gagne
68a59a78f0
File renames
11 years ago
Don Gagne
d3cb8f9aa7
Rename files in git friendly way
11 years ago
Don Gagne
a7e6cc5733
Add Q_UNUSED to variable only used in Q_ASSERT
...
Should have known better!
11 years ago
Don Gagne
1aa044ccfd
New File Locations key not set in QSettings at boot
11 years ago
Don Gagne
db7b86fbbe
Use new QGCMessageBox apis
...
Subclass of QMessageBox which re-implements the static public
functions. There are two reasons for this:
1) The QMessageBox implementation on OSX does now show the title
string. This leads to message boxes which don't make much sense. So on
OSX we set title to text and text to informative text.
2) If parent is NULL, we set parent to MainWindow::instance. This
prevents message boxes which can go behind MainWindow
11 years ago
Don Gagne
33220de034
Saved files location support
...
- Also renamed QGCCore->QGCApplication to better reflect usage.
- New global qgcApp api to access main QHCApplication singleton
11 years ago
Don Gagne
9bfa9cecce
Delete Settings from preferences
11 years ago
Don Gagne
b263cb96b6
Restructure versioning info
11 years ago
Don Gagne
720ca30b21
Settings versioned independently from app version
11 years ago
Don Gagne
d61846e3fc
Remove SSL usage from code
11 years ago
Don Gagne
964600d367
Remove custom mode startup screen
11 years ago
Don Gagne
bb5ad4c178
Added --clear-settings command line option
...
Clears the persisted settings for the QGC
11 years ago
Bryant
e540ddb977
RT-LAB support now indicated by QGC_RTLAB_ENABLED macro.
11 years ago
tstellanova
08ed1b26bf
clean references and update version number
12 years ago
Lorenz Meier
eb5a54c065
Compile and serial port error handling fixes
12 years ago
Lorenz Meier
d95cf00399
Serial link selection in toolbar operational
12 years ago
Lorenz Meier
09f3a40c4d
Cleanup, operational
12 years ago
Lorenz Meier
b445c83322
First stab at better multi-use / multi-platform requirements
12 years ago
Bill Bonney
4e29541c79
Fixed the accidental removal of UDP listening of startup
12 years ago
Lorenz Meier
d21b52bb79
Made error message more informative
12 years ago
Lorenz Meier
cdcabe42c4
Revert "No longer automatically connect UDP on startup. Also removed some dead code"
...
This reverts commit e003dd7a7c
.
12 years ago
Bill Bonney
45bad6d10a
APM Tool Bar: connected connect(bool) signal to connect button.
12 years ago