mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-04-24 23:13:37 +02:00
2016-05-24 Fred Gleason <fredg@paravelsystems.com>
* Removed all CVS tags. * Removed 'const char *name' parameter from all QObject contructors.
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell LogManager Track
|
||||
//
|
||||
// (C) Copyright 2002-2004 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// $Id: edit_track.cpp,v 1.6.8.1 2012/04/23 17:22:47 cvs Exp $
|
||||
// (C) Copyright 2002-2004,2016 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,8 +31,8 @@
|
||||
|
||||
#include <edit_track.h>
|
||||
|
||||
EditTrack::EditTrack(QString *text,QWidget *parent,const char *name)
|
||||
: QDialog(parent,name,true)
|
||||
EditTrack::EditTrack(QString *text,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
{
|
||||
setCaption(tr("Edit Voice Track Marker"));
|
||||
edit_text=text;
|
||||
@@ -58,7 +56,7 @@ EditTrack::EditTrack(QString *text,QWidget *parent,const char *name)
|
||||
//
|
||||
// The Text Editor
|
||||
//
|
||||
edit_text_edit=new QTextEdit(this,"edit_text_edit");
|
||||
edit_text_edit=new QTextEdit(this);
|
||||
edit_text_edit->setGeometry(10,10,
|
||||
sizeHint().width()-20,sizeHint().height()-80);
|
||||
edit_text_edit->setText(*edit_text);
|
||||
@@ -66,7 +64,7 @@ EditTrack::EditTrack(QString *text,QWidget *parent,const char *name)
|
||||
//
|
||||
// OK Button
|
||||
//
|
||||
QPushButton *button=new QPushButton(this,"ok_button");
|
||||
QPushButton *button=new QPushButton(this);
|
||||
button->setGeometry(sizeHint().width()-180,sizeHint().height()-60,80,50);
|
||||
button->setDefault(true);
|
||||
button->setFont(bold_font);
|
||||
@@ -76,7 +74,7 @@ EditTrack::EditTrack(QString *text,QWidget *parent,const char *name)
|
||||
//
|
||||
// Cancel Button
|
||||
//
|
||||
button=new QPushButton(this,"cancel_button");
|
||||
button=new QPushButton(this);
|
||||
button->setGeometry(sizeHint().width()-90,sizeHint().height()-60,80,50);
|
||||
button->setFont(bold_font);
|
||||
button->setText(tr("&Cancel"));
|
||||
|
||||
Reference in New Issue
Block a user