This commit is contained in:
parent
db6d032038
commit
7e6e3eb166
|
@ -1339,7 +1339,7 @@ void MainWindow::connectControl(IWingPlugin *plugin) {
|
||||||
? hexeditor->setKeepSize(b)
|
? hexeditor->setKeepSize(b)
|
||||||
: hexfiles[_pcurfile].doc->setKeepSize(b);
|
: hexfiles[_pcurfile].doc->setKeepSize(b);
|
||||||
});
|
});
|
||||||
ConnectControlLamba2(WingPlugin::Controller::setAsciiVisible, [=](bool b) {
|
ConnectControlLamba2(WingPlugin::Controller::setStringVisible, [=](bool b) {
|
||||||
hexfiles[_pcurfile].render->setAsciiVisible(b);
|
hexfiles[_pcurfile].render->setAsciiVisible(b);
|
||||||
plgsys->resetTimeout(qobject_cast<IWingPlugin *>(sender()));
|
plgsys->resetTimeout(qobject_cast<IWingPlugin *>(sender()));
|
||||||
});
|
});
|
||||||
|
@ -1347,7 +1347,7 @@ void MainWindow::connectControl(IWingPlugin *plugin) {
|
||||||
hexfiles[_pcurfile].render->setHeaderVisible(b);
|
hexfiles[_pcurfile].render->setHeaderVisible(b);
|
||||||
plgsys->resetTimeout(qobject_cast<IWingPlugin *>(sender()));
|
plgsys->resetTimeout(qobject_cast<IWingPlugin *>(sender()));
|
||||||
});
|
});
|
||||||
ConnectControlLamba2(WingPlugin::Controller::setStringVisible, [=](bool b) {
|
ConnectControlLamba2(WingPlugin::Controller::setAddressVisible, [=](bool b) {
|
||||||
hexfiles[_pcurfile].render->setAddressVisible(b);
|
hexfiles[_pcurfile].render->setAddressVisible(b);
|
||||||
plgsys->resetTimeout(qobject_cast<IWingPlugin *>(sender()));
|
plgsys->resetTimeout(qobject_cast<IWingPlugin *>(sender()));
|
||||||
});
|
});
|
||||||
|
|
|
@ -213,8 +213,8 @@ signals:
|
||||||
bool switchDocument(int index, bool gui = false);
|
bool switchDocument(int index, bool gui = false);
|
||||||
bool setLockedFile(bool b);
|
bool setLockedFile(bool b);
|
||||||
bool setKeepSize(bool b);
|
bool setKeepSize(bool b);
|
||||||
void setAsciiVisible(bool b);
|
|
||||||
void setStringVisible(bool b);
|
void setStringVisible(bool b);
|
||||||
|
void setAddressVisible(bool b);
|
||||||
void setHeaderVisible(bool b);
|
void setHeaderVisible(bool b);
|
||||||
void setAddressBase(quint64 base);
|
void setAddressBase(quint64 base);
|
||||||
void setAreaIndent(quint8 value);
|
void setAreaIndent(quint8 value);
|
||||||
|
|
Loading…
Reference in New Issue