mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
QFileDialog Tweak
This commit is contained in:
parent
f045b49df5
commit
7bfb8a6bb3
@ -692,7 +692,7 @@ bool ResmedLoader::LoadPLD(Session *sess,EDFParser &edf)
|
||||
a=ToTimeDelta(sess,edf,es, code,recs,duration,0,0);
|
||||
//a->setMax(1);
|
||||
//a->setMin(0);
|
||||
} else if (es.label=="Therapy Pres") {
|
||||
} else if ((es.label=="Therapy Pres") || (es.label=="Insp Pres")) {
|
||||
code=CPAP_IPAP; //TherapyPressure;
|
||||
//EventList *a=new EventList(code,EVL_Waveform,es.gain,es.offset,es.physical_minimum,es.physical_maximum,rate);
|
||||
//sess->eventlist[code].push_back(a);
|
||||
|
@ -175,8 +175,10 @@ void MainWindow::Startup()
|
||||
void MainWindow::on_action_Import_Data_triggered()
|
||||
{
|
||||
QStringList dirNames;
|
||||
|
||||
QFileDialog qfd(this);
|
||||
qfd.setFileMode(QFileDialog::DirectoryOnly);
|
||||
qfd.setFileMode(QFileDialog::Directory);
|
||||
qfd.setOption(QFileDialog::ShowDirsOnly,true);
|
||||
|
||||
if (qfd.exec()) {
|
||||
qprogress->setValue(0);
|
||||
|
Loading…
Reference in New Issue
Block a user