资源简介

使用Qt QGraphicView,QGraphicsScene实现的一个时间轴工具,可以用于非线性编辑工具开发中,可参考adobe 的premier 和 final cut等,有些功能尚未全部实现,可以供感兴趣的进行参考,介绍请看 https://blog.csdn.net/ct6816678/article/details/96033765

资源截图

代码片段和文件信息

#include “mainwindow.h“
#include 
#include 
int main(int argc char *argv[])
{
    QApplication a(argc argv);
    MainWindow w;
    w.show();
    QFile style_file(“:/stylesheet.qss“);
    bool success = style_file.open(QFile::ReadOnly | QIODevice::Text);
    if(success) {
        a.setstyleSheet(QString::fromUtf8(style_file.readAll()));
        style_file.close();
    }
    else {
        qWarning() << “Couldn‘t load stylesheet: “ << style_file.fileName();
    }
    return a.exec();
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-15 22:59  WidgetComposition\
     文件        8196  2019-07-15 22:59  WidgetComposition\.DS_Store
     目录           0  2019-07-15 23:00  __MACOSX\
     目录           0  2019-07-15 23:00  __MACOSX\WidgetComposition\
     文件         120  2019-07-15 22:59  __MACOSX\WidgetComposition\._.DS_Store
     目录           0  2018-12-24 21:07  WidgetComposition\widget\
     文件        3140  2018-12-13 19:16  WidgetComposition\widget\widgetcomposition.h
     文件       17711  2018-12-24 21:07  WidgetComposition\widget\widgetcomposition.cpp
     文件        8376  2018-12-02 19:45  WidgetComposition\widget\widgettrackdetails.cpp
     文件        2961  2018-12-02 19:45  WidgetComposition\widget\widgettrackdetails.h
     文件         401  2018-12-04 20:14  WidgetComposition\mainwindow.h
     目录           0  2018-12-02 19:45  WidgetComposition\resources\
     文件         194  2018-12-02 19:45  WidgetComposition\resources\down_arrow.png
     文件         179  2018-12-02 19:45  WidgetComposition\resources\stop.png
     文件         193  2018-12-02 19:45  WidgetComposition\resources\scroll_right_hover.png
     文件         826  2018-12-02 19:45  WidgetComposition\resources\sound_bw.png
     文件         171  2018-12-02 19:45  WidgetComposition\resources\up_arrow_disabled.png
     文件        7135  2018-12-02 19:45  WidgetComposition\resources\frame_error.png
     文件         175  2018-12-02 19:45  WidgetComposition\resources\scroll_left.png
     文件         173  2018-12-02 19:45  WidgetComposition\resources\branch_open_disabled.png
     文件         186  2018-12-02 19:45  WidgetComposition\resources\branch_open.png
     文件        1118  2018-12-02 19:45  WidgetComposition\resources\sound.png
     文件         508  2018-12-02 19:45  WidgetComposition\resources\cursor_crop_left.png
     文件         188  2018-12-02 19:45  WidgetComposition\resources\scroll_left_disabled.png
     文件         179  2018-12-02 19:45  WidgetComposition\resources\scroll_right.png
     文件        1560  2018-12-02 19:45  WidgetComposition\resources\film.png
     文件         190  2018-12-02 19:45  WidgetComposition\resources\scroll_down.png
     文件        5381  2018-12-02 19:45  WidgetComposition\resources\frame_blank.png
     文件         191  2018-12-02 19:45  WidgetComposition\resources\scroll_right_disabled.png
     文件         214  2018-12-02 19:45  WidgetComposition\resources\pause.png
     文件         171  2018-12-02 19:45  WidgetComposition\resources\up_arrow_hover.png
............此处省略148个文件信息

评论

共有 条评论