PosturePerfection
Namespaces | Macros | Functions
custom_widgets.cpp File Reference
#include "mainwindow.h"
Include dependency graph for custom_widgets.cpp:

Namespaces

 GUI
 All code related to the graphical user interface for PosturePerfection.
 

Macros

#define POINT_SIZE   20
 
#define POINT_SIZE_SUB   ((4 * POINT_SIZE) / 5)
 

Functions

void GUI::setPointSizeAndResize (QFont *font, QString *text, float pointSize, QRectF rect)
 Calls setPointSize() for the given font. More...
 
QRectF GUI::fullRect (int width, int height, size_t padding)
 
QRectF GUI::halfRectTop (int width, int height, size_t padding)
 
QRectF GUI::halfRectBot (int width, int height, size_t padding)
 

Macro Definition Documentation

◆ POINT_SIZE

#define POINT_SIZE   20

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

◆ POINT_SIZE_SUB

#define POINT_SIZE_SUB   ((4 * POINT_SIZE) / 5)