File indexing completed on 2024-12-22 04:40:07
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 SMARTTEXTSADJUSTDIALOG_H 0009 #define SMARTTEXTSADJUSTDIALOG_H 0010 0011 #include "actionwithtargetdialog.h" 0012 0013 QT_FORWARD_DECLARE_CLASS(QSpinBox) 0014 0015 namespace SubtitleComposer { 0016 class SmartTextsAdjustDialog : public ActionWithTargetDialog 0017 { 0018 public: 0019 explicit SmartTextsAdjustDialog(unsigned minLengthForLineBreak, QWidget *parent = 0); 0020 0021 unsigned minLengthForLineBreak() const; 0022 0023 private: 0024 QSpinBox *m_minLengthForLineBreakSpinBox; 0025 }; 0026 } 0027 #endif