arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

ErrTxtWin Class Reference

#include <ErrTxtWin.h>

List of all members.


Detailed Description

a window for showing text errors

Definition at line 29 of file ErrTxtWin.h.

Public Slots

void changeText (const char *txt)
void changeText (const QString &s)
void launchError (const QString &s)
void maybeError (const QString &s)
void setSelection (int start, int length)
 set selection, sigh should have just been a multiline!

void markSelection (int pos)

Signals

void textChanged (const QString &s)

Public Member Functions

 ErrTxtWin (const char *txt, QWidget *parent, const char *name=0, WFlags wf=0)
virtual ~ErrTxtWin ()

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *key)
 keys


Protected Attributes

QMultiLineEdit * _mle


Constructor & Destructor Documentation

ErrTxtWin::ErrTxtWin const char *  txt,
QWidget *  parent,
const char *  name = 0,
WFlags  wf = 0
 

Definition at line 26 of file ErrTxtWin.cpp.

References _mle, name, and textChanged().

ErrTxtWin::~ErrTxtWin  )  [virtual]
 

Definition at line 37 of file ErrTxtWin.cpp.


Member Function Documentation

void ErrTxtWin::changeText const QString &  s  )  [slot]
 

Definition at line 47 of file ErrTxtWin.cpp.

References s, and textChanged().

void ErrTxtWin::changeText const char *  txt  )  [slot]
 

Definition at line 42 of file ErrTxtWin.cpp.

References textChanged().

Referenced by launchError(), markSelection(), and maybeError().

void ErrTxtWin::keyPressEvent QKeyEvent *  key  )  [protected, virtual]
 

keys

Definition at line 98 of file ErrTxtWin.cpp.

void ErrTxtWin::launchError const QString &  s  )  [slot]
 

Definition at line 53 of file ErrTxtWin.cpp.

References changeText(), and s.

Referenced by PShaderTxt::loadShaderFromFile(), PShaderTxt::loadShaderFromText(), PShaderTxt::saveShader(), and PShaderTxt::saveShaderAs().

void ErrTxtWin::markSelection int  pos  )  [slot]
 

Definition at line 85 of file ErrTxtWin.cpp.

References _mle, and changeText().

Referenced by PShaderTxt::loadShader(), PShaderTxt::loadShaderFromFile(), and PShaderTxt::loadShaderFromText().

void ErrTxtWin::maybeError const QString &  s  )  [slot]
 

Definition at line 63 of file ErrTxtWin.cpp.

References changeText(), and s.

Referenced by PShaderTxt::loadShader().

void ErrTxtWin::setSelection int  start,
int  length
[slot]
 

set selection, sigh should have just been a multiline!

Definition at line 80 of file ErrTxtWin.cpp.

References _mle, length, and start.

void ErrTxtWin::textChanged const QString &  s  )  [signal]
 

Referenced by changeText(), and ErrTxtWin().


Member Data Documentation

QMultiLineEdit* ErrTxtWin::_mle [protected]
 

Definition at line 49 of file ErrTxtWin.h.

Referenced by ErrTxtWin(), markSelection(), and setSelection().


The documentation for this class was generated from the following files:
Send questions, comments, and bug reports to:
jmk