mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-08 08:27:45 +02:00
2021-02-06 Fred Gleason <fredg@paravelsystems.com>
* Removed 'Q3DateEdit' dependencies from rddgimport(1). * Removed 'Q3TextEdit' dependencies from rddgimport(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
79e1f4f196
commit
18b72eb696
@ -21032,3 +21032,6 @@
|
||||
* Removed 'Q3SocketDevice' dependencies from rdsoftkeys(1).
|
||||
2021-02-06 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Removed 'Q3TextStream' dependencies from 'RDProfile'.
|
||||
2021-02-06 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Removed 'Q3DateEdit' dependencies from rddgimport(1).
|
||||
* Removed 'Q3TextEdit' dependencies from rddgimport(1).
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Qt-based application for importing Dial Global CDN downloads
|
||||
//
|
||||
// (C) Copyright 2012-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2012-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -20,11 +20,10 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include <qfiledialog.h>
|
||||
|
||||
#include <qapplication.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qtranslator.h>
|
||||
#include <QApplication>
|
||||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
#include <QTranslator>
|
||||
|
||||
#include <rdaudioimport.h>
|
||||
#include <rdconf.h>
|
||||
@ -115,7 +114,8 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
//
|
||||
// Date Selector
|
||||
//
|
||||
dg_date_edit=new Q3DateEdit(this);
|
||||
dg_date_edit=new QDateEdit(this);
|
||||
dg_date_edit->setDisplayFormat("MM/dd/yyyy");
|
||||
dg_date_edit->setDate(QDate::currentDate());
|
||||
dg_date_label=new QLabel(dg_date_edit,tr("Date:"),this);
|
||||
dg_date_label->setFont(labelFont());
|
||||
@ -134,7 +134,7 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
//
|
||||
// Messages Area
|
||||
//
|
||||
dg_messages_text=new Q3TextEdit(this);
|
||||
dg_messages_text=new QTextEdit(this);
|
||||
dg_messages_text->setReadOnly(true);
|
||||
dg_messages_label=new QLabel(dg_service_box,tr("Messages"),this);
|
||||
dg_messages_label->setFont(labelFont());
|
||||
@ -611,7 +611,8 @@ QString MainWidget::GetIsci(const QString &str) const
|
||||
void MainWidget::LogMessage(const QString &str)
|
||||
{
|
||||
dg_messages_text->append(str+"\n");
|
||||
dg_messages_text->scrollToBottom();
|
||||
dg_messages_text->verticalScrollBar()->
|
||||
setValue(dg_messages_text->verticalScrollBar()->maximum());
|
||||
}
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Qt-based application for importing Dial Global CDN downloads
|
||||
//
|
||||
// (C) Copyright 2012-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2012-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -21,12 +21,13 @@
|
||||
#ifndef RDDGIMPORT_H
|
||||
#define RDDGIMPORT_H
|
||||
|
||||
#include <q3datetimeedit.h>
|
||||
#include <q3textedit.h>
|
||||
//#include <q3textedit.h>
|
||||
|
||||
#include <qcombobox.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <QComboBox>
|
||||
#include <QDateTimeEdit>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
#include <QTextEdit>
|
||||
|
||||
#include <rdbusybar.h>
|
||||
#include <rdgroup.h>
|
||||
@ -77,10 +78,10 @@ class MainWidget : public RDWidget
|
||||
QLineEdit *dg_filename_edit;
|
||||
QPushButton *dg_filename_button;
|
||||
QLabel *dg_date_label;
|
||||
Q3DateEdit *dg_date_edit;
|
||||
QDateEdit *dg_date_edit;
|
||||
QPushButton *dg_date_button;
|
||||
QLabel *dg_messages_label;
|
||||
Q3TextEdit *dg_messages_text;
|
||||
QTextEdit *dg_messages_text;
|
||||
RDBusyBar *dg_bar;
|
||||
QPushButton *dg_process_button;
|
||||
QPushButton *dg_close_button;
|
||||
|
Loading…
x
Reference in New Issue
Block a user