Tag: GUI

Extending an Application with Lua Plugins



Introduction A very common use of the Lua language (which is a very versatile) is using Lua to extend an application via plugins. Many popular games use Lua for this very purpose. Adding a plugin framework to an existing application is trivial with Lua. Also, Lua provides a very... Continue reading

Sigil BookView Changes Preview



The next release of Sigil is shaping up nicely. There is so much going into it that the next release will be 0.6.0. Unfortunately, EPUB 3 will not be one of the features making it into 0.6.0. One major change coming will be a new BookView (BV) editor. Here is... Continue reading

Sigil Keyboard Shotcuts



Thanks to Grzegorz Wolszczak Sigil now (will be part of the 0.5 release) allows users to change keyboard shortcuts for many actions. Grzegorz has been helping out a lot and helped to introduce a preferences dialog and provided user configurable keyboard shortcuts. <source data-srcset="/files/generated/missing_image-400by400-a63a00.webp 400w, /files/generated/missing_image-512by512-a63a00.webp 512w"... Continue reading

Calibre Weeks in Review



It has been a few weeks since I’ve done a calibre week in review. This is partly because I had been working on some new features for the upcoming 0.8 release. I haven’t wanted to talk about it very much until the release gets closer. Kovid said yesterday that he... Continue reading

Calibre Week in Review



Once again this is a big week with a lot of little changes. The majority of which were related to TXT input. Format Specifications I was thinking about the fact that for all of the formats I support I use the format specification to know how the reading and writing... Continue reading

Calibre Week in Review



This is really a two week in review because I didn’t do one last week. The past two weeks I didn’t focus on major changes. I mainly spent my time with little tweaks and closing out bugs. All of these little changes didn’t feel like I accomplished very much but... Continue reading

Calibre Week in Review



TXT input got some more work. It now supports the Textile markup language. This can be used in place of Markdown. Textile is also supported by the new auto-detection in TXT input. FB2 output had some more bug fixes. The cover image is now put inside of the... Continue reading

Calibre Week in Review



This week saw some more work on FB2 output. I’ve added support for a few formatting types from the 2.1 spec. Also, a very helpful user submitted a patch for sectionizing. It allows for sectonizing based on the file structure (based on EPUB splitting), no sectonizing and based on TOC.... Continue reading

Calibre Week In Reveiw



Most this week was spent turning PML input and output. I spent a bit of work bug tracking and enhancing FB2 output as well. The changes for PML input are as follows. Pass along the included cover as the cover when converting (also applies to eReader PDB). Allow for images... Continue reading

Niw Markdown Editor



For the past three weeks I’ve been working on an editor for working with plain text files and making it easy to add markdown syntax to them. My main goal is to make it easier to format the large number of ebooks I have. Almost all of them are plain... Continue reading

QPlainTextEdit With In Line Spell Check



Update: Simplified Highlighter.highlightBlock function One thing Qt lacks is an integrated spell check in the text entry components. For a project I’m working on this is necessary. Using python-enchant and the QSyntaxHighlighter I was able to implement this functionality. Here is how to add an in line spell check support... Continue reading

Better QPlainTextEdit With Line Numbers



My last post was an implementation of a Qt widget which displays text with line numbers. I found that it has a few limitations. The biggest was a performance penalty when dealing with large documents. I’ve since re-factored and rewritten the class to make the performance acceptable. I’ve also cleaned... Continue reading

QTextEdit With Line Numbers



Here is a Qt4 widget written in Python that allows for line numbers next to a QTextEdit. Similar to what is seen in a number of text editors such as gedit and kate. from PyQt4.Qt import QFrame, QWidget, <span... Continue reading

Calibre Two Weeks in Review



This time I missed last weeks week in review because I simply forgot. I’m hoping to keep this to a minimum in the future. The big news is calibre 0.6 has been released. Kovid is now back to his regular (weekly at the least) bug fix releases too. As of... Continue reading

Calibre Week in Review



There was no week in review last week because I went on vacation this past week. So this week in review combines everything since the last week in review. I’ve made a few bug fixes to some output formats, PDB metadata and FB2 output mainly. The major things I’ve been... Continue reading

Calibre Week in Review



This week has been a productive one. I’ve made a lot of small GUI enhancements and did some work on PDF input as well. All of these changes have not made it into trunk yet. This is mainly because Kovid has been away this week. I’ve added auto complete to... Continue reading

Calibre Week in Review



This week hasn’t seen very much in the way of new features from me. I’ve only added one. This is mainly because I’ve been doing small bug fixes leading up to the beta for 0.6. The new feature, which Kovid helped me to implement, is ejecting the reader from within... Continue reading

Calibre Week in Review



A lot of work went into eReader and PML to have it supported better. Also, a new format has been added. The XHTML to PML parser has been completely rewritten. It is based on the XHTML to FB2 parser I wrote for FB2 output. It produces much better looking PML... Continue reading

Calibre Week in Review



This week comes with some great new additions. It also comes with some great new challenges. Not to mention more work for next week. eReader output is complete and working. The files produced are the same format as those produced by Dropbook (more on this in a bit). In addition... Continue reading

Calibre Week in Review



Device interfaces can now be configured in the GUI. Also, there is a simple framework for creating plugin configuration widgets. I’ve added a metadata reader for the eReader format. However, eReader supports 3 ways to set the metadata in the file. 1) In the pdb header (only supports setting a... Continue reading

Calibre Week in Review



This weeks review of what I’ve been working on is a little late. Overall it wasn’t as productive as last week looking at what was accomplished but I spent just as much time coding as last. With projects like this you can’t judge output by the number of features add... Continue reading