annotate src/include/ui_utils.h @ 2:23d0d9319a00

Update Also converted everything to LF from CRLF
author Paper <mrpapersonic@gmail.com>
date Sat, 12 Aug 2023 03:16:26 -0400
parents 1ae666fdf9e2
children 1d82f6e04d7d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
1 #ifndef __ui_utils_h
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
2 #define __ui_utils_h
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
3 #include <QWidget>
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
4 #include <QString>
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
5 #include <QPoint>
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
6 #include <QSize>
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
7 #include <QDateTime>
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
8 namespace UiUtils {
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
9 bool IsInDarkMode();
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
10 std::string GetLengthFromQDateTime(QDateTime stamp);
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
11 QPlainTextEdit* CreateTextParagraph(QWidget* parent, QString title, QString data, QPoint point, QSize size);
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
12 QPlainTextEdit* CreateTextParagraphWithLabels(QWidget* parent, QString title, QString label, QString data, QPoint point, QSize size);
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
13 QPlainTextEdit* CreateSelectableTextParagraph(QWidget* parent, QString title, QString data, QPoint point, QSize size);
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
14 void CreateTextHeader(QWidget* parent, QString title, QPoint point, QSize size);
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
15 };
1
1ae666fdf9e2 *: initial commit
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
16 #endif // __ui_utils_h