mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-07 01:13:50 +02:00
2018-08-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdlogmanager(1).
This commit is contained in:
parent
1ea9b0dfcf
commit
c372e73010
@ -17402,3 +17402,5 @@
|
||||
* Fixed style inconsistencies in dialogs within rdlibrary(1).
|
||||
2018-08-14 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed style inconsistencies in dialogs within rdlogin(1).
|
||||
2018-08-14 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed style inconsistencies in dialogs within rdlogmanager(1).
|
||||
|
@ -1,8 +1,8 @@
|
||||
// add_clock.cpp
|
||||
//
|
||||
// Add a Rivendell Service
|
||||
// Add a Rivendell Clock
|
||||
//
|
||||
// (C) Copyright 2002,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
|
||||
@ -30,16 +30,17 @@
|
||||
#include <qcheckbox.h>
|
||||
#include <q3buttongroup.h>
|
||||
#include <qsqldatabase.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <add_clock.h>
|
||||
#include <rdpasswd.h>
|
||||
#include <rdtextvalidator.h>
|
||||
|
||||
#include "add_clock.h"
|
||||
|
||||
AddClock::AddClock(QString *logname,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
clock_name=logname;
|
||||
|
||||
//
|
||||
@ -50,7 +51,7 @@ AddClock::AddClock(QString *logname,QWidget *parent)
|
||||
setMinimumHeight(sizeHint().height());
|
||||
setMaximumHeight(sizeHint().height());
|
||||
|
||||
setCaption(tr("Add Log Clock"));
|
||||
setWindowTitle("RDLogManager - "+tr("Add Clock"));
|
||||
|
||||
//
|
||||
// Create Fonts
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Add a Rivendell Log Manager Clock
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -28,8 +28,6 @@
|
||||
#include <qcheckbox.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlineedit.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rdclock.h>
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// add_event.cpp
|
||||
//
|
||||
// Add a Rivendell Service
|
||||
// Add a Rivendell LogManager Event
|
||||
//
|
||||
// (C) Copyright 2002,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
|
||||
@ -19,29 +19,24 @@
|
||||
//
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <qstring.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <q3listbox.h>
|
||||
#include <q3textedit.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpainter.h>
|
||||
#include <qevent.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qpainter.h>
|
||||
#include <qpushbutton.h>
|
||||
|
||||
#include <q3buttongroup.h>
|
||||
#include <qsqldatabase.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rdtextvalidator.h>
|
||||
#include <rdpasswd.h>
|
||||
#include <rdtextvalidator.h>
|
||||
|
||||
#include <edit_event.h>
|
||||
#include <add_event.h>
|
||||
#include "add_event.h"
|
||||
#include "edit_event.h"
|
||||
|
||||
AddEvent::AddEvent(QString *logname,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
event_name=logname;
|
||||
|
||||
//
|
||||
@ -52,7 +47,7 @@ AddEvent::AddEvent(QString *logname,QWidget *parent)
|
||||
setMinimumHeight(sizeHint().height());
|
||||
setMaximumHeight(sizeHint().height());
|
||||
|
||||
setCaption(tr("Add Log Event"));
|
||||
setWindowTitle("RDLogManager - "+tr("Add Log Event"));
|
||||
|
||||
//
|
||||
// Create Fonts
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Add a Rivendell Log Manager Event
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -21,15 +21,13 @@
|
||||
#ifndef ADD_EVENT_H
|
||||
#define ADD_EVENT_H
|
||||
|
||||
#include <qcheckbox.h>
|
||||
#include <qdialog.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include <q3listbox.h>
|
||||
#include <q3textedit.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlineedit.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rdevent.h>
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Clock Carts ListView widget for RDLogManager.
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -21,14 +21,12 @@
|
||||
|
||||
#include <q3dragobject.h>
|
||||
#include <q3header.h>
|
||||
//Added by qt3to4:
|
||||
#include <Q3PopupMenu>
|
||||
#include <QMouseEvent>
|
||||
|
||||
#include <rdcart.h>
|
||||
|
||||
#include <edit_note.h>
|
||||
#include <clock_listview.h>
|
||||
#include "clock_listview.h"
|
||||
#include "edit_note.h"
|
||||
|
||||
ClockListView::ClockListView(QWidget *parent)
|
||||
: RDListView(parent)
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Clock ListView widget for RDLogManager.
|
||||
//
|
||||
// (C) Copyright 2002-2005,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
|
||||
@ -25,8 +25,6 @@
|
||||
#include <q3listview.h>
|
||||
#include <qpixmap.h>
|
||||
#include <q3popupmenu.h>
|
||||
//Added by qt3to4:
|
||||
#include <QMouseEvent>
|
||||
|
||||
#include <rdlistview.h>
|
||||
#include <rdlog_event.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Command Line Operations for RDLogManager
|
||||
//
|
||||
// (C) Copyright 2012,2016-2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2012-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
|
||||
|
@ -30,11 +30,6 @@
|
||||
#include <qcolordialog.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qcombobox.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
#include <QPaintEvent>
|
||||
#include <QPixmap>
|
||||
#include <QLabel>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
@ -54,11 +49,13 @@
|
||||
|
||||
EditClock::EditClock(QString clockname,bool new_clock,
|
||||
std::vector<QString> *new_clocks,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
QString str;
|
||||
|
||||
setCaption("RDLogManager - "+tr("Edit Clock")+": "+clockname);
|
||||
setWindowTitle("RDLogManager - "+tr("Edit Clock")+": "+clockname);
|
||||
edit_name=clockname;
|
||||
edit_new_clock=new_clock;
|
||||
edit_new_clocks=new_clocks;
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit A Rivendell Log Clock
|
||||
//
|
||||
// (C) Copyright 2002-2004,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,21 +24,17 @@
|
||||
#include <vector>
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qvariant.h>
|
||||
#include <q3textedit.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
#include <QPaintEvent>
|
||||
|
||||
#include <rdclock.h>
|
||||
|
||||
#include <clock_listview.h>
|
||||
#include <schedruleslist.h>
|
||||
|
||||
#include "clock_listview.h"
|
||||
|
||||
//
|
||||
// Layout
|
||||
//
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell Log Event
|
||||
//
|
||||
// (C) Copyright 2002-2004,2008,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
|
||||
@ -24,11 +24,6 @@
|
||||
#include <qpainter.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qcolordialog.h>
|
||||
//Added by qt3to4:
|
||||
#include <QLabel>
|
||||
#include <QPixmap>
|
||||
#include <QPaintEvent>
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
@ -52,14 +47,16 @@
|
||||
|
||||
EditEvent::EditEvent(QString eventname,bool new_event,
|
||||
std::vector<QString> *new_events,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
event_saved=false;
|
||||
event_name=eventname;
|
||||
event_new_event=new_event;
|
||||
event_new_events=new_events;
|
||||
event_event=new RDEvent(eventname);
|
||||
setCaption("RDLogManager - "+tr("Editing Event")+" - "+event_event->name());
|
||||
setWindowTitle("RDLogManager - "+tr("Editing Event")+" - "+event_event->name());
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell Log Event
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -35,10 +35,6 @@
|
||||
#include <qcombobox.h>
|
||||
#include <q3buttongroup.h>
|
||||
#include <q3textedit.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
#include <QPaintEvent>
|
||||
#include <QPixmap>
|
||||
|
||||
#include <rdemptycart.h>
|
||||
#include <rdevent.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit Rivendell Log Eventline
|
||||
//
|
||||
// (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
|
||||
@ -24,9 +24,6 @@
|
||||
#include <qpainter.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qpushbutton.h>
|
||||
//Added by qt3to4:
|
||||
#include <QLabel>
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rddb.h>
|
||||
@ -38,9 +35,11 @@
|
||||
|
||||
EditEventLine::EditEventLine(RDEventLine *eventline,RDClock *clock,int line,
|
||||
QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setCaption(tr("Edit Event Assignment"));
|
||||
setModal(true);
|
||||
|
||||
setWindowTitle("RDLogManager - "+tr("Edit Event Assignment"));
|
||||
edit_eventline=eventline;
|
||||
edit_clock=clock;
|
||||
edit_line=line;
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit A Rivendell Log Clock
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -25,8 +25,6 @@
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlineedit.h>
|
||||
#include <q3datetimeedit.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rdevent_line.h>
|
||||
#include <rdclock.h>
|
||||
|
@ -29,11 +29,6 @@
|
||||
#include <qmessagebox.h>
|
||||
#include <qcolordialog.h>
|
||||
#include <qsignalmapper.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
#include <QPaintEvent>
|
||||
#include <QLabel>
|
||||
#include <Q3PopupMenu>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rddb.h>
|
||||
@ -45,11 +40,13 @@
|
||||
#include "edit_clock.h"
|
||||
|
||||
EditGrid::EditGrid(QString servicename,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
QString sql;
|
||||
|
||||
setCaption("RDLogManager - "+tr("Edit Grid")+": "+servicename);
|
||||
setWindowTitle("RDLogManager - "+tr("Edit Grid")+": "+servicename);
|
||||
edit_servicename=servicename;
|
||||
|
||||
//
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit A Rivendell Log Grid
|
||||
//
|
||||
// (C) Copyright 2002-2015 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
|
||||
@ -25,14 +25,10 @@
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlabel.h>
|
||||
#include <q3popupmenu.h>
|
||||
//Added by qt3to4:
|
||||
#include <QPaintEvent>
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rdpushbutton.h>
|
||||
|
||||
#include <rdlistview.h>
|
||||
#include <rdclock.h>
|
||||
#include <rdlistview.h>
|
||||
#include <rdpushbutton.h>
|
||||
|
||||
class EditGrid : public QDialog
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell LogManager Note
|
||||
//
|
||||
// (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
|
||||
@ -24,8 +24,6 @@
|
||||
#include <qpainter.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qsqldatabase.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdevent.h>
|
||||
@ -33,9 +31,11 @@
|
||||
#include "edit_note.h"
|
||||
|
||||
EditNote::EditNote(QString *text,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setCaption(tr("Edit Log Note"));
|
||||
setModal(true);
|
||||
|
||||
setWindowTitle("RDLogManager - "+tr("Edit Log Note"));
|
||||
edit_text=text;
|
||||
|
||||
//
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell LogManager Note
|
||||
//
|
||||
// (C) Copyright 2002-2004,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,9 +24,6 @@
|
||||
#include <qdialog.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <q3textedit.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
|
||||
class EditNote : public QDialog
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit RDLogManager Service Associations
|
||||
//
|
||||
// (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
|
||||
@ -29,8 +29,6 @@
|
||||
#include <qmessagebox.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <q3buttongroup.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rddb.h>
|
||||
#include <rdescape_string.h>
|
||||
@ -40,11 +38,12 @@
|
||||
#include "edit_perms.h"
|
||||
|
||||
EditPerms::EditPerms(QString object_name,ObjectType type,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
QString str;
|
||||
|
||||
sel_type=type;
|
||||
sel_name=object_name;
|
||||
@ -57,8 +56,7 @@ EditPerms::EditPerms(QString object_name,ObjectType type,QWidget *parent)
|
||||
setMinimumHeight(sizeHint().height());
|
||||
setMaximumHeight(sizeHint().height());
|
||||
|
||||
str=QString(tr("Service Associations"));
|
||||
setCaption("RDLogManager - "+sel_name+" - "+tr("Service Associations"));
|
||||
setWindowTitle("RDLogManager - "+sel_name+" - "+tr("Service Associations"));
|
||||
|
||||
//
|
||||
// Create Fonts
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit RDLogManager Service Associations
|
||||
//
|
||||
// (C) Copyright 2002-2005,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
|
||||
@ -27,7 +27,6 @@
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rdlistselector.h>
|
||||
|
||||
#include <rdsvc.h>
|
||||
|
||||
class EditPerms : public QDialog
|
||||
|
@ -2,7 +2,8 @@
|
||||
//
|
||||
// Change rules for scheduler codes dialog
|
||||
//
|
||||
// Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (C) Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (C) 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
|
||||
@ -28,20 +29,19 @@
|
||||
#include <qsqldatabase.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qcombobox.h>
|
||||
//Added by qt3to4:
|
||||
#include <QLabel>
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rd.h>
|
||||
|
||||
#include <edit_schedcoderules.h>
|
||||
#include <schedruleslist.h>
|
||||
|
||||
#include "edit_schedcoderules.h"
|
||||
|
||||
editSchedCodeRules::editSchedCodeRules(Q3ListViewItem *item,
|
||||
SchedRulesList *sched_rules_list,
|
||||
QWidget* parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
item_edit = item;
|
||||
|
||||
//
|
||||
@ -52,8 +52,7 @@ editSchedCodeRules::editSchedCodeRules(Q3ListViewItem *item,
|
||||
setMinimumHeight(sizeHint().height());
|
||||
setMaximumHeight(sizeHint().height());
|
||||
|
||||
setCaption(tr("Edit Rules for Code"));
|
||||
|
||||
setWindowTitle("RDLogManager - "+tr("Edit Rules for Code"));
|
||||
|
||||
// Create Font
|
||||
QFont font=QFont("Helvetica",12,QFont::Bold);
|
||||
|
@ -2,7 +2,8 @@
|
||||
//
|
||||
// Change rules for scheduler codes dialog
|
||||
//
|
||||
// Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (C) Copyright Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (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
|
||||
@ -22,16 +23,14 @@
|
||||
#define EDIT_SCHEDCODERULES_H
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qvariant.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <schedruleslist.h>
|
||||
#include <clock_listview.h>
|
||||
|
||||
#include "clock_listview.h"
|
||||
|
||||
class QSpinBox;
|
||||
|
||||
|
@ -2,7 +2,8 @@
|
||||
//
|
||||
// Edit scheduler rules of a clock
|
||||
//
|
||||
// Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (C) Copyright Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (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,12 +24,8 @@
|
||||
#include <q3textedit.h>
|
||||
#include <qpainter.h>
|
||||
#include <qmessagebox.h>
|
||||
|
||||
#include <qspinbox.h>
|
||||
#include <qcombobox.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
#include <QLabel>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
@ -43,8 +40,10 @@
|
||||
#include "schedruleslist.h"
|
||||
|
||||
EditSchedRules::EditSchedRules(QString clock,unsigned *artistsep,SchedRulesList *schedruleslist,bool *rules_modified,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
edit_artistsep=artistsep;
|
||||
edit_rules_modified=rules_modified;
|
||||
sched_rules_list = schedruleslist;
|
||||
@ -58,7 +57,7 @@ EditSchedRules::EditSchedRules(QString clock,unsigned *artistsep,SchedRulesList
|
||||
setMinimumHeight(sizeHint().height());
|
||||
setMaximumHeight(sizeHint().height());
|
||||
|
||||
setCaption(tr("Scheduler Rules"));
|
||||
setWindowTitle("RDLogManager - "+tr("Scheduler Rules"));
|
||||
|
||||
//
|
||||
// Create Fonts
|
||||
|
@ -2,7 +2,8 @@
|
||||
//
|
||||
// Edit scheduler rules of a clock
|
||||
//
|
||||
// Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (C) Copyright Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (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
|
||||
@ -22,16 +23,12 @@
|
||||
#define EDIT_SCHEDRULES_H
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <q3listview.h>
|
||||
#include <qvariant.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rdlistview.h>
|
||||
|
||||
#include <schedruleslist.h>
|
||||
|
||||
class QSpinBox;
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell LogManager Track
|
||||
//
|
||||
// (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
|
||||
@ -23,9 +23,6 @@
|
||||
#include <q3textedit.h>
|
||||
#include <qpainter.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qsqldatabase.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdevent.h>
|
||||
@ -33,9 +30,9 @@
|
||||
#include "edit_track.h"
|
||||
|
||||
EditTrack::EditTrack(QString *text,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setCaption(tr("Edit Voice Track Marker"));
|
||||
setWindowTitle("RDLogManager - "+tr("Edit Voice Track Marker"));
|
||||
edit_text=text;
|
||||
|
||||
//
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell LogManager Track
|
||||
//
|
||||
// (C) Copyright 2002-2004,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,8 +24,6 @@
|
||||
#include <qdialog.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <q3textedit.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
|
||||
class EditTrack : public QDialog
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Generate a Rivendell Log
|
||||
//
|
||||
// (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
|
||||
@ -26,10 +26,6 @@
|
||||
#include <qmessagebox.h>
|
||||
#include <qfile.h>
|
||||
#include <qtimer.h>
|
||||
//Added by qt3to4:
|
||||
#include <QResizeEvent>
|
||||
#include <QPixmap>
|
||||
#include <QLabel>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
@ -54,15 +50,17 @@
|
||||
|
||||
GenerateLog::GenerateLog(QWidget *parent,int cmd_switch,QString *cmd_service,
|
||||
QDate *cmd_date)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
QStringList services_list;
|
||||
bool cmdservicefit=false;
|
||||
cmdswitch=cmd_switch;
|
||||
cmdservice = cmd_service;
|
||||
cmddate = cmd_date;
|
||||
|
||||
setCaption("RDLogManager - "+tr("Generate Log"));
|
||||
setWindowTitle("RDLogManager - "+tr("Generate Log"));
|
||||
|
||||
gen_music_enabled=false;
|
||||
gen_traffic_enabled=false;
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Generate a Rivendell Log
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -28,8 +28,6 @@
|
||||
#include <qpixmap.h>
|
||||
#include <q3progressdialog.h>
|
||||
#include <qpushbutton.h>
|
||||
//Added by qt3to4:
|
||||
#include <QResizeEvent>
|
||||
|
||||
#include <rdnotification.h>
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Import Carts ListView widget for RDLogManager.
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -18,15 +18,9 @@
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#include <QMouseEvent>
|
||||
#include <q3dragobject.h>
|
||||
#include <q3header.h>
|
||||
//Added by qt3to4:
|
||||
#include <QDropEvent>
|
||||
#include <QFocusEvent>
|
||||
#include <QPixmap>
|
||||
#include <QMouseEvent>
|
||||
#include <Q3PopupMenu>
|
||||
#include <QDragEnterEvent>
|
||||
|
||||
#include <rdcart.h>
|
||||
#include <rdconf.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Import Carts ListView widget for RDLogManager.
|
||||
//
|
||||
// (C) Copyright 2002-2004,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,8 @@
|
||||
#include <q3listview.h>
|
||||
#include <qpixmap.h>
|
||||
#include <q3popupmenu.h>
|
||||
//Added by qt3to4:
|
||||
#include <QDragEnterEvent>
|
||||
#include <QDropEvent>
|
||||
#include <QMouseEvent>
|
||||
#include <QFocusEvent>
|
||||
|
||||
#include <rdeventimportlist.h>
|
||||
//#include <rdlog_event.h>
|
||||
|
||||
class ImportListView : public Q3ListView
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Library ListView widget for RDLogManager.
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -22,9 +22,6 @@
|
||||
#include <rdcartdrag.h>
|
||||
|
||||
#include <lib_listview.h>
|
||||
//Added by qt3to4:
|
||||
#include <QFocusEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
LibListView::LibListView(QWidget *parent)
|
||||
: Q3ListView(parent)
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Library ListView widget for RDLogManager.
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
|
@ -25,10 +25,6 @@
|
||||
#include <qmessagebox.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qpainter.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
#include <QResizeEvent>
|
||||
#include <QLabel>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
@ -43,10 +39,12 @@
|
||||
#include "rename_item.h"
|
||||
|
||||
ListClocks::ListClocks(QString *clockname,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
QStringList services_list;
|
||||
setCaption("RDLogManager - "+tr("Log Clocks"));
|
||||
setWindowTitle("RDLogManager - "+tr("Log Clocks"));
|
||||
edit_clockname=clockname;
|
||||
|
||||
//
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Log Clocks
|
||||
//
|
||||
// (C) Copyright 2002-2015 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
|
||||
@ -29,9 +29,6 @@
|
||||
#include <qpushbutton.h>
|
||||
#include <q3listview.h>
|
||||
#include <qcombobox.h>
|
||||
//Added by qt3to4:
|
||||
#include <QResizeEvent>
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rduser.h>
|
||||
#include <rdmatrix.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// List a Rivendell Log Event
|
||||
//
|
||||
// (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
|
||||
@ -25,11 +25,6 @@
|
||||
#include <q3textedit.h>
|
||||
#include <qpainter.h>
|
||||
#include <qmessagebox.h>
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
#include <QResizeEvent>
|
||||
#include <QPixmap>
|
||||
#include <QLabel>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
@ -44,10 +39,12 @@
|
||||
#include "rename_item.h"
|
||||
|
||||
ListEvents::ListEvents(QString *eventname,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
QStringList services_list;
|
||||
setCaption("RDLogManager - "+tr("Log Events"));
|
||||
setWindowTitle("RDLogManager - "+tr("Log Events"));
|
||||
edit_eventname=eventname;
|
||||
|
||||
//
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Log Events
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -29,9 +29,6 @@
|
||||
#include <qpushbutton.h>
|
||||
#include <q3listview.h>
|
||||
#include <qcombobox.h>
|
||||
//Added by qt3to4:
|
||||
#include <QResizeEvent>
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include <rduser.h>
|
||||
#include <rdmatrix.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Log Grids
|
||||
//
|
||||
// (C) Copyright 2002-2015 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
|
||||
@ -33,9 +33,11 @@
|
||||
#include "list_grids.h"
|
||||
|
||||
ListGrids::ListGrids(QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setCaption(tr("Log Grids"));
|
||||
setModal(true);
|
||||
|
||||
setWindowTitle("RDLogManager - "+tr("Log Grids"));
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Log Grids
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Services and Report Ages
|
||||
//
|
||||
// (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
|
||||
@ -20,8 +20,6 @@
|
||||
|
||||
#include <qmessagebox.h>
|
||||
#include <qdatetime.h>
|
||||
//Added by qt3to4:
|
||||
#include <QResizeEvent>
|
||||
|
||||
#include <rddb.h>
|
||||
#include <rdescape_string.h>
|
||||
@ -33,9 +31,11 @@
|
||||
#include "pick_report_dates.h"
|
||||
|
||||
ListSvcs::ListSvcs(QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setCaption(tr("Rivendell Services"));
|
||||
setModal(true);
|
||||
|
||||
setWindowTitle("RDLogManager - "+tr("Rivendell Services"));
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Services and Report Ages
|
||||
//
|
||||
// (C) Copyright 2002-2005,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
|
||||
@ -25,8 +25,6 @@
|
||||
#include <qsqldatabase.h>
|
||||
#include <q3listview.h>
|
||||
#include <qpushbutton.h>
|
||||
//Added by qt3to4:
|
||||
#include <QResizeEvent>
|
||||
|
||||
class ListSvcs : public QDialog
|
||||
{
|
||||
|
@ -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
|
||||
@ -34,14 +34,16 @@
|
||||
#include "pick_report_dates.h"
|
||||
|
||||
PickReportDates::PickReportDates(const QString &svcname,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
QDate yesterday_date=QDate::currentDate().addDays(-1);
|
||||
|
||||
edit_svcname=svcname;
|
||||
setCaption(tr("Select Report Dates"));
|
||||
setWindowTitle("RDLogManager - "+tr("Select Report Dates"));
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Select a Set of Dates for a Rivendell Report
|
||||
//
|
||||
// (C) Copyright 2002-2006,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
|
||||
@ -22,7 +22,6 @@
|
||||
#define PICK_REPORT_DATE_H
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qcombobox.h>
|
||||
#include <q3datetimeedit.h>
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// rdlogmanager.cpp
|
||||
//
|
||||
// The Log Editor Utility for Rivendell.
|
||||
// The Log Generator Utility for Rivendell.
|
||||
//
|
||||
// (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
|
||||
@ -38,10 +38,7 @@
|
||||
#include <q3listview.h>
|
||||
#include <qtextcodec.h>
|
||||
#include <qtranslator.h>
|
||||
//Added by qt3to4:
|
||||
#include <QPixmap>
|
||||
|
||||
#include <dbversion.h>
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
#include <rdcmd_switch.h>
|
||||
@ -72,24 +69,6 @@ QString *event_filter;
|
||||
QString *clock_filter;
|
||||
bool skip_db_check=false;
|
||||
|
||||
#ifndef WIN32
|
||||
void SigHandler(int signo)
|
||||
{
|
||||
pid_t pLocalPid;
|
||||
|
||||
switch(signo) {
|
||||
case SIGCHLD:
|
||||
pLocalPid=waitpid(-1,NULL,WNOHANG);
|
||||
while(pLocalPid>0) {
|
||||
pLocalPid=waitpid(-1,NULL,WNOHANG);
|
||||
}
|
||||
signal(SIGCHLD,SigHandler);
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif // WIN32
|
||||
|
||||
|
||||
MainWidget::MainWidget(QWidget *parent)
|
||||
:QWidget(parent)
|
||||
{
|
||||
@ -112,7 +91,7 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
setCaption(tr("RDLogManager"));
|
||||
setWindowTitle(tr("RDLogManager"));
|
||||
|
||||
//
|
||||
// CAE Connection
|
||||
@ -219,10 +198,6 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
log_close_button->setText(tr("&Close"));
|
||||
log_close_button->setDefault(true);
|
||||
connect(log_close_button,SIGNAL(clicked()),this,SLOT(quitMainWidget()));
|
||||
|
||||
#ifndef WIN32
|
||||
signal(SIGCHLD,SigHandler);
|
||||
#endif // WIN32
|
||||
}
|
||||
|
||||
|
||||
@ -240,8 +215,6 @@ QSizePolicy MainWidget::sizePolicy() const
|
||||
|
||||
void MainWidget::userData()
|
||||
{
|
||||
setCaption("RDLogManager");
|
||||
|
||||
//
|
||||
// Set Control Perms
|
||||
//
|
||||
|
@ -5,7 +5,7 @@
|
||||
<name>AddClock</name>
|
||||
<message>
|
||||
<source>Add Log Clock</source>
|
||||
<translation>Přidat nové hodiny zápisu</translation>
|
||||
<translation type="obsolete">Přidat nové hodiny zápisu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&New Clock Name:</source>
|
||||
@ -19,6 +19,10 @@
|
||||
<source>&Cancel</source>
|
||||
<translation>Z&rušit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add Clock</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddEvent</name>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<name>AddClock</name>
|
||||
<message>
|
||||
<source>Add Log Clock</source>
|
||||
<translation>Neue Loguhr hinzufügen</translation>
|
||||
<translation type="obsolete">Neue Loguhr hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&New Clock Name:</source>
|
||||
@ -19,6 +19,10 @@
|
||||
<source>&Cancel</source>
|
||||
<translation>Abbre&chen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add Clock</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddEvent</name>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<name>AddClock</name>
|
||||
<message>
|
||||
<source>Add Log Clock</source>
|
||||
<translation>Añadir Torta </translation>
|
||||
<translation type="obsolete">Añadir Torta </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&New Clock Name:</source>
|
||||
@ -19,6 +19,10 @@
|
||||
<source>&Cancel</source>
|
||||
<translation>&Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add Clock</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddEvent</name>
|
||||
|
@ -3,10 +3,6 @@
|
||||
<TS version="2.0">
|
||||
<context>
|
||||
<name>AddClock</name>
|
||||
<message>
|
||||
<source>Add Log Clock</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&New Clock Name:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -19,6 +15,10 @@
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add Clock</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddEvent</name>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<name>AddClock</name>
|
||||
<message>
|
||||
<source>Add Log Clock</source>
|
||||
<translation>Legg til loggklokke</translation>
|
||||
<translation type="obsolete">Legg til loggklokke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&New Clock Name:</source>
|
||||
@ -19,6 +19,10 @@
|
||||
<source>&Cancel</source>
|
||||
<translation>&Avbryt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add Clock</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddEvent</name>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<name>AddClock</name>
|
||||
<message>
|
||||
<source>Add Log Clock</source>
|
||||
<translation>Legg til loggklokke</translation>
|
||||
<translation type="obsolete">Legg til loggklokke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&New Clock Name:</source>
|
||||
@ -19,6 +19,10 @@
|
||||
<source>&Cancel</source>
|
||||
<translation>&Avbryt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add Clock</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddEvent</name>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<name>AddClock</name>
|
||||
<message>
|
||||
<source>Add Log Clock</source>
|
||||
<translation>Adicionar Relógio </translation>
|
||||
<translation type="obsolete">Adicionar Relógio </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&New Clock Name:</source>
|
||||
@ -19,6 +19,10 @@
|
||||
<source>&Cancel</source>
|
||||
<translation>&Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add Clock</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddEvent</name>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell LogManager Note
|
||||
//
|
||||
// (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
|
||||
@ -32,12 +32,14 @@
|
||||
#include "rename_item.h"
|
||||
|
||||
RenameItem::RenameItem(QString *text,QString table,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
edit_text=text;
|
||||
edit_tablename=table;
|
||||
|
||||
setCaption(tr("Rename"));
|
||||
setWindowTitle("RDLogManager - "+tr("Rename"));
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Rename an RDLogManager Event or Clock
|
||||
//
|
||||
// (C) Copyright 2002-2005,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
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Calendar widget.
|
||||
//
|
||||
// (C) Copyright 2002-2003,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
|
||||
@ -21,9 +21,8 @@
|
||||
#include <qwidget.h>
|
||||
#include <qstring.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpalette.h>
|
||||
//Added by qt3to4:
|
||||
#include <QMouseEvent>
|
||||
#include <qpalette.h>
|
||||
|
||||
#include <rddb.h>
|
||||
#include <rdescape_string.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Calendar Widget.
|
||||
//
|
||||
// (C) Copyright 2002-2004,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
|
||||
@ -31,8 +31,6 @@
|
||||
#include <qlabel.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qspinbox.h>
|
||||
//Added by qt3to4:
|
||||
#include <QMouseEvent>
|
||||
|
||||
//
|
||||
// Display Settings
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Services/Reports Management Dialog.
|
||||
//
|
||||
// (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
|
||||
@ -42,15 +42,16 @@
|
||||
// Global Classes
|
||||
//
|
||||
SvcRecDialog::SvcRecDialog(const QString &svcname,QWidget *parent)
|
||||
:QDialog(parent,"",true)
|
||||
:QDialog(parent)
|
||||
{
|
||||
setModal(true);
|
||||
|
||||
QFont font;
|
||||
|
||||
font=QFont("Helvetica",12,QFont::Bold);
|
||||
font.setPixelSize(12);
|
||||
|
||||
setCaption(QString().sprintf("%s %s",(const char *)svcname,
|
||||
(const char *)tr("Report Data")));
|
||||
setWindowTitle("RDLogManager - "+svcname+" "+tr("Report Data"));
|
||||
|
||||
//
|
||||
// Datepicker
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Services/Reports Management Dialog.
|
||||
//
|
||||
// (C) Copyright 2002-2005,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user