QT-Edit readme
--------------

This is a small editor I made in QT3, which is good. I started 
coding it, since KDE's editor (KATE) has problems in the bidi
subject, and I tend to write in hebrew a little bit...

This could be a samll demo of what QT3 can do: the whole program
was coded inside designer, I just opened a terminal for typing "make". 
I was surprised how much the coding is actually, just like Visual 
Basic, but using C++ syntax. I did not use KDE, because KDE has working
editor (kedit), and I wanted to learn QT first.

As I wrote this program for myself, I took the liverty to do some wierd 
things. For example the default font for the editor is "console", which is 
distributed with KDEBASE (it is the font that konsole uses, it looks like
a normal VGA font). If you dont like it, just change in 
Settings/Configuration the default font. The next time you will open 
the editor it should use your new font.

The icons were taken from gnome2 project, with permission of the author.


Compiling
---------
You will need QT3 includes/devel packages somewhere. At some shell type:
"qmake".
This will use QT qmake utility to make a makefile, and now 
you can type "make" and a minute or so after you will have an 
executable called qtedit. That's all.

I also distribute a binary version of this program. It seams that QT
links by default against libqt3.so, so you may be able to use this 
programs even if you have other versions as well. (minor versions should
not work, but I hope so, higher should work acording to TrollTech).

I noticed that when I link aginst libqt-mt, I can use inside QT programs,
KDE gui styles. If you want to do this, add THREAD to the options of the 
qt-edit.pro (by default is on, to disable delete the THEAD from the options
line).

Locales
-------
You have two options of locales:
 1) the easy way: 
    You choose the code by language name. This is the default.
    The first avaiable is the one found on your system when
    you run the program. The choosed codecs and order were taken 
    from the Opera browser. I thought that is the best way to 
    decide which codes and in which order to make them.
    If you enter in the configuration file (normally 
    ~/.qt/qteditrc) a non recognized codec, it will default to the
    default codec of your system.

 2) the advanced way:
    You choose the codec by name. If you know which name represents
    the laguage you want, be my guest. You could use this option if
    the codec I choose for your language, is not correct. In this case,
    please inform me I will corrent this. If you enter a non recognized 
    codec in the configuration file (normally (normally ~/.qt/qteditrc),
    the program will switch to easy cnfiguration and choose default locale.

    
Editor options
--------------
* Make backups is not yet made. since I am a very bad programmer.
  When you mark it, you can choose between two tipes of backups:
       1) windows, which will rename the file to *.bak
       2) unix, which will put a ~ in front of the file name. This 
          is the default.
* Word wrap, is not enabled by deafutlt. If you set it on, it will
  wrap words at the size of the window, just like html does.I can do
  it on a specific collum if someone will ask, I just liked how it looks
  so I kept it like this.
* Autosave on exit, means that if you are editing a file (not a new document),
  it will be saved automagicly when you exit. If the document has no name 
  (you are editing a new file), and you changed something you will be asked 
  to save. If this option is not set, and you modify a document, when you 
  open a new document or exit you will be asked to save.

License
-------
This public domain, but if you do like my program, please mail me 
and tell me. I would like to know. The same applies if you want to use
part(s) of this program, just to be nice.

ToDo 
----
 * syntax highlighting. Look at the editor of QT designer.
 * auto indent, parenthesis and stuff like QT designer.
 * spell check
 * save all the dialogs like *.UI, and load them on runtime.
   (gtk programs can and I can too)
 * remove all the graphics out of the binary
 * multiple document interface, using tabs. I like it
   this way and I am programming so...

 diego, 
   iastrubn@actcom.co.il, dgi_il@hotmail.com 
   http://dgi_il.tripod.com
   icq #28481600

        