add stub message
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "nodeparamviewcontext.h"
|
#include "nodeparamviewcontext.h"
|
||||||
|
|
||||||
|
#include <QMessageBox>
|
||||||
|
|
||||||
#include "node/block/clip/clip.h"
|
#include "node/block/clip/clip.h"
|
||||||
|
|
||||||
namespace olive {
|
namespace olive {
|
||||||
@@ -39,6 +41,8 @@ NodeParamViewContext::NodeParamViewContext(QWidget *parent) :
|
|||||||
setBackgroundRole(QPalette::Base);
|
setBackgroundRole(QPalette::Base);
|
||||||
|
|
||||||
Retranslate();
|
Retranslate();
|
||||||
|
|
||||||
|
connect(title_bar(), &NodeParamViewItemTitleBar::AddEffectButtonClicked, this, &NodeParamViewContext::AddEffectButtonClicked);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeParamViewContext::AddNode(NodeParamViewItem *item)
|
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_;
|
QMap<Node*, NodeParamViewItem*> items_;
|
||||||
|
|
||||||
|
private slots:
|
||||||
|
void AddEffectButtonClicked();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user