
KFastText - Smallest Text Viewer
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
KFastText is a small and some may say useless app for text browsing. It is useful to read such files as README, TODO and INSTALL from source packages. Simply create new mimetype and add README, INSTALL and TODO.
KFastText run ONLY with argument. To start it simply type:
kfasttext [filename]
KFastText has been designed to be SMALL - it has no error handling, if you run without argument it will simply exit. The only text visible on screen is "File not found." and "Close" button.
14 years ago
0.1.1
-----
- Added polish translation
- Now it shows text only in plain mode.
14 years ago
0.1.1
-----
- Added polish translation
- Now it shows text only in plain mode.
Aleksandersen
13 years ago
* Do not have a close button or ‘status bar’. Just let the user figure out what the top right X is for.
* Automatic line breaking at 72 characters for all plain text (.txt) documents. (That is generally considered good readability for western languages.) Try scaling the window to this size + scrollbars as well.)
* Rename the app. KuickView.
* Add image support. Display one image centralised on the screen. Scaled at about max 80% of width/height.
* As above and add video support. No player controls or anything. Same max scaling and positioning schema as above.
* Add PDF, OpenDocument Format, and KOffice-format support. Presentations/slides can be played as images at a fixed interval. Spreadsheets with and text documents with very basic formatting. (Support headline, block text, bold, italic, and list with fixed formatting. No need to support fonts and more.)
* Left clicking closes the app. Right clicking brings up a menu: Play/Pause and Play from start (for video), Print (for text/images), Open in [Default app. or secondary app. if KvickView is default] Open with > [Extend menu arm based on KDE app. handling], and Quit.
Hope this helps.
Report
bobuse
14 years ago
kdialog --textbox your-file 600 600
:-)
Report
zvonSully
14 years ago
Report
jazztyle
14 years ago
cd . && make -f admin/Makefile.common configure.in ;
make[1]: Entering directory `/var/abs/local/kfasttext/src/kfasttext-0.1.1'
make[1]: Leaving directory `/var/abs/local/kfasttext/src/kfasttext-0.1.1'
cd . && /bin/sh /var/abs/local/kfasttext/src/kfasttext-0.1.1/admin/missing --run aclocal-1.6
/var/abs/local/kfasttext/src/kfasttext-0.1.1/admin/missing: line 46: aclocal-1.6: command not found
WARNING: `aclocal-1.6' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && \
/bin/sh /var/abs/local/kfasttext/src/kfasttext-0.1.1/admin/missing --run automake-1.6 --gnu Makefile
/var/abs/local/kfasttext/src/kfasttext-0.1.1/admin/missing: line 46: automake-1.6: command not found
WARNING: `automake-1.6' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && perl admin/am_edit Makefile.in
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[1]: Entering directory `/var/abs/local/kfasttext/src/kfasttext-0.1.1'
configure.in:39: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:44: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:47: error: possibly undefined macro: AC_CHECK_COMPILERS
configure.in:48: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:49: error: possibly undefined macro: AC_ENABLE_STATIC
configure.in:54: error: possibly undefined macro: AM_KDE_WITH_NLS
configure.in:57: error: possibly undefined macro: AC_PATH_KDE
configure.in:62: error: possibly undefined macro: AC_CHECK_KDEMAXPATHLEN
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/var/abs/local/kfasttext/src/kfasttext-0.1.1'
make: *** [configure] Error 2
Report
sabby7890
14 years ago
Report
jel
14 years ago
I have a question before I install this though. Does it handle the different text issues, like wrapping, DOS/Unix/Mac line endings, etc.?
Report
sabby7890
14 years ago
Report
Tomasu82
14 years ago
Viewport->setTextFormat( Qt::PlainText );
:) otherwise it'll render html.
Report
sabby7890
14 years ago
Report
sabby7890
14 years ago
Report