- 18 Jan, 2016 5 commits
-
-
Tomaz Canabrava authored
I know that some people belive that goto's are devil's work but sometimes (like chaining if/elses for failures) it can actually simplify the code for a better readability and improved speed. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
-
Tomaz Canabrava authored
Strings can be expensive to create, all the issues with allocation, copy of the char members, conversion to UTF-16. QStringLiteral creates one in compile time. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
-
Tomaz Canabrava authored
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
-
Tomaz Canabrava authored
virtual marks a method for inclusion on a v-table, but we don't want the methods of classes that won't be inheritable to have a v-table, we want, however, to issue a warning if somebody try to inherit that specific class and reimplement those methods. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
-
Tomaz Canabrava authored
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
-
- 17 Jan, 2016 1 commit
-
-
Don Gagne authored
Add scroll height indicators to Flickable
-
- 16 Jan, 2016 2 commits
- 15 Jan, 2016 2 commits
- 13 Jan, 2016 1 commit
-
-
Don Gagne authored
-
- 10 Jan, 2016 1 commit
-
-
nopeppermint authored
-
- 04 Jan, 2016 1 commit
-
-
Tomaz Canabrava authored
First commit of modernizarion of Qt signal connections, the new signal connection is very userfull because of a few nice things: - it's checked at compile time instead of runtime - it can connect to any function or method, so we don't need to use slots anymore - it's way faster because it doesn't need to work with string comparisson, but it's basically a direct call. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
-
- 03 Jan, 2016 2 commits
- 02 Jan, 2016 2 commits
- 30 Dec, 2015 3 commits
- 29 Dec, 2015 1 commit
-
-
Don Gagne authored
-
- 28 Dec, 2015 2 commits
- 27 Dec, 2015 2 commits
- 26 Dec, 2015 2 commits
- 25 Dec, 2015 1 commit
-
-
Don Gagne authored
-
- 24 Dec, 2015 3 commits
- 23 Dec, 2015 1 commit
-
-
Anselmo L. S. Melo authored
There are many ways of iterating over lists in C++/Qt. In the specific case of QStrings, it is known [1] that using foreach with const references avoids the creation of new QString objects in each iteration, reducing the time consumed by the loops. [1] https://blog.qt.io/blog/2009/01/23/iterating-efficiently/Signed-off-by: Anselmo L. S. Melo <anselmo.melo@intel.com>
-
- 21 Dec, 2015 1 commit
-
-
Don Gagne authored
Also added missing FRAME types
-
- 20 Dec, 2015 3 commits
- 16 Dec, 2015 2 commits
-
-
Tomaz Canabrava authored
This commit introduces the APM Airframe configuration. The interface is the same as the PX4 one, but the way we deal with the uas is a bit different Since the APM stack doesn't provide a xml with airframe definitions a new one was created by hand with only the values that we need, wich will trigger a download of the parameters file from the mavlink github Now it correctly handles the FRAME variable and it's faster regarding the download of the parameters for each type of Frame. Only show Airframes for ArduCopter, not for ArduRover nor ArduPlane Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
-
Don Gagne authored
-
- 15 Dec, 2015 2 commits