Skip to content

Commit

Permalink
Update Point Value Dialog #325
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Nov 25, 2024
1 parent 3928e6f commit 2d18831
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/ui/dialogs/qrealpointvaluedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
#include "Animators/qrealpoint.h"

QrealPointValueDialog::QrealPointValueDialog(QrealPoint *point,
QWidget *parent) :
QDialog(parent) {
setWindowTitle("Edit key");
QWidget *parent)
: Friction::Ui::Dialog(parent)
{
setWindowTitle(tr("Edit key"));
mMainLayout = new QVBoxLayout(this);
setLayout(mMainLayout);

Expand Down
6 changes: 4 additions & 2 deletions src/ui/dialogs/qrealpointvaluedialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@
#include "ui_global.h"

#include "Animators/qrealanimator.h"
#include <QDialog>
#include "dialog.h"

#include <QDoubleSpinBox>
#include <QHBoxLayout>
#include <QPushButton>

class UI_EXPORT QrealPointValueDialog : public QDialog {
class UI_EXPORT QrealPointValueDialog : public Friction::Ui::Dialog
{
Q_OBJECT
public:
QrealPointValueDialog(QrealPoint *point, QWidget *parent);
Expand Down

0 comments on commit 2d18831

Please sign in to comment.