Sayonara Player
Public Member Functions | Protected Member Functions | List of all members
TagLineEdit Class Reference

The TagLineEdit class. More...

#include <TagLineEdit.h>

Inheritance diagram for TagLineEdit:

Public Member Functions

 TagLineEdit (QWidget *parent=nullptr)
 
TextSelection text_selection () const
 Retrieve the current TextSelection. More...
 

Protected Member Functions

void focusInEvent (QFocusEvent *e) override
 resets the TextSelection More...
 
void focusOutEvent (QFocusEvent *e) override
 if selectected_text is empty, TextSelection is resetted. Else the new TextSelection is set. More...
 

Detailed Description

The TagLineEdit class.

Member Function Documentation

◆ focusInEvent()

void TagLineEdit::focusInEvent ( QFocusEvent *  e)
overrideprotected

resets the TextSelection

Parameters
e

◆ focusOutEvent()

void TagLineEdit::focusOutEvent ( QFocusEvent *  e)
overrideprotected

if selectected_text is empty, TextSelection is resetted. Else the new TextSelection is set.

Parameters
e

◆ text_selection()

TextSelection TagLineEdit::text_selection ( ) const

Retrieve the current TextSelection.

Returns
The current TextSelection object