From 7fb7dcb3818553257177863c558c3cd7f908521e Mon Sep 17 00:00:00 2001 From: Herwig Birke Date: Wed, 25 Apr 2018 16:26:20 +0200 Subject: [PATCH] . --- ccharacterwindow.cpp | 14 ++ ccharacterwindow.h | 22 +++ ccharacterwindow.ui | 347 +++++++++++++++++++++++++++++++++++++++++++ qtStoryWriter.pro | 9 +- 4 files changed, 389 insertions(+), 3 deletions(-) create mode 100644 ccharacterwindow.cpp create mode 100644 ccharacterwindow.h create mode 100644 ccharacterwindow.ui diff --git a/ccharacterwindow.cpp b/ccharacterwindow.cpp new file mode 100644 index 0000000..fa47382 --- /dev/null +++ b/ccharacterwindow.cpp @@ -0,0 +1,14 @@ +#include "ccharacterwindow.h" +#include "ui_ccharacterwindow.h" + +cCharacterWindow::cCharacterWindow(QWidget *parent) : + QWidget(parent), + ui(new Ui::cCharacterWindow) +{ + ui->setupUi(this); +} + +cCharacterWindow::~cCharacterWindow() +{ + delete ui; +} diff --git a/ccharacterwindow.h b/ccharacterwindow.h new file mode 100644 index 0000000..b70e86e --- /dev/null +++ b/ccharacterwindow.h @@ -0,0 +1,22 @@ +#ifndef CCHARACTERWINDOW_H +#define CCHARACTERWINDOW_H + +#include + +namespace Ui { +class cCharacterWindow; +} + +class cCharacterWindow : public QWidget +{ + Q_OBJECT + +public: + explicit cCharacterWindow(QWidget *parent = 0); + ~cCharacterWindow(); + +private: + Ui::cCharacterWindow *ui; +}; + +#endif // CCHARACTERWINDOW_H diff --git a/ccharacterwindow.ui b/ccharacterwindow.ui new file mode 100644 index 0000000..6499de9 --- /dev/null +++ b/ccharacterwindow.ui @@ -0,0 +1,347 @@ + + + cCharacterWindow + + + + 0 + 0 + 725 + 528 + + + + Form + + + + + + + + + + + Date of Death: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + 999999.000000000000000 + + + + + + + + + + + + + Place of Death: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Height: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Creature: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Place of Birth: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + + + Date of Birth: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + Main Character + + + + + + + Weight: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + 999999.000000000000000 + + + + + + + Middle Name: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Title: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + First Name: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + Description: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + Last Name: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + + + Hair Color: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Hair Cut: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Hair Length: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + + + + + + Figure: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + Job: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Skin: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + School: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Spoken Languages: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Nature: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + + + + + + + + + Gender + + + + + + Male + + + + + + + Female + + + + + + + Other + + + + + + + + + + + + m_lpFirstName + m_lpDescription + + + + diff --git a/qtStoryWriter.pro b/qtStoryWriter.pro index bfdf47e..1739401 100644 --- a/qtStoryWriter.pro +++ b/qtStoryWriter.pro @@ -59,7 +59,8 @@ SOURCES += \ crecherche.cpp \ cimage.cpp \ cchapterwindow.cpp \ - cscenewindow.cpp + cscenewindow.cpp \ + ccharacterwindow.cpp HEADERS += \ cmainwindow.h \ @@ -80,13 +81,15 @@ HEADERS += \ crecherche.h \ cimage.h \ cchapterwindow.h \ - cscenewindow.h + cscenewindow.h \ + ccharacterwindow.h FORMS += \ cmainwindow.ui \ cpartwindow.ui \ cchapterwindow.ui \ - cscenewindow.ui + cscenewindow.ui \ + ccharacterwindow.ui DISTFILES += \ storyBook.project