subsurface/qt-ui
Tomaz Canabrava 96d1cc570e Use the same code for command line and gui for file handling.
The Command line execution of Subsurface happened before the
GUI was created, this leaded to various bugs by me(tm) over
time. This patch seems to fix all of those, by reusing the
same code for GUI interaction and CommandLine interaction.

I had to rework how the main.c worked, it used to be C code
calling C++ code, and this is non desirable, since C doesn't
really understand C++.

I Moved all of C-related code to 'subsurfacestartup.c/h' and
created a tiny wrapper to call it, so all of the C code is still
C code, and the new main.cpp calls the mainwindow->loadFiles and
mainWindow->importFiles to get rid of the bugs that happened before.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
2013-09-09 05:59:03 -03:00
..
css Added missing CSS file. 2013-09-02 05:57:08 -03:00
marble Work around broken Marble on Debian 2013-05-18 09:49:37 -07:00
about.cpp Fix compile on clean source 2013-07-19 10:24:59 -07:00
about.h Add an 'About' dialog for the Qt UI 2013-06-24 07:44:28 -07:00
about.ui About: improve dialog layout 2013-07-11 09:22:20 -03:00
completionmodels.cpp Compile fix 2013-08-13 20:29:22 +02:00
completionmodels.h Added classes to handle the Completion of Dive Editions. 2013-08-13 10:30:22 -03:00
divecomputermanagementdialog.cpp Close child windows and dialogs with main window 2013-06-28 20:23:59 +08:00
divecomputermanagementdialog.h Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divecomputermanagementdialog.ui Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divelistview.cpp Qt: Implement trip merging logic 2013-07-04 23:00:12 -07:00
divelistview.h Qt: Implement trip merging logic 2013-07-04 23:00:12 -07:00
diveplanner.cpp Fixed a incorrect signal that shouldn't be there. 2013-09-03 13:59:20 -03:00
diveplanner.h Code Cleanup: Merged the three TableViews shared code 2013-09-02 16:21:08 -03:00
diveplanner.ui Code Cleanup: Merged the three TableViews shared code 2013-09-02 16:21:08 -03:00
downloadfromdivecomputer.cpp fix DownloadDialog behavior 2013-08-29 19:20:34 -03:00
downloadfromdivecomputer.h fix DownloadDialog behavior 2013-08-29 19:20:34 -03:00
downloadfromdivecomputer.ui Change title of dive download form 2013-06-12 07:27:58 -04:00
globe.cpp Coordinate some mark_divelist_changed() calls 2013-06-27 20:57:11 +08:00
globe.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
graphicsview-common.cpp Colors: a couple of grayscale color tweaks 2013-07-18 12:00:12 -07:00
graphicsview-common.h Added 2 new files to handle the common stuff for graphics. 2013-07-02 10:08:16 -03:00
kmessagewidget.cpp Fixed the 'click in close doesn't close' on KMessageWidget. 2013-05-22 08:10:02 -03:00
kmessagewidget.h Compile fix 2013-05-17 22:27:50 -07:00
maintab.cpp Code Cleanup: Merged the three TableViews shared code 2013-09-02 16:21:08 -03:00
maintab.h Code Cleanup: Merged the three TableViews shared code 2013-09-02 16:21:08 -03:00
maintab.ui Code Cleanup: Merged the three TableViews shared code 2013-09-02 16:21:08 -03:00
mainwindow.cpp Use the same code for command line and gui for file handling. 2013-09-09 05:59:03 -03:00
mainwindow.h Use the same code for command line and gui for file handling. 2013-09-09 05:59:03 -03:00
mainwindow.ui Fixe: Show the profile and info window on opening. 2013-09-02 05:55:37 -03:00
modeldelegates.cpp Corrected spelling of "weight" in the preferences dialog and code 2013-08-30 20:22:50 -07:00
modeldelegates.h Started the work of Editable Model for the Planner 2013-08-30 07:14:30 -03:00
models.cpp Print: improve table printing by using QTableView 2013-08-05 06:59:19 +02:00
models.h Print: improve table printing by using QTableView 2013-08-05 06:59:19 +02:00
plotareascene.cpp Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
plotareascene.h Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
preferences.cpp Close child windows and dialogs with main window 2013-06-28 20:23:59 +08:00
preferences.h Tie all the pieces together and make Preferences work as intended 2013-06-03 21:08:49 +09:00
preferences.ui Corrected spelling of "weight" in the preferences dialog and code 2013-08-30 20:22:50 -07:00
printdialog.cpp Print: add experimental code for printing profiles 2013-07-18 12:00:12 -07:00
printdialog.h Print: add a print preview for testing purposes 2013-07-10 19:27:10 +03:00
printlayout.cpp Print: improve table printing by using QTableView 2013-08-05 06:59:19 +02:00
printlayout.h Print: improve table printing by using QTableView 2013-08-05 06:59:19 +02:00
printoptions.cpp Print: move some header includes to cpp files 2013-07-11 00:45:29 +03:00
printoptions.h Print: move some header includes to cpp files 2013-07-11 00:45:29 +03:00
printoptions.ui Print: correct tab order in the options widget 2013-07-10 10:50:33 +03:00
profilegraphics.cpp Use maxx from graphics context for time calculation. 2013-08-08 20:00:15 +02:00
profilegraphics.h Support more than one event of the same type in Qt tooltip. 2013-08-05 06:55:18 +02:00
renumber.ui add forgotten file. 2013-06-17 13:54:50 -03:00
simplewidgets.cpp Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
simplewidgets.h Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
starwidget.cpp The never ending, futile fight for whitespace consistency 2013-05-22 21:31:45 -07:00
starwidget.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
subsurfacewebservices.cpp A couple of dialog modality considerations 2013-06-28 20:24:14 +08:00
subsurfacewebservices.h Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00
subsurfacewebservices.ui Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00
tableview.cpp Missing Files. 2013-09-03 13:57:38 -03:00
tableview.h Missing Files. 2013-09-03 13:57:38 -03:00
tableview.ui Missing Files. 2013-09-03 13:57:38 -03:00