mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-23 13:42:55 +08:00
update: export dialog
This commit is contained in:
parent
4077e0bf22
commit
fea3636e3c
@ -111,6 +111,12 @@ StoreProgress::~StoreProgress()
|
|||||||
|
|
||||||
if (file != ""){
|
if (file != ""){
|
||||||
_fileLab->setText(file);
|
_fileLab->setText(file);
|
||||||
|
|
||||||
|
if (_ckOrigin != NULL){
|
||||||
|
bool bFlag = file.endsWith(".csv");
|
||||||
|
_ckOrigin->setVisible(bFlag);
|
||||||
|
_ckCompress->setVisible(bFlag);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -225,6 +231,13 @@ void StoreProgress::export_run()
|
|||||||
setTitle(tr("Exporting..."));
|
setTitle(tr("Exporting..."));
|
||||||
QString file = _store_session.MakeExportFile(false);
|
QString file = _store_session.MakeExportFile(false);
|
||||||
_fileLab->setText(file);
|
_fileLab->setText(file);
|
||||||
|
|
||||||
|
if (_ckOrigin != NULL){
|
||||||
|
bool bFlag = file.endsWith(".csv");
|
||||||
|
_ckOrigin->setVisible(bFlag);
|
||||||
|
_ckCompress->setVisible(bFlag);
|
||||||
|
}
|
||||||
|
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user