dogmaphobic
e583798ec5
Handling multi-platform sizing (fonts and pixels)
10 years ago
Don Gagne
2ba91017cf
Fix crank on reconnect
10 years ago
Don Gagne
be818a6641
Add controllers
10 years ago
Don Gagne
d5146cd2a2
Resource restructuring
...
- All resources are either under src or under resources dirs
- Removed files top level directory
- Move flightgear files to top level dir
10 years ago
Don Gagne
514a4d9506
Adjust point sizes in styles
10 years ago
Don Gagne
8ce3154126
Add reconnectAfterWait API
10 years ago
Don Gagne
f254fc614d
qtlogging.ini automatically created at startup
...
If it doesn’t exist it will be prefilled with all registered categories
set to false
10 years ago
dogmaphobic
b6cf543e32
Created new ScreenTools exported control for QML code to obtain screen DPI factor to be used for computing font point sizes. This code used to be in the tool bar code and now is available to all QML widgets.
...
Moved global mouse position tool into ScreenTools as I felt it would be a place to collect these sort of functionality.
Replaced Tree used in the Safety Component from a PNG file to a SVG file as the PNG was not scaling up properly.
10 years ago
Don Gagne
9f4b6e76f5
Fix hover state of Button
10 years ago
Basil Huber
9134bd06b2
changed criticalMessageBoxOnMainThread(const QString& title, const QString& msg) to QGCMessageBox::warning
10 years ago
Basil Huber
de65466012
Cleaned up mess from merging
10 years ago
dogmaphobic
7452449027
Renamed classes and files away from the QGC prefix.
...
Shrunk the Message drop down dialog a bit.
Made the Message drop down dialog slightly transparent.
10 years ago
Basil Huber
9f2c004b6c
Replace QMessageBox::warning by QGCApplication::criticalMessageBoxOnMainThread and removed unnecessary copying action
10 years ago
dogmaphobic
16e40be2ed
Added drop down message widget
10 years ago
Basil Huber
148440d0f5
Changed text in error message
...
Added to ". Please provide a different file name to save to." to the error dialog
10 years ago
Basil Huber
c7ff431e99
Repaired overwriting current files for flight data log ( fix #1241 )
...
changed QGCApplication::saveTempFlightDataLogOnMainThread(QString tempLogfile) to enable overwriting files
existing file is removed before saving file (QFile::copy cannot overwrite files)
10 years ago
dogmaphobic
0a31331428
The ultimate goal is to plug a device, set it up and go fly it without any fuss.
...
The goal of this first installment is to organize the code a bit so it's more readable,
clean up a bit of left over cruft, and manage link configurations (and links in general).
10 years ago
Don Gagne
70a55798bb
Move Palette registration out of FactSystem
...
Since this is generic Qml support not specific to FactSystem
10 years ago
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