Skip to content

Commit

Permalink
Fixed titles
Browse files Browse the repository at this point in the history
Fixed popup window titles and some modalitys.
  • Loading branch information
profanum429 committed Aug 14, 2014
1 parent e7d625a commit 6c7316c
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/v800fs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ void V800fs::on_downloadBtn_clicked()
download_progress->setCancelButton(0);
download_progress->setWindowModality(Qt::WindowModal);
download_progress->setValue(1);
download_progress->setWindowTitle(tr("V800 Downloader"));
download_progress->show();

QTreeWidgetItem *parent=NULL;
Expand Down
5 changes: 5 additions & 0 deletions src/widgets/v800main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ V800Main::V800Main(QWidget *parent) :
this->show();

start_in_progress = new QMessageBox(this);
start_in_progress->setWindowTitle(tr("V800 Downloader"));
start_in_progress->setText(tr("Downloading session list from V800..."));
start_in_progress->setIcon(QMessageBox::Information);
start_in_progress->setStandardButtons(0);
Expand All @@ -59,6 +60,7 @@ V800Main::~V800Main()
void V800Main::handle_not_ready()
{
QMessageBox failure;
failure.setWindowTitle(tr("V800 Downloader"));
failure.setText(tr("Failed to open V800!"));
failure.setIcon(QMessageBox::Critical);
failure.exec();
Expand Down Expand Up @@ -100,8 +102,10 @@ void V800Main::handle_sessions_done()
{
download_progress->done(0);
QMessageBox done;
done.setWindowTitle(tr("V800 Downloader"));
done.setText(tr("Done downloading sessions! Run Bipolar to convert them to exportable formats."));
done.setIcon(QMessageBox::Information);
done.setWindowModality(Qt::WindowModal);
done.exec();

enable_all();
Expand Down Expand Up @@ -170,6 +174,7 @@ void V800Main::on_downloadBtn_clicked()
download_progress->setCancelButton(0);
download_progress->setWindowModality(Qt::WindowModal);
download_progress->setValue(1);
download_progress->setWindowTitle(tr("V800 Downloader"));
download_progress->show();

emit get_sessions(sessions, save_dir, ui->rawChk->isChecked());
Expand Down
41 changes: 41 additions & 0 deletions v800_downloader_resource.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# if defined(UNDER_CE)
# include <winbase.h>
# else
# include <winver.h>
# endif

IDI_ICON1 ICON DISCARDABLE "C:\\Projects\\v800_downloader\\src\\ui\\v800_downloader.ico"

VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,0,0
PRODUCTVERSION 0,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "\0"
VALUE "FileDescription", "\0"
VALUE "FileVersion", "0.0.0.0\0"
VALUE "LegalCopyright", "\0"
VALUE "OriginalFilename", "v800_downloader.exe\0"
VALUE "ProductName", "v800_downloader\0"
VALUE "ProductVersion", "0.0.0.0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1200
END
END
/* End of Version info */

0 comments on commit 6c7316c

Please sign in to comment.