Commit graph

71 commits

Author SHA1 Message Date
Andrey Golovizin
67c4edbe0a Rename WorkerThread.quit to WorkerThread._quit to prevent overwriting QThread::quit(). 2014-09-12 12:44:47 +02:00
Andrey Golovizin
1f91582ccd Fix broken ask_for_help(). 2014-09-11 23:40:00 +02:00
Andrey Golovizin
f771722d0b Rename OCREngine to Document and move it to pixelocr.document. 2014-09-11 12:24:38 +02:00
Andrey Golovizin
4e35d56696 Move all GUI-related stuff from OCREngine to GUIProxy. 2014-09-11 12:16:38 +02:00
Andrey Golovizin
1c6509efad Try to guess bold and italic properties for unknown glyphs (from the previous glyph). 2014-09-09 21:25:27 +02:00
Andrey Golovizin
4dff247313 Make GlyphEdit a focus proxy for PageView. 2014-09-09 21:05:28 +02:00
Andrey Golovizin
4548f92e73 Use backend-specific suffixes for output filenames. 2014-09-08 21:15:55 +02:00
Andrey Golovizin
a089846a31 Fix scrolling and alignment in PageView. 2014-09-08 20:09:29 +02:00
Andrey Golovizin
a75630890e Write results to <img_filename>.txt files. 2014-09-04 21:44:00 +02:00
Andrey Golovizin
69c5b4ce0a Use entry points for output formats, add --output-format option. 2014-09-04 18:26:47 +02:00
Andrey Golovizin
a59d528253 Add HTML output format. 2014-09-04 17:47:07 +02:00
Andrey Golovizin
296035c966 Add support for output formats. 2014-09-04 17:46:48 +02:00
Andrey Golovizin
1b49500227 Add --limit and --quit options. 2014-09-03 20:51:57 +02:00
Andrey Golovizin
96d9386e77 Try to preserve sort order when editing glyphs. 2014-09-02 16:06:49 +02:00
Andrey Golovizin
9bd40bd12d Add Color column to GlyphDBEdit. 2014-09-02 15:25:46 +02:00
Andrey Golovizin
af351617d8 Add 'Date added' column to GlyphDBEdit. 2014-09-02 01:00:44 +02:00
Andrey Golovizin
a3e930b879 GlyphDBEdit: properly display glyphs merged after editing. 2014-09-02 00:24:26 +02:00
Andrey Golovizin
90b9a5a978 Use generic datatype-based columns in GlyphDBEdit. 2014-09-01 23:56:51 +02:00
Andrey Golovizin
215d814777 Add Bool and Italic columns to GlyphDBEdit. 2014-09-01 22:35:18 +02:00
Andrey Golovizin
4ab9bd44dd Implement editing in GlyphDBEdit. 2014-09-01 21:27:43 +02:00
Andrey Golovizin
ce3353c831 Rename value to glyph_data in glyphdbedit.Column and its subclasses. 2014-09-01 20:48:07 +02:00
Andrey Golovizin
da67db6dff Update GlyphDBEdit when new glyphs are added. 2014-09-01 18:51:03 +02:00
Andrey Golovizin
2379c1e98c Make GlyphDBEdit columns pluggable. 2014-09-01 18:41:58 +02:00
Andrey Golovizin
bcc0b86001 GlyphDBEdit: show newest glyphs on top. 2014-09-01 18:11:41 +02:00
Andrey Golovizin
892038f65b Make GlyphEditor return proper bold and italic flags (and store them in the DB). 2014-09-01 18:07:29 +02:00
Andrey Golovizin
9c8de1ce0f Make GlyphDB store GlyphData objects instead of just text. 2014-09-01 17:15:21 +02:00
Andrey Golovizin
44c2cce96e Quit gracefully after closing the main window. 2014-08-28 23:38:50 +02:00
Andrey Golovizin
96347646bb Try to preserve leading spaces in OCREngine. 2014-08-30 20:53:46 +02:00
Andrey Golovizin
f3808df0cd Add --skip option. 2014-08-28 13:05:56 +02:00
Andrey Golovizin
95de2d948b Disable GlyphEdit when not waiting for a new glyph. 2014-08-26 23:05:21 +02:00
Andrey Golovizin
7fab8328df Increase minimum line height. 2014-08-26 20:27:50 +02:00
Andrey Golovizin
c50dae03a8 Do not unframe images. 2014-08-26 20:23:33 +02:00
Andrey Golovizin
e3a7d65ef5 Ensure the top-left corner is visible when displaying a new page. 2014-08-26 18:24:07 +02:00
Andrey Golovizin
ead1751ed1 Display glyph elevation in glyph DB editor. 2014-08-25 16:29:31 +02:00
Andrey Golovizin
d2567ea409 Rename glypheditor to glyphdbedit. 2014-08-25 16:25:00 +02:00
Andrey Golovizin
00a6b14e4c Show baselines in GUI. 2014-08-25 16:21:08 +02:00
Andrey Golovizin
fa4e76e256 Show filename in window title. 2014-08-25 13:57:49 +02:00
Andrey Golovizin
4bb1513cd9 Fix a typo. 2014-08-25 13:52:24 +02:00
Andrey Golovizin
9322bc1283 Open image files in alphabetical order. 2014-08-25 13:49:31 +02:00
Andrey Golovizin
34f58f0471 Plug glyph db editor into the main menu. 2014-08-25 13:12:36 +02:00
Andrey Golovizin
95b0c62927 Add main menu. 2014-08-25 12:52:48 +02:00
Andrey Golovizin
603d860a2c Remove debug print. 2014-08-25 12:39:11 +02:00
Andrey Golovizin
e7b9571377 Implement glyph sorting. 2014-08-25 12:38:59 +02:00
Andrey Golovizin
79a1a95a43 Add table header. 2014-08-25 12:31:33 +02:00
Andrey Golovizin
8a875d90bd Implement deleting glyphs. 2014-08-25 12:14:08 +02:00
Andrey Golovizin
cf8575152e Display glyph images in the glyph editor. 2014-08-21 23:24:07 +02:00
Andrey Golovizin
08e4382b66 Add Image.toqimage(). 2014-08-21 23:20:30 +02:00
Andrey Golovizin
c32415d843 Add GLyphDBEditor (actually a viewer for now). 2014-08-21 22:47:57 +02:00
Andrey Golovizin
182a49b359 Move glyph database logic to picelocr.glyphdb. 2014-08-21 21:52:22 +02:00
Andrey Golovizin
5babd24450 Save glyph database on exit, load on startup. 2014-08-21 21:19:57 +02:00