update
This commit is contained in:
parent
9e3dcb5cae
commit
050c641734
|
@ -1,8 +1,11 @@
|
|||
#include "SequenceView.h"
|
||||
#include "TranslateBasic.h"
|
||||
#include <QSpinBox>
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
#include "TranslateBasic.h"
|
||||
#include <QMenu>
|
||||
#include <QComboBox>
|
||||
#include <QItemSelectionModel>
|
||||
|
||||
using namespace extract;
|
||||
using namespace unit_func;
|
||||
|
@ -89,7 +92,6 @@ void RuleSetCustom::showEvent(QShowEvent* e)
|
|||
membersPresent(this->_view._ruleset, this->_view._seqs_model);
|
||||
}
|
||||
|
||||
#include <QItemSelectionModel>
|
||||
RuleSetCustom::RuleSetCustom(std::shared_ptr<TranslateBasic> base,
|
||||
std::shared_ptr<extract::BytesAsRuleSet> rule_set, QWidget* p /*= nullptr*/)
|
||||
:QTableView(p)
|
||||
|
@ -121,7 +123,6 @@ RuleSetCustom::RuleSetCustom(std::shared_ptr<TranslateBasic> base,
|
|||
});
|
||||
}
|
||||
|
||||
#include <QMenu>
|
||||
void RuleSetCustom::customTranslateRuleEdit(const QPoint& pos)
|
||||
{
|
||||
QMenu immediate;
|
||||
|
@ -184,7 +185,6 @@ RuleSelectDelegate::RuleSelectDelegate(std::shared_ptr<TranslateBasic> ins)
|
|||
:_kernel(ins) {
|
||||
}
|
||||
|
||||
#include <QComboBox>
|
||||
QWidget* RuleSelectDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const
|
||||
{
|
||||
return new QComboBox(parent);
|
||||
|
|
Loading…
Reference in New Issue