Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • a4bd9bcdd1caf7f8eff213dcbf535bad84c02171
  • master par défaut
  • script
  • new-devel
  • devel
  • timingView-edit
  • fix-mpv
7 résultats

Line.hh

Blame
    • Kubat's avatar
      a4bd9bcd
      BUILD: New folder hierarchy · a4bd9bcd
      Kubat a rédigé
      Two main folders: Lib and UI. The Lib is specialized in Document and
      Ass, the UI is specialized for private DocumentViews (private document
      views) and others (future ScriptViews, etc)
      BUILD: New folder hierarchy
      Kubat a rédigé
      Two main folders: Lib and UI. The Lib is specialized in Document and
      Ass, the UI is specialized for private DocumentViews (private document
      views) and others (future ScriptViews, etc)
    Line.hh 611 o
    #ifndef VIVY_ASS_LINE_H
    #define VIVY_ASS_LINE_H
    
    #include <QString>
    #include <QtGlobal>
    #include "Syl.hh"
    #include "StyleProperties.hh"
    
    namespace Vivy::Ass
    {
    class Line {
    private:
        quint64 start{ 0 };
        quint64 end{ 0 };
    
        QVector<Syl> content{};
        StyleProperties styleProperties;
    
    public:
        explicit Line()             = default;
        explicit Line(const Line &) = default;
        explicit Line(const QString &);
        Line &operator=(const Line &) = delete;
    
        ~Line() noexcept = default;
    
        void setStart(quint64 s) noexcept;
        void setEnd(quint64 s) noexcept;
    };
    
    }
    
    #endif // VIVY_ASS_LINE_H