CSol
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
CSol_LineEdit Class Reference

A line edit that registers keywords with the CSolKeywords class for syntax highlighting.

#include <widgets/csol_line_edit.h>

Inherits QLineEdit.

Public Slots

void setText (const QString &text)
 The Workspace widget connectors for line edits only write the changes to the underlying Workspace when editingFinished() is emitted. More...
 

Signals

void widgetUpdated ()
 

Public Member Functions

 CSol_LineEdit (QWidget *parent=0)
 
virtual ~CSol_LineEdit ()
 
bool updateData (QString &data)
 
bool updateWidget (const QString &data)
 

Protected Member Functions

virtual void focusInEvent (QFocusEvent *e)
 De-registers the keyword (the text it displays) More...
 
virtual void focusOutEvent (QFocusEvent *e)
 Registers the keyword (the text it displays) More...
 

Constructor & Destructor Documentation

CSol_LineEdit ( QWidget *  parent = 0)
~CSol_LineEdit ( )
virtual

Member Function Documentation

void focusInEvent ( QFocusEvent *  e)
protectedvirtual
void focusOutEvent ( QFocusEvent *  e)
protectedvirtual
void setText ( const QString &  text)
slot

This signal doesn't get emitted when calling setText() or setProperty() in code so we need a way to flush the changes through in cases where we're using these methods in code.

bool updateData ( QString &  data)
bool updateWidget ( const QString &  data)
void widgetUpdated ( )
signal