Learn Environment
Public Member Functions | List of all members
ExecuteFrame Class Reference

A custom QFrame that displays an image and text. For logging and task execution. More...

#include <execute_frame.hpp>

Inheritance diagram for ExecuteFrame:
Inheritance graph
Collaboration diagram for ExecuteFrame:
Collaboration graph

Public Member Functions

 ExecuteFrame (QWidget *parent=nullptr)
 Constructor for ExecuteFrame. More...
 
 ~ExecuteFrame ()
 Destructor for ExecuteFrame. More...
 
void setImage (const QString &path)
 Sets the image to be displayed. More...
 
void setText (const QString &text)
 Sets the text to be displayed. More...
 
QString getText ()
 Gets the current text being displayed. More...
 

Detailed Description

A custom QFrame that displays an image and text. For logging and task execution.

Constructor & Destructor Documentation

◆ ExecuteFrame()

ExecuteFrame::ExecuteFrame ( QWidget parent = nullptr)
explicit

Constructor for ExecuteFrame.

Parameters
parentThe parent widget.

◆ ~ExecuteFrame()

ExecuteFrame::~ExecuteFrame ( )

Destructor for ExecuteFrame.

Member Function Documentation

◆ getText()

QString ExecuteFrame::getText ( )

Gets the current text being displayed.

Returns
The current text.

◆ setImage()

void ExecuteFrame::setImage ( const QString &  path)

Sets the image to be displayed.

Parameters
pathThe path to the image file.

◆ setText()

void ExecuteFrame::setText ( const QString &  text)

Sets the text to be displayed.

Parameters
textThe text to display.

The documentation for this class was generated from the following files: