mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 00:21:21 +02:00
2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in. * Removed rdchunk(1). * Upgraded Qt3 to Qt4.
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
#include <qmessagebox.h>
|
||||
#include <qpainter.h>
|
||||
#include <qdatetime.h>
|
||||
#include <qurl.h>
|
||||
#include <q3url.h>
|
||||
//Added by qt3to4:
|
||||
#include <QLabel>
|
||||
|
||||
#include <rdapplication.h>
|
||||
#include <rdescape_string.h>
|
||||
@@ -72,7 +74,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
QLabel *repl_name_label=new QLabel(repl_name_edit,tr("Name:"),this);
|
||||
repl_name_label->setGeometry(10,11,90,19);
|
||||
repl_name_label->setFont(font);
|
||||
repl_name_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
|
||||
repl_name_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
|
||||
//
|
||||
// Replicator Description
|
||||
@@ -84,7 +86,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
new QLabel(repl_description_edit,tr("Description:"),this);
|
||||
repl_description_label->setGeometry(10,33,90,19);
|
||||
repl_description_label->setFont(font);
|
||||
repl_description_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
|
||||
repl_description_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
|
||||
//
|
||||
// Replicator Type
|
||||
@@ -100,7 +102,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
QLabel *repl_type_label=new QLabel(repl_type_box,tr("Type:"),this);
|
||||
repl_type_label->setGeometry(10,55,90,19);
|
||||
repl_type_label->setFont(font);
|
||||
repl_type_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
|
||||
repl_type_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
|
||||
//
|
||||
// Host System
|
||||
@@ -120,7 +122,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
new QLabel(repl_station_box,tr("Host System:"),this);
|
||||
repl_station_label->setGeometry(10,77,140,19);
|
||||
repl_station_label->setFont(font);
|
||||
repl_station_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
|
||||
repl_station_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
|
||||
//
|
||||
// Upload Audio URL
|
||||
@@ -131,7 +133,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
repl_url_label=new QLabel(repl_url_edit,tr("Audio Upload URL:"),this);
|
||||
repl_url_label->setGeometry(20,99,130,19);
|
||||
repl_url_label->setFont(font);
|
||||
repl_url_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
|
||||
repl_url_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
|
||||
//
|
||||
// Upload Username
|
||||
@@ -142,7 +144,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
repl_username_label=new QLabel(repl_username_edit,tr("Username:"),this);
|
||||
repl_username_label->setGeometry(40,121,180,19);
|
||||
repl_username_label->setFont(font);
|
||||
repl_username_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
|
||||
repl_username_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
|
||||
//
|
||||
// Upload Password
|
||||
@@ -154,7 +156,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
repl_password_label=new QLabel(repl_password_edit,tr("Password:"),this);
|
||||
repl_password_label->setGeometry(320,121,70,19);
|
||||
repl_password_label->setFont(font);
|
||||
repl_password_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
|
||||
repl_password_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
|
||||
//
|
||||
// Audio Format
|
||||
@@ -165,7 +167,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
repl_format_label=new QLabel(repl_format_edit,tr("Upload Format:"),this);
|
||||
repl_format_label->setGeometry(5,143,145,20);
|
||||
repl_format_label->setFont(font);
|
||||
repl_format_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
|
||||
repl_format_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
repl_format_button=new QPushButton(this);
|
||||
repl_format_button->setGeometry(450,142,40,24);
|
||||
repl_format_button->setFont(small_font);
|
||||
@@ -182,7 +184,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
new QLabel(repl_normalize_box,tr("Normalize"),this);
|
||||
repl_normalize_check_label->setGeometry(175,165,83,20);
|
||||
repl_normalize_check_label->setFont(font);
|
||||
repl_normalize_check_label->setAlignment(AlignLeft|AlignVCenter);
|
||||
repl_normalize_check_label->setAlignment(Qt::AlignLeft|Qt::AlignVCenter);
|
||||
connect(repl_normalize_box,SIGNAL(toggled(bool)),
|
||||
this,SLOT(normalizeCheckData(bool)));
|
||||
|
||||
@@ -195,11 +197,11 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
|
||||
repl_normalize_label=new QLabel(repl_normalize_spin,tr("Level:"),this);
|
||||
repl_normalize_label->setGeometry(245,165,45,20);
|
||||
repl_normalize_label->setFont(font);
|
||||
repl_normalize_label->setAlignment(AlignRight|AlignVCenter);
|
||||
repl_normalize_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
repl_normalize_unit_label=new QLabel(tr("dBFS"),this);
|
||||
repl_normalize_unit_label->setGeometry(340,165,40,20);
|
||||
repl_normalize_unit_label->setFont(font);
|
||||
repl_normalize_unit_label->setAlignment(AlignLeft|AlignVCenter);
|
||||
repl_normalize_unit_label->setAlignment(Qt::AlignLeft|Qt::AlignVCenter);
|
||||
|
||||
//
|
||||
// Groups Selector
|
||||
|
Reference in New Issue
Block a user