2018-08-15 Fred Gleason <fredg@paravelsystems.com>

* Fixed style inconsistencies in dialogs within rdcastmanager(1).
This commit is contained in:
Fred Gleason 2018-08-15 17:52:08 +00:00
parent b3864f596a
commit b7d229941a
10 changed files with 28 additions and 31 deletions

View File

@ -17419,3 +17419,5 @@
* Fixed style inconsistencies in dialogs within rdadmin(1).
2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdcartslots(1).
2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdcastmanager(1).

View File

@ -2,7 +2,7 @@
//
// Edit a Rivendell Cast
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -41,14 +41,16 @@
#include "pick_report_dates.h"
EditCast::EditCast(unsigned cast_id,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
int ypos=0;
cast_cast=new RDPodcast(rda->config(),cast_id);
cast_feed=new RDFeed(cast_cast->feedId(),rda->config());
cast_status=cast_cast->status();
setCaption(tr("Editing PodCast"));
setWindowTitle("RDCastManager - "+tr("Editing PodCast"));
//
// Create Fonts

View File

@ -2,7 +2,7 @@
//
// Edit a Rivendell Cast
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

View File

@ -2,7 +2,7 @@
//
// Global Variable Declarations for RDCastManager
//
// (C) Copyright 2007,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2007-2018 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

View File

@ -2,7 +2,7 @@
//
// List Rivendell Casts
//
// (C) Copyright 2002-2007,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -36,9 +36,6 @@
#include <qfile.h>
#include <qapplication.h>
#include <q3filedialog.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <QPixmap>
#include <rdapplication.h>
#include <rdcastsearch.h>
@ -67,8 +64,10 @@
#include "../icons/whiteball.xpm"
ListCasts::ListCasts(unsigned feed_id,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
list_feed_id=feed_id;
//
@ -77,7 +76,7 @@ ListCasts::ListCasts(unsigned feed_id,QWidget *parent)
setMinimumWidth(sizeHint().width());
setMinimumHeight(sizeHint().height());
setCaption(tr("Podcast List"));
setWindowTitle("RDCastManager - "+tr("Podcast List"));
//
// Create Fonts

View File

@ -2,7 +2,7 @@
//
// List Rivendell Casts
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -24,14 +24,11 @@
#include <qdialog.h>
#include <qpixmap.h>
#include <qradiobutton.h>
#include <qsqldatabase.h>
#include <qpushbutton.h>
#include <qlineedit.h>
#include <qcheckbox.h>
#include <qlabel.h>
#include <q3progressdialog.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <rdfeed.h>
#include <rdlistviewitem.h>

View File

@ -2,7 +2,7 @@
//
// Select a Set of Dates for a Rivendell Report
//
// (C) Copyright 2002-2006,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -38,15 +38,17 @@
PickReportDates::PickReportDates(unsigned feed_id,unsigned cast_id,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
QDate yesterday_date=QDate::currentDate().addDays(-1);
edit_cast_id=feed_id;
edit_cast_id=cast_id;
setCaption(tr("Select Report Dates"));
setWindowTitle("RDCastManager - "+tr("Select Report Dates"));
sql=QString().sprintf("select KEY_NAME from FEEDS where ID=%d",feed_id);
q=new RDSqlQuery(sql);

View File

@ -2,7 +2,7 @@
//
// Select a Set of Dates for a Rivendell Podcast Report
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

View File

@ -2,7 +2,7 @@
//
// A PodCast Management Utility for Rivendell.
//
// (C) Copyright 2002-2005,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -34,9 +34,6 @@
#include <qsettings.h>
#include <qpainter.h>
#include <qmessagebox.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <QPixmap>
#include <dbversion.h>
#include <rd.h>
@ -65,7 +62,7 @@ QString cast_group;
QString cast_schedcode;
MainWidget::MainWidget(QWidget *parent)
:Q3MainWindow(parent)
: QWidget(parent)
{
QString str1;
QString str2;
@ -103,7 +100,7 @@ MainWidget::MainWidget(QWidget *parent)
str1=QString("RDCastManager")+" v"+VERSION+" - "+tr("Host");
str2=QString(tr("User: [Unknown]"));
setCaption(str1+": "+rda->config()->stationName()+" "+str2);
setWindowTitle(str1+": "+rda->config()->stationName()+" "+str2);
//
// RIPC Connection
@ -133,7 +130,7 @@ MainWidget::MainWidget(QWidget *parent)
// Create Icons
//
cast_rivendell_map=new QPixmap(rdcastmanager_22x22_xpm);
setIcon(*cast_rivendell_map);
setWindowIcon(*cast_rivendell_map);
cast_greencheckmark_map=new QPixmap(greencheckmark_xpm);
cast_redx_map=new QPixmap(redx_xpm);

View File

@ -2,7 +2,7 @@
//
// A RSS Feed Management Utility for Rivendell.
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -23,14 +23,12 @@
#include <vector>
#include <q3mainwindow.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qsqldatabase.h>
#include <qpushbutton.h>
#include <qpixmap.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <qwidget.h>
#include <rdlistview.h>
#include <rduser.h>
@ -41,7 +39,7 @@
#define RDCASTMANAGER_USAGE "\n"
class MainWidget : public Q3MainWindow
class MainWidget : public QWidget
{
Q_OBJECT
public: