2
0
forked from Ivasoft/DSView

add: Reduce the rolling trigger sensitivity of logic analyzer

This commit is contained in:
dreamsourcelabTAI
2022-04-15 15:51:36 +08:00
parent 84ed78c876
commit f5bc2b1ee7
11 changed files with 70 additions and 41 deletions

View File

@@ -26,6 +26,7 @@
#include <QDir>
#include <QCoreApplication>
#include <QDebug>
#include <QWidget>
#include "devicemanager.h"
#include "sigsession.h"
@@ -35,7 +36,8 @@
AppControl::AppControl()
{
sr_ctx = NULL;
_topWindow = NULL;
_device_manager = new pv::DeviceManager();
_session = new pv::SigSession(_device_manager);
}
@@ -149,3 +151,11 @@ const char *AppControl::GetLastError()
sr_log_loglevel_set(level);
srd_log_loglevel_set(level);
}
bool AppControl::TopWindowIsMaximized()
{
if (_topWindow != NULL){
return _topWindow->isMaximized();
}
return false;
}