/*  Copyright (c) MediaArea.net SARL. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license that can
 *  be found in the License.html file in the root of the source tree.
 */

#ifndef EDITCONFIGTREETEXT_H
#define EDITCONFIGTREETEXT_H

#include <QDialog>
#include "Common/Core.h"
#include "configtreetext.h"
#include <QDebug>

namespace Ui {
    class editConfigTreeText;
}

class EditConfigTreeText : public QDialog {
    Q_OBJECT
public:
    EditConfigTreeText(ConfigTreeText* ctt, Core* C, QWidget *parent = 0);
    ~EditConfigTreeText();
    void apply();

protected:
    void changeEvent(QEvent *e);
    void fillToolBox();

private:
    Ui::editConfigTreeText *ui;
    Core* C;
    ConfigTreeText* ctt;
};

#endif // EDITCONFIGTREETEXT_H
