-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Imeguras
committed
Jul 18, 2024
1 parent
3a7e61e
commit 1d8c282
Showing
9 changed files
with
143 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* @file fvlabel.h | ||
* @brief This file contains the declaration of the FVLabel class | ||
* @see fvlabel.cpp | ||
* @author João Vieira | ||
* This piece of software was developed for the T24e project belonging to the LART Team | ||
*/ | ||
#ifndef FVLABEL_H | ||
#define FVLABEL_H | ||
#include <QLabel> | ||
#include "flabel.h" | ||
#include <QObject> | ||
#include <QString> | ||
#include <QDebug> | ||
#include "store.h" | ||
/** | ||
* @brief The FVLabel class is meant to derive from FLabel it will append text to denote the SI variable type such as m for meters for example | ||
**/ | ||
class FVLabel : public FLabel{ | ||
Q_OBJECT; | ||
public: | ||
explicit FVLabel(QWidget *parent = nullptr); | ||
|
||
public slots: | ||
protected: | ||
QString va; | ||
private: | ||
//used for rolling averages | ||
int _counts = 0; | ||
float _alpha = 0; | ||
|
||
|
||
}; | ||
#endif // FVLABEL_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.