Christian Jacobs
3cc4f83a22
Added my middle initial.
2015-03-06 23:31:46 +00:00
Christian Jacobs
dca3ed118c
Added unit tests for the Logbook class.
2015-03-01 14:21:18 +00:00
Christian Jacobs
99724ae10e
Handle the case where the user tries to add/edit/delete a record, but the Summary page is selected.
2015-02-16 10:39:16 +00:00
Christian Jacobs
2c5c046a7a
Clear the contents of the file, in case the file exists already.
2015-02-07 21:44:34 +00:00
Christian Jacobs
69d1a95f51
Docstrings and comments.
2015-02-07 21:28:55 +00:00
Christian Jacobs
d428fc7953
Use set_do_overwrite_confirmation(True), rather than handling the confirm-overwrite signal ourselves.
2015-02-07 21:25:06 +00:00
Christian Jacobs
e6e8570c1b
Separate the Create and Open functionality for logbooks. Addresses issue #20 .
...
The menu and toolbar now have separate "Create Logbook" and "Open Logbook" buttons.
2015-02-07 21:22:16 +00:00
Paride Legovini
9473318e9a
Fix creation of empty GtkTreeModel
2014-05-18 10:17:09 +08:00
Christian Jacobs
42d6130d0e
Handle 'configuration option not found' exceptions.
2014-03-31 10:44:46 +01:00
Christian Jacobs
8a09ed798c
Include the valid ADIF file extensions as well as an "All Files" option in the 'Import Log' and 'Export Log' dialogs.
2014-03-01 18:39:23 +00:00
Christian Jacobs
40bc5aa187
If the field being sorted is the QSO_DATE, then also sort by the TIME_ON field so we get the correct chronological order.
2014-03-01 18:06:50 +00:00
Christian Jacobs
aca64cc2c7
Set the sizing property of the 'Notes' column to 'Gtk.TreeViewColumnSizing.FIXED'. This resolves issue #1 .
2014-02-05 00:53:16 +00:00
Christian Jacobs
5c99387b40
More error handling.
2013-10-01 21:23:37 +01:00
Christian Jacobs
ebc6d767aa
More error handling.
2013-10-01 21:20:15 +01:00
Christian Jacobs
7396e895ac
Handle the case where there is an IOError or OSError.
2013-09-30 18:16:06 +01:00
Christian Jacobs
a3c3552f14
Using 'with' statements to deal with database commits and rollbacks.
2013-09-30 16:56:11 +01:00
Christian Jacobs
23b6557c54
Remove the "close" button in the log's tab.
2013-09-16 03:24:53 +01:00
Christian Jacobs
e3f81fbfda
Fixed a bug which occurred when searching for duplicate records in an empty log.
2013-09-16 03:17:37 +01:00
Christian Jacobs
e8c3ff3f00
Updated status bar text.
2013-09-15 04:43:03 +01:00
Christian Jacobs
f260462072
Added commit and rollback statements.
2013-09-15 02:49:12 +01:00
Christian Jacobs
42a849aa4c
Corrected a debugging statement.
2013-09-14 22:19:33 +01:00
Christian Jacobs
e8c1fafbcc
More debugging statements.
2013-09-14 22:12:10 +01:00
Christian Jacobs
45aee6bf74
More error handling.
2013-09-14 21:33:01 +01:00
Christian Jacobs
f2e64dbd19
Wrap the import statements for the Hamlib module in a try-except block. Only try to call Hamlib if have_hamlib is True.
2013-09-14 20:31:12 +01:00
Christian Jacobs
ab4d7ce9c6
A few small improvements.
2013-09-14 20:15:12 +01:00
Christian Jacobs
d1e4c1471b
- Added open and close methods for the Logbook class.
...
- Added some more error handling for database-related statements.
2013-09-14 19:27:45 +01:00
Christian Jacobs
26b86d754c
Removed the 'delete log' button next to the log tabs, since it's unlikely the user will want to do this often.
2013-09-05 11:44:02 +01:00
Christian Jacobs
fa7788f49d
Changed ''' to """.
2013-09-04 21:12:04 +01:00
Christian Jacobs
bc4ae0e41a
Added more docstrings.
2013-09-04 21:03:48 +01:00
Christian Jacobs
927b41c3a7
- Added functionality to remove duplicate records in a log.
...
- Updated the manual.
2013-09-01 20:01:29 +01:00
Christian Jacobs
9511c40e21
Database updates can be expensive, so only update the field if the data has actually changed.
2013-08-15 22:33:59 +01:00
Christian Jacobs
10d7d4e662
Added DXCC award tracking functionality.
2013-08-15 21:23:10 +01:00
Christian Jacobs
326aa513d9
Use the parent window in the Gtk.PrintOperation.run call.
2013-08-03 20:16:50 +01:00
Christian Jacobs
2f11f80221
- Added a module for creating auxiliary dialogs for error messages and prompts.
...
- Renamed 'root_window' to 'parent'.
2013-08-03 20:11:00 +01:00
Christian Jacobs
56c8e6e33f
Fixed an 'iter'-related bug - the correct iter is now used when editing or deleting records from the ListStore.
2013-08-03 19:00:39 +01:00
Christian Jacobs
80683bab07
- Added station-related fields to the records dialog.
...
- Fixed a case sensitivity-related bug in the callsign filter.
2013-07-28 16:50:52 +01:00
Christian Jacobs
59f53981e8
Added callsign lookup functionality which uses the qrz.com database.
2013-07-13 20:23:53 +01:00
Christian Jacobs
a00bd7192a
- Finished log printing capability.
...
- Automatically fill in the date and time fields for new records.
2013-07-13 16:43:27 +01:00
Christian Jacobs
22460fff00
Added basic print functionality using the PrintOperation class.
2013-07-11 00:22:27 +01:00
Christian Jacobs
ac3a543a83
- Added a calendar widget to the Record dialog.
...
- Added a frame to hold station information. Still need to add the other relevant fields.
2013-07-03 01:00:00 +01:00
Christian Jacobs
5ab8ff6352
The 'sys' module is no longer needed here.
2013-07-02 15:14:30 +01:00
Christian Jacobs
2922e75b34
Some additional error handling for the database connection setup.
2013-07-02 15:13:25 +01:00
Christian Jacobs
b40702c0bd
Fixed log deletion functionality.
2013-07-02 03:20:51 +01:00
Christian Jacobs
e151f0a23e
Users can now import into existing logs.
2013-07-02 02:47:21 +01:00
Christian Jacobs
df1fdcf781
Allow the user to select the field names that are visible in the logbook.
2013-07-01 23:23:43 +01:00
Christian Jacobs
b680e4c955
- Default to 800 x 600 resolution.
...
- Check that a log is selected before attempting to export.
2013-06-30 14:38:08 +01:00
Christian Jacobs
e9b73d6985
Check whether the Summary page is currently selected. If so, don't let the user delete or rename that page.
2013-06-23 23:07:46 +01:00
Christian Jacobs
523c233f03
Improved the modification date format.
2013-06-23 22:42:22 +01:00
Christian Jacobs
e79baec0bd
Forget the idea about selected field names for now. Just use all available ADIF fields instead.
2013-06-23 17:31:27 +01:00
Christian Jacobs
d587522327
- Check the validity of field data when importing logs in ADIF format.
...
- Make the BAND and MODE field data lower/upper case to ensure that the combo boxes are set correctly.
- If the user tries to overwrite a file when exporting a log, check that they are sure.
2013-06-16 02:09:53 +01:00
Christian Jacobs
ed35c00409
Remove the filter for .db files.
2013-06-15 22:18:10 +01:00
Christian Jacobs
b7342f4978
Added a method that finds the log_index from a log/page name.
2013-06-08 16:36:27 +01:00
Christian Jacobs
721ddad46c
Moved the DX cluster to the main window.
2013-06-07 21:56:36 +01:00
Christian Jacobs
974b65a9ca
Updated a comment.
2013-05-19 23:02:24 +01:00
Christian Jacobs
d802f1868b
Now that a filter model is the child of the sort model, find the filter model's iter (instead of the sort model's iter) and pass it to convert_iter_to_child_iter.
2013-05-19 18:55:04 +01:00
Christian Jacobs
79e7916427
Also call the pop method for the filter list.
2013-05-19 17:05:17 +01:00
Christian Jacobs
220caf3c8a
Disable the filter source if not connected to a database.
2013-05-19 16:58:10 +01:00
Christian Jacobs
003c2b347c
Added filter (by callsign) functionality.
2013-05-19 16:51:47 +01:00
Christian Jacobs
7559ed7cee
Allow the user to enter a new log name when importing ADIF logs, rather than using the ADIF file name as the log name.
2013-05-16 21:47:17 +01:00
Christian Jacobs
6636ab224a
- Logs can now be renamed.
...
- Bug fix: Records were not correctly being deleted or edited, because of the addition of the Gtk.TreeModelSort. Fixed by using the iter of the child object, not the new sorting object.
2013-05-10 14:05:33 +01:00
Christian Jacobs
6986764476
Bug fix: The log index is no longer determined from the tab's index in the Gtk.Notebook (which sometimes caused an index out of bounds error).
2013-05-09 11:29:55 +01:00
Christian Jacobs
4f75523805
Updated a comment.
2013-04-30 03:21:42 +01:00
Christian Jacobs
eeb801ff0e
Users can now sort the log (by a single column).
2013-04-30 03:17:40 +01:00
Christian Jacobs
c6bae0d81e
Moved the is_valid method to the ADIF class, since data is validated against ADIF field definitions.
2013-04-27 16:56:02 +01:00
Christian Jacobs
79687fb0d6
Fixed the ADIF import/export functionality.
2013-04-26 23:53:23 +01:00
Christian Jacobs
fc04f5d004
Enable the relevant menu items only when required.
2013-04-26 10:32:48 +01:00
Christian Jacobs
d107fb5485
Disable the record buttons if a log is not selected.
2013-04-26 10:10:05 +01:00
Christian Jacobs
604a4b1854
- Added SQL statements for adding, editing and deleting records.
...
- AUTOINCREMENT the primary key.
2013-04-22 14:37:21 +01:00
Christian Jacobs
aaf86720d2
Update logbook information on the Summary page every time the logbook is modified.
2013-04-22 00:15:07 +01:00
Christian Jacobs
1ab776226b
Left-aligned label text.
2013-04-21 17:47:09 +01:00
Christian Jacobs
e4af7bed2d
Added connect and disconnect buttons to the toolbar. Users can now select the .db file through the GUI.
2013-04-21 15:52:06 +01:00
Christian Jacobs
bc25b831b9
- Added a "Summary" page for the Logbook. This will eventually contain info such as Logbook name, number of log records, date created, date last modified, etc.
...
- logbook.py needs a tidy-up.
2013-04-17 00:51:28 +01:00
Christian Jacobs
d0246a3f2c
- Added a "+" ("New Log") tab, and a "Delete Log" button after each tab's title.
...
- Added a new dialog so the user can enter the new log's name.
2013-04-16 23:53:24 +01:00
Christian Jacobs
38a7c65e09
Update the status bar once connected to the database.
2013-04-15 02:49:16 +01:00
Christian Jacobs
d13dc12cb3
PyQSO now accepts the database file name as a command line argument, and tries to connect to the database on start-up.
2013-04-15 02:37:02 +01:00
Christian Jacobs
c8a9b29f3e
Placing :memory: in quotes.
2013-04-14 15:35:17 +01:00
Christian Jacobs
2fb650f7ab
Added create and destroy methods for the SQL database connection.
2013-04-14 15:18:46 +01:00
Christian Jacobs
2b2faffaf1
When closing a modified log, ignore the * at the end of the log's name.
2013-03-31 03:52:38 +01:00
Christian Jacobs
097d2ac261
Pass in None as the parent window argument until a better way of handling this is found.
2013-03-31 02:18:46 +01:00
Christian Jacobs
1bd9f5d797
Only change the tab's label text if the record has been modified.
2013-03-31 02:10:02 +01:00
Christian Jacobs
e409cf7475
Renamed src/ to pyqso/
2013-03-30 20:50:20 +00:00