Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,42 @@
|
||||
#include "tln_timeline_progress.h"
|
||||
#include "ui_tln_timeline_progress.h"
|
||||
#include "tln_item_list_model.h"
|
||||
#include "tln_item_info_dialog.h"
|
||||
#include "logger.h"
|
||||
|
||||
#include <Viewer/LtsDataView/lts_data_view.h>
|
||||
#include <LtsPrinting/printing.h>
|
||||
|
||||
#include <QHeaderView>
|
||||
#include <QTreeView>
|
||||
#include <QPalette>
|
||||
#include <QSpacerItem>
|
||||
|
||||
namespace Timeline
|
||||
{
|
||||
|
||||
TimelineProgress::TimelineProgress( QWidget *parent )
|
||||
: QWidget(parent)
|
||||
, m_ui(new Ui::TimelineProgress)
|
||||
, m_logger(getLogger("TimelineProgress"))
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
||||
setAttribute(Qt::WA_StyledBackground);
|
||||
setAttribute(Qt::WA_TransparentForMouseEvents);
|
||||
setAutoFillBackground(true);
|
||||
setStyleSheet(QStringLiteral("background-color: rgba(0,0,0,80)"));
|
||||
m_ui->spacer1->changeSize(0, parent->height() / 2);
|
||||
}
|
||||
|
||||
TimelineProgress::~TimelineProgress()
|
||||
{
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
void TimelineProgress::setHeightOfProgressIndicator(int height)
|
||||
{
|
||||
m_ui->spacer1->changeSize(0, height);
|
||||
}
|
||||
|
||||
} // namespace Timeline
|
||||
Reference in new issue
Block a user