File indexing completed on 2024-06-09 04:52:51

0001 /*
0002     SPDX-FileCopyrightText: 2007-2009 Sergio Pistone <sergio_pistone@yahoo.com.ar>
0003     SPDX-FileCopyrightText: 2010-2022 Mladen Milinkovic <max@smoothware.net>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef PLAYERCONFIGWIDGET_H
0009 #define PLAYERCONFIGWIDGET_H
0010 
0011 #include "ui_playerconfigwidget.h"
0012 
0013 namespace SubtitleComposer {
0014 class PlayerConfigWidget : public QWidget, private Ui::PlayerConfigWidget
0015 {
0016     Q_OBJECT
0017 
0018     friend class ConfigDialog;
0019 
0020 public:
0021     explicit PlayerConfigWidget(QWidget *parent=nullptr);
0022     virtual ~PlayerConfigWidget();
0023 
0024 private slots:
0025     void onFamilyChanged(const QString &family);
0026     void onSizeChanged(int size);
0027     void onPrimaryColorChanged(const QColor &color);
0028     void onOutlineColorChanged(const QColor &color);
0029     void onOutlineWidthChanged(int width);
0030 };
0031 }
0032 
0033 #endif