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

#include <TagLineEdit.h>

Detailed Description

The TagLineEdit class.

Public Member Functions

 TagLineEdit (QWidget *parent=nullptr)
 
TextSelection get_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...
 

Protected Attributes

TextSelection _text_selection
 

Member Function Documentation

void TagLineEdit::focusInEvent ( QFocusEvent *  e)
overrideprotected

resets the TextSelection

Parameters
e
void TagLineEdit::focusOutEvent ( QFocusEvent *  e)
overrideprotected

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

Parameters
e
TextSelection TagLineEdit::get_text_selection ( ) const

Retrieve the current TextSelection.

Returns
The current TextSelection object
Inheritance diagram for TagLineEdit: