Workspace 6.21.5
Public Slots | Public Member Functions | List of all members
LineEdit Class Reference

#include <Workspace/Widgets/lineedit.h>

Inherits QLineEdit.

Public Slots

void emitEditingFinished ()
 
void setText (const QString &text)
 
void setText (qreal value)
 

Public Member Functions

 LineEdit (QWidget *parent=nullptr)
 
 ~LineEdit () override
 

Detailed Description

A QLineEdit that can be forced to emit it's editingFinished() signal

Constructor & Destructor Documentation

◆ LineEdit()

LineEdit ( QWidget *  parent = nullptr)

◆ ~LineEdit()

~LineEdit ( )
overridedefault

Member Function Documentation

◆ emitEditingFinished

void emitEditingFinished ( )
slot

The Workspace widget connectors for line edits only write the changes to the underlying Workspace when editingFinished() is emitted. 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.

◆ setText [1/2]

void setText ( const QString &  text)
slot

◆ setText [2/2]

void setText ( qreal  value)
slot