<commit_before>#ifndef PETRIPROPERTIES_H
#define PETRIPROPERTIES_H

#include <QWidget>
#include <QGraphicsItem>
#include "idata.h"
#include "objs/net.h"
#include "diagram/items/ipetriitem.h"

namespace Ui {
class PetriProperties;
}

class PetriProperties : public QWidget
{
    Q_OBJECT

public:
    explicit PetriProperties(QWidget *parent = 0);
    ~PetriProperties();

    void setCurrentNet(spnp::Net *net);

public slots:
    void onItemSelected(QGraphicsItem* item);

private slots:
    void on_le_place_name_textEdited(const QString &arg1);

    void on_le_place_tokens_textEdited(const QString &arg1);

    void on_le_itrans_name_textEdited(const QString &arg1);

    void on_le_itrans_prior_textEdited(const QString &arg1);

    void on_le_itrans_guard_textEdited(const QString &arg1);

    void on_le_net_name_textEdited(const QString &arg1);

    void on_le_fplace_name_textEdited(const QString &arg1);

    void on_le_fplace_tokens_textEdited(const QString &arg1);

    void on_le_fplace_limit_textEdited(const QString &arg1);

    void on_le_fplace_break_textEdited(const QString &arg1);

    void on_le_itrans_prob_value_textEdited(const QString &arg1);

    void on_le_ttrans_name_textEdited(const QString &arg1);

    void on_le_ttrans_guard_textEdited(const QString &arg1);

    void on_le_ttrans_prior_textEdited(const QString &arg1);

    void on_le_ttrans_rate_textEdited(const QString &arg1);

    void on_rb_arc_const_toggled(bool checked);

    void on_le_arc_mult_textEdited(const QString &arg1);

    void on_cb_itrans_prob_currentTextChanged(const QString &arg1);

    void fillITransPlacesNames();

private:
    Ui::PetriProperties *ui;

    void setData(std::string itemId);

    std::string itemDataID;
    spnp::Net *netData;
    IPetriItem* currentPetriItem;
    void loadPlace();
    void loadFPlace();
    void loadITrans();
    void loadTTrans();
    void loadArc();
    void loadFArc();
    void loadNet();
    QString clearArg(QString arg1);

    void on_stackedWidget_currentChanged(int arg1);
};

#endif // PETRIPROPERTIES_H<commit_msg>Correção no preenchimento de nomes<commit_after>#ifndef PETRIPROPERTIES_H
#define PETRIPROPERTIES_H

#include <QWidget>
#include <QGraphicsItem>
#include "idata.h"
#include "objs/net.h"
#include "diagram/items/ipetriitem.h"

namespace Ui {
class PetriProperties;
}

class PetriProperties : public QWidget
{
    Q_OBJECT

public:
    explicit PetriProperties(QWidget *parent = 0);
    ~PetriProperties();

    void setCurrentNet(spnp::Net *net);

public slots:
    void onItemSelected(QGraphicsItem* item);

private slots:
    void on_le_place_name_textEdited(const QString &arg1);

    void on_le_place_tokens_textEdited(const QString &arg1);

    void on_le_itrans_name_textEdited(const QString &arg1);

    void on_le_itrans_prior_textEdited(const QString &arg1);

    void on_le_itrans_guard_textEdited(const QString &arg1);

    void on_le_net_name_textEdited(const QString &arg1);

    void on_le_fplace_name_textEdited(const QString &arg1);

    void on_le_fplace_tokens_textEdited(const QString &arg1);

    void on_le_fplace_limit_textEdited(const QString &arg1);

    void on_le_fplace_break_textEdited(const QString &arg1);

    void on_le_itrans_prob_value_textEdited(const QString &arg1);

    void on_le_ttrans_name_textEdited(const QString &arg1);

    void on_le_ttrans_guard_textEdited(const QString &arg1);

    void on_le_ttrans_prior_textEdited(const QString &arg1);

    void on_le_ttrans_rate_textEdited(const QString &arg1);

    void on_rb_arc_const_toggled(bool checked);

    void on_le_arc_mult_textEdited(const QString &arg1);

    void on_cb_itrans_prob_currentTextChanged(const QString &arg1);

    void fillITransPlacesNames();

    void on_stackedWidget_currentChanged(int arg1);

private:
    Ui::PetriProperties *ui;

    void setData(std::string itemId);

    std::string itemDataID;
    spnp::Net *netData;
    IPetriItem* currentPetriItem;
    void loadPlace();
    void loadFPlace();
    void loadITrans();
    void loadTTrans();
    void loadArc();
    void loadFArc();
    void loadNet();
    QString clearArg(QString arg1);


};

#endif // PETRIPROPERTIES_H
{'fraction_non_alphanumeric': 0.08535123471589547, 'fraction_numerical': 0.009590026372572525, 'mean_word_length': 5.0376266280752535, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2462508', 'n_tokens_mistral': 1507, 'n_tokens_neox': 1458, 'n_words': 295}