mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-13 16:19:36 +02:00
2020-02-26 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Q3ProgressBar' dependency from rdairplay(1).
This commit is contained in:
parent
847afb55f4
commit
ce15a6e3c7
@ -19715,3 +19715,5 @@
|
|||||||
2020-02-25 Fred Gleason <fredg@paravelsystems.com>
|
2020-02-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed the layout of the 'Matching Carts' field in rdlibrary(1)'s
|
* Fixed the layout of the 'Matching Carts' field in rdlibrary(1)'s
|
||||||
main window when Realtime Filtering is disabled.
|
main window when Realtime Filtering is disabled.
|
||||||
|
2020-02-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Removed the 'Q3ProgressBar' dependency from rdairplay(1).
|
||||||
|
@ -139,9 +139,9 @@ LogLineBox::LogLineBox(RDAirPlayConf *conf,QWidget *parent)
|
|||||||
//
|
//
|
||||||
// Position Slider
|
// Position Slider
|
||||||
//
|
//
|
||||||
line_position_bar=new Q3ProgressBar(this);
|
line_position_bar=new QProgressBar(this);
|
||||||
line_position_bar->setGeometry(75,66,sizeHint().width()-150,13);
|
line_position_bar->setGeometry(75,66,sizeHint().width()-150,13);
|
||||||
line_position_bar->setPercentageVisible(false);
|
line_position_bar->setTextVisible(false);
|
||||||
line_position_bar->hide();
|
line_position_bar->hide();
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -539,8 +539,8 @@ void LogLineBox::setEvent(int line,RDLogLine::TransType next_type,
|
|||||||
line_down_label->
|
line_down_label->
|
||||||
setText(RDGetTimeLength(line_logline->effectiveLength()-
|
setText(RDGetTimeLength(line_logline->effectiveLength()-
|
||||||
line_logline->playPosition(),true,true));
|
line_logline->playPosition(),true,true));
|
||||||
line_position_bar->setTotalSteps(line_logline->effectiveLength());
|
line_position_bar->setMaximum(line_logline->effectiveLength());
|
||||||
line_position_bar->setProgress(line_logline->playPosition());
|
line_position_bar->setValue(line_logline->playPosition());
|
||||||
if(logline->cutNumber()>=0) {
|
if(logline->cutNumber()>=0) {
|
||||||
line_cut_label->
|
line_cut_label->
|
||||||
setText(QString().sprintf("%03u",logline->cutNumber()));
|
setText(QString().sprintf("%03u",logline->cutNumber()));
|
||||||
@ -687,7 +687,7 @@ void LogLineBox::setTimer(int msecs)
|
|||||||
line_up_label->setText(RDGetTimeLength(msecs,true,true));
|
line_up_label->setText(RDGetTimeLength(msecs,true,true));
|
||||||
line_down_label->
|
line_down_label->
|
||||||
setText(RDGetTimeLength(line_logline->effectiveLength()-msecs,true,true));
|
setText(RDGetTimeLength(line_logline->effectiveLength()-msecs,true,true));
|
||||||
line_position_bar->setProgress(msecs);
|
line_position_bar->setValue(msecs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,10 +21,9 @@
|
|||||||
#ifndef LOGLINEBOX_H
|
#ifndef LOGLINEBOX_H
|
||||||
#define LOGLINEBOX_H
|
#define LOGLINEBOX_H
|
||||||
|
|
||||||
#include <q3progressbar.h>
|
|
||||||
|
|
||||||
#include <qlabel.h>
|
#include <qlabel.h>
|
||||||
#include <qpixmap.h>
|
#include <qpixmap.h>
|
||||||
|
#include <qprogressbar.h>
|
||||||
|
|
||||||
#include <rdairplay_conf.h>
|
#include <rdairplay_conf.h>
|
||||||
#include <rdcartdrag.h>
|
#include <rdcartdrag.h>
|
||||||
@ -97,7 +96,7 @@ class LogLineBox : public RDWidget
|
|||||||
QLabel *line_up_label;
|
QLabel *line_up_label;
|
||||||
QLabel *line_down_label;
|
QLabel *line_down_label;
|
||||||
QLabel *line_comment_label;
|
QLabel *line_comment_label;
|
||||||
Q3ProgressBar *line_position_bar;
|
QProgressBar *line_position_bar;
|
||||||
QTimer *line_countdown_timer;
|
QTimer *line_countdown_timer;
|
||||||
QTime line_end_time;
|
QTime line_end_time;
|
||||||
int log_id;
|
int log_id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user