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 @@
|
||||
//
|
||||
// List Rivendell Matrices
|
||||
//
|
||||
// (C) Copyright 2002-2003 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// $Id: list_matrices.cpp,v 1.28.6.2 2012/12/10 15:40:15 cvs Exp $
|
||||
// (C) Copyright 2002-2003,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
|
||||
@@ -38,8 +36,8 @@
|
||||
#include <edit_matrix.h>
|
||||
#include <add_matrix.h>
|
||||
|
||||
ListMatrices::ListMatrices(QString station,QWidget *parent,const char *name)
|
||||
: QDialog(parent,name,true)
|
||||
ListMatrices::ListMatrices(QString station,QWidget *parent)
|
||||
: QDialog(parent,"",true)
|
||||
{
|
||||
//
|
||||
// Fix the Window Size
|
||||
@@ -72,7 +70,7 @@ ListMatrices::ListMatrices(QString station,QWidget *parent,const char *name)
|
||||
//
|
||||
list_view=new QListView(this,"list_box");
|
||||
list_view->setGeometry(10,24,sizeHint().width()-20,sizeHint().height()-94);
|
||||
QLabel *label=new QLabel(list_view,tr("Switchers:"),this,"list_view_label");
|
||||
QLabel *label=new QLabel(list_view,tr("Switchers:"),this);
|
||||
label->setFont(font);
|
||||
label->setGeometry(14,5,85,19);
|
||||
list_view->setAllColumnsShowFocus(true);
|
||||
@@ -91,7 +89,7 @@ ListMatrices::ListMatrices(QString station,QWidget *parent,const char *name)
|
||||
//
|
||||
// Add Button
|
||||
//
|
||||
QPushButton *add_button=new QPushButton(this,"add_button");
|
||||
QPushButton *add_button=new QPushButton(this);
|
||||
add_button->setGeometry(10,sizeHint().height()-60,80,50);
|
||||
add_button->setFont(font);
|
||||
add_button->setText(tr("&Add"));
|
||||
@@ -100,7 +98,7 @@ ListMatrices::ListMatrices(QString station,QWidget *parent,const char *name)
|
||||
//
|
||||
// Edit Button
|
||||
//
|
||||
QPushButton *edit_button=new QPushButton(this,"edit_button");
|
||||
QPushButton *edit_button=new QPushButton(this);
|
||||
edit_button->setGeometry(100,sizeHint().height()-60,80,50);
|
||||
edit_button->setFont(font);
|
||||
edit_button->setText(tr("&Edit"));
|
||||
@@ -109,7 +107,7 @@ ListMatrices::ListMatrices(QString station,QWidget *parent,const char *name)
|
||||
//
|
||||
// Delete Button
|
||||
//
|
||||
QPushButton *delete_button=new QPushButton(this,"delete_button");
|
||||
QPushButton *delete_button=new QPushButton(this);
|
||||
delete_button->setGeometry(190,sizeHint().height()-60,80,50);
|
||||
delete_button->setFont(font);
|
||||
delete_button->setText(tr("&Delete"));
|
||||
@@ -118,7 +116,7 @@ ListMatrices::ListMatrices(QString station,QWidget *parent,const char *name)
|
||||
//
|
||||
// Close Button
|
||||
//
|
||||
QPushButton *close_button=new QPushButton(this,"close_button");
|
||||
QPushButton *close_button=new QPushButton(this);
|
||||
close_button->setGeometry(sizeHint().width()-90,sizeHint().height()-60,
|
||||
80,50);
|
||||
close_button->setDefault(true);
|
||||
|
||||
Reference in New Issue
Block a user