Permalink
Browse files

modularize into widget-objects and separate classes

  • Loading branch information...
resfilter committed Feb 10, 2016
1 parent 62fd211 commit 5b7ec2f6ef575baa47128e5a4881e094156bc409
Showing with 18,690 additions and 17,373 deletions.
  1. +8 −2 CHANGELOG.txt
  2. +36 −0 about_window.cpp
  3. +28 −0 about_window.h
  4. +298 −0 about_window.ui
  5. +183 −34 analysis.cpp → analyzer.cpp
  6. +56 −7 analysis.h → analyzer.h
  7. +3,807 −0 analyzer.ui
  8. +1 −1 autospark.cpp
  9. +1 −1 autospark.h
  10. +2 −8 autospark.ui
  11. +85 −0 autotests.cpp
  12. +36 −0 autotests.h
  13. +794 −0 autotests.ui
  14. +13 −0 bin_file.cpp
  15. +3 −1 bin_file.h
  16. +15 −1 config.h
  17. +422 −0 controller.cpp
  18. +86 −0 controller.h
  19. +1,929 −0 controller.ui
  20. +0 −917 controls.cpp
  21. +131 −35 datalog.cpp
  22. +27 −93 datalog.h
  23. +3 −0 datalog_definition.cpp
  24. +18 −0 datalog_definition.h
  25. +8 −2 datalog_parser.cpp → datalog_packet.cpp
  26. +87 −0 datalog_packet.h
  27. +880 −0 datalog_window.cpp
  28. +205 −0 datalog_window.h
  29. +4,753 −0 datalog_window.ui
  30. +16 −16 datastream.cpp
  31. +11 −4 datastream.h
  32. +8 −0 datastream_control.cpp
  33. +62 −11 datastream_eventloop.cpp
  34. +10 −3 debuglog_window.cpp
  35. +2 −1 debuglog_window.h
  36. +2 −5 debuglog_window.ui
  37. +38 −11 eehack.pro
  38. +2 −2 eehack.pro.user
  39. +194 −0 flash_launcher.cpp
  40. +51 −0 flash_launcher.h
  41. +535 −0 flash_launcher.ui
  42. +1 −1 flashprogress.cpp
  43. +1 −2 flashprogress.h
  44. +1 −10 flashprogress.ui
  45. +30 −30 graphing.cpp
  46. +2 −0 icons.qrc
  47. BIN icons_new/doc_empty_icon&16.png
  48. BIN icons_new/save_icon&16.png
  49. +1 −1 knock_warning.cpp
  50. +1 −2 knock_warning.h
  51. +2 −2 knock_warning.ui
  52. +453 −0 launcher.cpp
  53. +101 −0 launcher.h
  54. +505 −0 launcher.ui
  55. +37 −50 logfile.cpp
  56. +7 −4 main.cpp
  57. +0 −1,209 mainwindow.cpp
  58. +0 −407 mainwindow.h
  59. +0 −14,350 mainwindow.ui
  60. +1 −2 mode3.cpp
  61. +9 −7 mode4.cpp
  62. +5 −1 notepad.cpp
  63. +3 −3 notepad.h
  64. +1 −4 notepad.ui
  65. +154 −0 raw_command.cpp
  66. +47 −0 raw_command.h
  67. +671 −0 raw_command.ui
  68. +18 −131 settings.cpp
  69. +6 −0 settings.h
  70. +296 −0 settings_editor.cpp
  71. +70 −0 settings_editor.h
  72. +1,420 −0 settings_editor.ui
  73. +1 −2 tests.cpp
View
@@ -1,8 +1,14 @@
4.4
New threaded model insanely fast UI response and consistent datalogging
Complete UI reorganization into seperate modules
Fix small bug that prevented clear DTC from working
New concurrently threaded datastream manager for consistent performance
New log cycling interface replaces old log-append behavior
Reworked serial comms for optimal performance
Enabled many features to be used while connected
New "Info" screen on extended
Many core changes that I can't be bothered to explain...
Enable flash READ speed display, and reconfigure sliders
Enforce a maximum timestamp gap of 60 seconds
Fix possible crash if rpm=0
4.3:
Internal transitional release into threading
View
@@ -0,0 +1,36 @@
#include <QDesktopServices>
#include <QUrl>
#include "about_window.h"
#include "ui_about_window.h"
about_window::about_window(QWidget *parent) :
QWidget(parent),
ui(new Ui::about_window)
{
ui->setupUi(this);
}
about_window::~about_window()
{
delete ui;
}
void about_window::on_donateBtn_clicked() {
launch_url("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=resfilter%40resfilter%2enet&lc=CA&item_name=fbodytech%2ecom&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted");
}
void about_window::on_reportBugsBtn_clicked() {
launch_url("https://github.com/resfilter/eehack/issues/new");
}
void about_window::on_aboutTxt1_linkActivated(const QString &link) {
launch_url(link);
}
void about_window::on_aboutTxt4_linkActivated(const QString &link) {
launch_url(link);
}
void about_window::launch_url(QString url) {
QDesktopServices::openUrl(QUrl(url));
}
View
@@ -0,0 +1,28 @@
#ifndef ABOUT_WINDOW_H
#define ABOUT_WINDOW_H
#include <QWidget>
namespace Ui {
class about_window;
}
class about_window : public QWidget
{
Q_OBJECT
public:
explicit about_window(QWidget *parent = 0);
~about_window();
private slots:
void on_aboutTxt4_linkActivated(const QString &link);
void on_aboutTxt1_linkActivated(const QString &link);
void on_reportBugsBtn_clicked();
void on_donateBtn_clicked();
private:
Ui::about_window *ui;
void launch_url(QString url);
};
#endif // ABOUT_WINDOW_H
View
@@ -0,0 +1,298 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>about_window</class>
<widget class="QWidget" name="about_window">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>630</width>
<height>490</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>630</width>
<height>490</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>630</width>
<height>490</height>
</size>
</property>
<property name="windowTitle">
<string>$EEHack About</string>
</property>
<property name="styleSheet">
<string notr="true">font: 11px &quot;Arial&quot;;</string>
</property>
<widget class="QGroupBox" name="aboutGroup1">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>301</width>
<height>111</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>About</string>
</property>
<widget class="QLabel" name="aboutTxt1">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>281</width>
<height>91</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;After over a decade playing about with LT1 engines, I wrote this program to bring some of the excellent discoveries that have been made concerning the EE platform to ordinary tuners and car owners.&lt;/p&gt;&lt;p&gt;-Steve H &lt;a href=&quot;http://fbodytech.com/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://fbodytech.com/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QPushButton" name="reportBugsBtn">
<property name="geometry">
<rect>
<x>10</x>
<y>290</y>
<width>301</width>
<height>81</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>-1</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt; font-weight:400;&quot;&gt;This gigantic donation button just takes you to paypal so you can throw me a couple bucks. It launches your external web browser.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string notr="true">Report A Bug (Github)</string>
</property>
<property name="icon">
<iconset>
<normalon>:/icons_new/attention_icon&amp;16.png</normalon>
</iconset>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
<widget class="QGroupBox" name="aboutGroup2">
<property name="geometry">
<rect>
<x>10</x>
<y>120</y>
<width>301</width>
<height>41</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Disclaimer and Warnings</string>
</property>
<widget class="QLabel" name="aboutTxt2">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>281</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Use at your own risk, and don't blame me if shit happens.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="aboutGroup3">
<property name="geometry">
<rect>
<x>320</x>
<y>0</y>
<width>301</width>
<height>371</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Credits and Thanks</string>
</property>
<widget class="QLabel" name="aboutTxt3">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>281</width>
<height>341</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Written by Steve Haslin aka steveo - resfilter@resfilter.net&lt;/p&gt;&lt;p&gt;kur4o - Disassembly work, data sheets, research, testing.. So much of this program is thanks to him.&lt;/p&gt;&lt;p&gt;RobertISaar - Disassembly work and research, hopefully more as V6 support matures ;)&lt;/p&gt;&lt;p&gt;EagleMark - Gearhead community maintainer (R.I.P)&lt;/p&gt;&lt;p&gt;GaryDoug - Advice and inspiration (also big thanks for writing a complimentary tool so I don't have to bother with ABS/SIR stuff..&lt;/p&gt;&lt;p&gt;fbody_Brian, jthompson, sherlock9c1, Solomon, etc - Incredibly helpful beta testing and feedback&lt;/p&gt;&lt;p&gt;Terpngator - Donated the test bench ECM that I used to develop this entire program&lt;/p&gt;&lt;p&gt;Ernie - Donated his old wideband, inspiring me to develop better wideband tuning tools&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; font-style:italic; color:#006c07;&quot;&gt;And especially to everyone who has donated a few bucks on paypal, I really appreciate it!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="aboutGroup4">
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<width>301</width>
<height>111</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>License</string>
</property>
<widget class="QLabel" name="aboutTxt4">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>281</width>
<height>91</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This program is GPL licensed. This is both to ensure transparency of my code, and in the hope that development continues in the event that I abandon the LT1 platform. Source available &lt;a href=&quot;http://github.com/resfilter/eehack&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;on github...&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It uses QT libraries, bundled seperately, GPL licensed.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QPushButton" name="donateBtn">
<property name="geometry">
<rect>
<x>10</x>
<y>380</y>
<width>611</width>
<height>101</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>-1</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt; font-weight:400;&quot;&gt;This gigantic donation button just takes you to paypal so you can throw me a couple bucks. It launches your external web browser.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string notr="true">Do you find this software helpful? Great!
Remember that I have volunteered hundreds of sober hours developing it.
Click here to send me a couple bucks for beer and parts!
Even two bucks really makes my day.
Paypal or email resfilter@resfilter.net for details.</string>
</property>
<property name="icon">
<iconset>
<normalon>:/icons_new/import_icon&amp;16.png</normalon>
</iconset>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
Oops, something went wrong.

0 comments on commit 5b7ec2f

Please sign in to comment.