[vlmc-devel] [PATCH 00/12] CUI build

Yikai Lu luyikei.qmltu at gmail.com
Sun May 22 08:36:44 CEST 2016


This patchset makes able to build VLMC without gui and widgets modules!

Firstly, the "Remember aspectRatio" patch exists apart from the "nbChannels and sampleRate" patch because it is needed initially.

Yikai Lu (12):
  Main: Mark WITH_GUI on Widget-related code, and use QCoreApplication
    if non-GUI
  ConsoleRenderer: Remember aspectRatio
  ConsoleRenderer: Use WorkflowRenderer and mainWorkflow correctly
  ConsoleRenderer: Use vlmcDebug
  WorkflowRenderer: Don't include RenderWidget.h
  AbstractRenderer: WorkflowRenderer: Don't include RenderWidget.h
  Commands::Generic Implement setText() correctly
  Commands::trigger Always take "Generic*"
  Add AbstractUndoStack
  Use AbstractUndoStack instead of QUndoStack
  ConsoleRenderer: Don't remember rendering parameters.
  WorkflowRenderer: Pass nbChannels and sampleRate to
    startRenderToFile()

 src/CMakeLists.txt                  |  4 +-
 src/Commands/AbstractUndoStack.cpp  | 79 +++++++++++++++++++++++++++++++++++++
 src/Commands/AbstractUndoStack.h    | 68 +++++++++++++++++++++++++++++++
 src/Commands/Commands.cpp           | 17 +++++++-
 src/Commands/Commands.h             | 12 +++---
 src/Gui/MainWindow.cpp              | 12 ++++--
 src/Gui/MainWindow.h                |  5 ++-
 src/Gui/export/RendererSettings.cpp | 14 +++++++
 src/Gui/export/RendererSettings.h   |  2 +
 src/Gui/export/RendererSettings.ui  | 43 +++++++++++++++++---
 src/Gui/timeline/TracksScene.cpp    |  1 +
 src/Gui/timeline/TracksView.cpp     |  1 +
 src/Main/Core.cpp                   | 12 +++---
 src/Main/Core.h                     | 11 ++++--
 src/Main/main.cpp                   |  6 ++-
 src/Renderer/AbstractRenderer.cpp   |  1 -
 src/Renderer/ConsoleRenderer.cpp    | 34 +++++++++-------
 src/Renderer/ConsoleRenderer.h      |  5 ---
 src/Renderer/WorkflowRenderer.cpp   |  6 ++-
 src/Renderer/WorkflowRenderer.h     |  3 +-
 20 files changed, 280 insertions(+), 56 deletions(-)
 create mode 100644 src/Commands/AbstractUndoStack.cpp
 create mode 100644 src/Commands/AbstractUndoStack.h

-- 
1.9.1



More information about the Vlmc-devel mailing list