mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01: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:
@@ -19,6 +19,13 @@
|
||||
//
|
||||
|
||||
#include <qpainter.h>
|
||||
//Added by qt3to4:
|
||||
#include <QDropEvent>
|
||||
#include <QPaintEvent>
|
||||
#include <QPixmap>
|
||||
#include <QLabel>
|
||||
#include <QMouseEvent>
|
||||
#include <QDragEnterEvent>
|
||||
|
||||
#include "rdconf.h"
|
||||
#include "rdplay_deck.h"
|
||||
@@ -98,9 +105,9 @@ RDSlotBox::RDSlotBox(RDPlayDeck *deck,RDAirPlayConf *conf,QWidget *parent)
|
||||
|
||||
line_text_palette=palette();
|
||||
line_text_palette.setColor(QPalette::Active,QColorGroup::Foreground,
|
||||
QColor(black));
|
||||
QColor(Qt::black));
|
||||
line_text_palette.setColor(QPalette::Inactive,QColorGroup::Foreground,
|
||||
QColor(black));
|
||||
QColor(Qt::black));
|
||||
|
||||
//
|
||||
// Audio Meter
|
||||
@@ -130,7 +137,7 @@ RDSlotBox::RDSlotBox(RDPlayDeck *deck,RDAirPlayConf *conf,QWidget *parent)
|
||||
//
|
||||
// Position Slider
|
||||
//
|
||||
line_position_bar=new QProgressBar(this);
|
||||
line_position_bar=new Q3ProgressBar(this);
|
||||
line_position_bar->setGeometry(115,69,sizeHint().width()-190,13);
|
||||
line_position_bar->setPercentageVisible(false);
|
||||
line_position_bar->hide();
|
||||
@@ -579,7 +586,7 @@ void RDSlotBox::SetColor(QColor color)
|
||||
line_talktime_label->setPalette(line_text_palette);
|
||||
line_up_label->setBackgroundColor(color);
|
||||
line_up_label->setPalette(line_text_palette);
|
||||
line_position_bar->setBackgroundColor(QColor(lightGray));
|
||||
line_position_bar->setBackgroundColor(QColor(Qt::lightGray));
|
||||
line_down_label->setBackgroundColor(color);
|
||||
line_down_label->setPalette(line_text_palette);
|
||||
line_icon_label->setBackgroundColor(color);
|
||||
|
||||
Reference in New Issue
Block a user