09-04-2004
I hate to "rain on your parade", but....
There are 1000's of text editors already available. (Just ask
Google), so why reinvent the wheel and create yet another? What will make yours so special that it will differentiate it from the rest? There are some damn fine GUI-based editors out there (Kate, NEdit, gvim) already.
And no-matter what new-fangled ideas come along, you'll still find me in
vi anyways!
And another thing - I'd drop the "kewl" from the name.... That word always reminds me of script kiddies.
Sorry to be a git.
ZB
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have written a very simple program in the vi editor, how do i now make it an executable file? (3 Replies)
Discussion started by: carlvernon
3 Replies
2. Shell Programming and Scripting
Hey guys..
I'm trying to learn how to script in bash...
THIS IS NOT AN ASSIGNMENT but my instructor says to learn you must practice
I'm trying to add to a program I'm writing that will print and save raw data...
What syntax commands would I use to write them?
And Thank you... (2 Replies)
Discussion started by: dmosheye
2 Replies
3. Shell Programming and Scripting
Hello. I'm trying to write a shell script that will take files that have .tar, .tar.gz, .tar.Z, .gz, .Z and .zip file extensions and uncompress and unarchive them. The script should be able to take multiple arguments. So far I can write a script using the case command that will do this but it will... (3 Replies)
Discussion started by: SeanWuzHere
3 Replies
4. Shell Programming and Scripting
Can anyone create a program that
would test the math skills of the user. Assume that it would test integer addition, The program should ask the question,collect the integer response, evaluate and notify the user if their answer was correct or incorrect. I would assume integers in the range... (5 Replies)
Discussion started by: ccp
5 Replies
5. UNIX for Dummies Questions & Answers
Hi guys
I'm having trouble with trying to create a script which calculates the grade of a student and the marks out of 300.
The grades are:
0-49% fail
50-59% pass
60-69% credit pass
70-79% distinction
80-100% high distinction
less than 0 or greater than 100 displays error message.
My... (1 Reply)
Discussion started by: CompNoob
1 Replies
6. UNIX Desktop Questions & Answers
to determine if two two doubles are equal, we check to see if
their absolute difference is very close to zero. . .if two numbers
are less than .00001 apart, theyre equal.
keep a count field in each record (as you did in p5).
once the list is complete, ask the user to see if an element
is on... (2 Replies)
Discussion started by: rickym2626
2 Replies
7. Programming
Hi all,
I have an assignment from school to write a shell program in linux. the idea is to exercise fork() and execv() functions.. the shell program is supposed to be the master and every command that the user prints will run in a new process. we also need to try running the command in every... (1 Reply)
Discussion started by: r3vive
1 Replies
8. Programming
I want to write a C++ program that uses a class to do some calculations.
I pass arguments to the program, some of which are used to set up class members. A class function will then perform the necessary calculations.
I am wondering how I should pass the arguments from the program to set the... (2 Replies)
Discussion started by: kristinu
2 Replies
9. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Basic Assignment
Write a program similar to the Unix "tee" command.
Program
The Unix "tee" command is used to pull out copies of a data stream. It is typically used in conjunction with pipes (analogous to a T-joint in plumbing, hence... (1 Reply)
Discussion started by: izzy077
1 Replies
10. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write the a shell script program to remove all space characters stored in the shell variable TEXT.... (7 Replies)
Discussion started by: kofine05
7 Replies
LEARN ABOUT REDHAT
qsqleditorfactory
QSqlEditorFactory(3qt) QSqlEditorFactory(3qt)
NAME
QSqlEditorFactory - Used to create the editors used by QDataTable and QSqlForm
SYNOPSIS
#include <qsqleditorfactory.h>
Inherits QEditorFactory.
Public Members
QSqlEditorFactory ( QObject * parent = 0, const char * name = 0 )
~QSqlEditorFactory ()
virtual QWidget * createEditor ( QWidget * parent, const QVariant & variant )
virtual QWidget * createEditor ( QWidget * parent, const QSqlField * field )
Static Public Members
QSqlEditorFactory * defaultFactory ()
void installDefaultFactory ( QSqlEditorFactory * factory )
DESCRIPTION
The QSqlEditorFactory class is used to create the editors used by QDataTable and QSqlForm.
QSqlEditorFactory is used by QDataTable and QSqlForm to automatically create appropriate editors for a given QSqlField. For example if the
field is a QVariant::String a QLineEdit would be the default editor, whereas a QVariant::Int's default editor would be a QSpinBox.
If you want to create different editors for fields with the same data type, subclass QSqlEditorFactory and reimplement the createEditor()
function.
See also QDataTable, QSqlForm, and Database Classes.
MEMBER FUNCTION DOCUMENTATION
QSqlEditorFactory::QSqlEditorFactory ( QObject * parent = 0, const char * name = 0 )
Constructs a SQL editor factory with parent parent, called name.
QSqlEditorFactory::~QSqlEditorFactory ()
Destroys the object and frees any allocated resources.
QWidget * QSqlEditorFactory::createEditor ( QWidget * parent, const QVariant & variant ) [virtual]
Creates and returns the appropriate editor widget for the QVariant variant.
The widget that is returned has the parent parent (which may be zero). If variant is invalid, 0 is returned.
Reimplemented from QEditorFactory.
QWidget * QSqlEditorFactory::createEditor ( QWidget * parent, const QSqlField * field ) [virtual]
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Creates and returns the appropriate editor for the QSqlField field.
QSqlEditorFactory * QSqlEditorFactory::defaultFactory () [static]
Returns an instance of a default editor factory.
void QSqlEditorFactory::installDefaultFactory ( QSqlEditorFactory * factory ) [static]
Replaces the default editor factory with factory. All QDataTable and QSqlForm instantiations will use this new factory for creating field
editors. QSqlEditorFactory takes ownership of \a factory, and destroys it when it is no longer needed.
SEE ALSO
http://doc.trolltech.com/qsqleditorfactory.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qsqleditorfactory.3qt) and the Qt version (3.1.1).
Trolltech AS 9 December 2002 QSqlEditorFactory(3qt)