add stub message

This commit is contained in:
itsmattkc
2022-01-02 11:14:14 -08:00
parent a7be16fec9
commit 3d0964fb49
2 changed files with 12 additions and 0 deletions
@@ -20,6 +20,8 @@
#include "nodeparamviewcontext.h"
#include <QMessageBox>
#include "node/block/clip/clip.h"
namespace olive {
@@ -39,6 +41,8 @@ NodeParamViewContext::NodeParamViewContext(QWidget *parent) :
setBackgroundRole(QPalette::Base);
Retranslate();
connect(title_bar(), &NodeParamViewItemTitleBar::AddEffectButtonClicked, this, &NodeParamViewContext::AddEffectButtonClicked);
}
void NodeParamViewContext::AddNode(NodeParamViewItem *item)
@@ -89,4 +93,9 @@ void NodeParamViewContext::Retranslate()
{
}
void NodeParamViewContext::AddEffectButtonClicked()
{
QMessageBox::information(this, tr("STUB"), tr("This feature is coming soon. Thanks for testing development builds of Olive :)"));
}
}
@@ -83,6 +83,9 @@ private:
QMap<Node*, NodeParamViewItem*> items_;
private slots:
void AddEffectButtonClicked();
};
}