API Documentation
Loading...
Searching...
No Matches
FontEditor.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/String.h>
4#include <QWidget>
5namespace Ui
6{
7 class FontEditorUI;
8}
9namespace NDEVR
10{
11 struct Font;
12 /**--------------------------------------------------------------------------------------------------
13 \brief A series of widgets that allow the user to adjust a font. Supports choosing a font, setting
14 a size, bolding, underlining, etc.
15 **/
16 class NDEVR_WIDGETS_API FontEditor : public QWidget
17 {
18 Q_OBJECT
19 public:
20 FontEditor(QWidget* parent);
21 void setFont(const Font& font);
22 void setFontID(const String& app_font);
23 Font getFont() const;
24 protected slots:
26 signals:
27 void fontEdited();
28 protected:
29 Ui::FontEditorUI* ui;
31 };
32}
#define NDEVR_WIDGETS_API
Definition DLLInfo.h:59
A series of widgets that allow the user to adjust a font. Supports choosing a font,...
Definition FontEditor.h:17
Ui::FontEditorUI * ui
Definition FontEditor.h:29
Font getFont() const
String m_app_font
Definition FontEditor.h:30
void setFontID(const String &app_font)
void setFont(const Font &font)
FontEditor(QWidget *parent)
The core String class for the NDEVR API.
Definition String.h:69
Definition ACIColor.h:37
Definition FontEditor.h:6
Information for how to display text data.
Definition Font.h:46