mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Load markdown file directly instead of convert them to html first
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file alias="changelog">informations/CHANGELOG.html</file>
|
||||
<file alias="changelog">informations/CHANGELOG.md</file>
|
||||
<file alias="license">informations/LICENSE</file>
|
||||
<file alias="license-short">informations/LICENSE_SHORT.txt</file>
|
||||
<file alias="projection-mapping">informations/MAPPING</file>
|
||||
<file alias="contributors">informations/CONTRIBUTORS.html</file>
|
||||
<file alias="osc_html">informations/osc.html</file>
|
||||
<file alias="contributors">informations/CONTRIBUTORS.md</file>
|
||||
<file alias="osc-documentation">informations/osc.md</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -0,0 +1,312 @@
|
||||
# Release notes for MapMap
|
||||
|
||||
|
||||
|
||||
## 2018-??-?? - MapMap 0.6.3
|
||||
|
||||
TODO
|
||||
|
||||
|
||||
|
||||
## 2018-07-24 - MapMap 0.6.2
|
||||
|
||||
- Remove an assert that might crash MapMap
|
||||
- Fix parsing of MapMap version in the project file (critical bug fixed)
|
||||
- Add qt5opengl in deps in INSTALL.md
|
||||
- Also create a zip archive in scripts/build.sh
|
||||
|
||||
|
||||
|
||||
## 2018-04-09 - MapMap 0.6.1
|
||||
|
||||
- Add .url link file to GStreamer on macOS and packaged it in the DMG.
|
||||
- Fix: crash because undoStack was uninitialized (closes #413).
|
||||
- Windows environnement variable fix
|
||||
|
||||
|
||||
|
||||
## 2018-04-08 - MapMap 0.6.0
|
||||
|
||||
- Add macOS Application Icon
|
||||
- Fix video rate bug (Closes #369)
|
||||
- Change the default test card
|
||||
- Add preference to show controls only on mouse over
|
||||
- Add simplified and traditional chinese translations
|
||||
- Add Spanish translation
|
||||
- Rename "Mesh subdivisions" to "Subdivisions"
|
||||
- Rename width/height to horizontal/vertical for mesh subdivision naming
|
||||
- Rename GUI elements: paint, mapping, source, destination, dimension #376
|
||||
- Fix: Cursor no longer displays in fullscreen without controls (closes #387)
|
||||
- Allow to change source of the current layer in context menu. Request #377
|
||||
- Implement scale/rotate icons and minor fix
|
||||
- Replace CTRL-click for free-hand transforms with re-click
|
||||
- Prevent adding camera action in OSX and WINDOWS where it is not created (closes #366).
|
||||
- Fixed linker problem on Ubuntu 17.10 (closes #382)
|
||||
- Transition to the Mardown syntax for the README file
|
||||
- Prevent changing paint for mapping if not compatible.
|
||||
- Allow the change of paint id on mapping using OSC (closes #302).
|
||||
- Added paintId as property + preserved backwards compatibility for files.
|
||||
- Allows possibility of changing paint of a mapping from the interface (related to #302).
|
||||
- Remove infinite recursion in VideoImpl (closes #351).
|
||||
- Add item ID as part of properties.
|
||||
- Simplified property browser interface by removing useless top-item property.
|
||||
- Added tooltips specifying the ID of each element.
|
||||
- Bugfix: let mappings names adjust size (closes #365).
|
||||
- Fix problem with OSC messages (unset names in mappings were left empty).
|
||||
- Integrate transform function
|
||||
- Improve some icons, zoom, solo mode, prefs, test signal
|
||||
- Fix the play/pause button when adding media or color paints
|
||||
- Enabled paint context menu
|
||||
- Implemented basic rotation/scaling of polygons.
|
||||
- Fix error in the Mesh::toPolygon() (wrong number of vertices).
|
||||
- Fit all shapes to view canvas instead current shape
|
||||
- Add a .travis.yml file for automated builds on travis-ci.org
|
||||
- Reduce the size of the zoom tool bars
|
||||
- Add drag and drop feature for media file and project
|
||||
- Reorganize source code files
|
||||
- Mouse wheel: press control to zoom.
|
||||
- Always show scroll bars in mapping canvas
|
||||
- Boundary checks - fix #319 crash when receiving osc messages
|
||||
- Fix crash when DEL is pressed while no mappings to delete - fixes #315
|
||||
- Proper management of mappings related to a paint in undo/redo (relates to #315).
|
||||
- Only show camera input button on GNU/Linux, since it doesn't work on the other platforms
|
||||
|
||||
|
||||
|
||||
## 2017-01-01 - MapMap 0.5.0
|
||||
|
||||
- Fix bug: it was impossible to get out of test signal mode by pressing ESC.
|
||||
- Reorganize _updateToPreferredScreen().
|
||||
- Rewrite constraining of screen no in setPreferredScreen(int).
|
||||
- Bug fix: force fullscreen on output window if test signal is activated (closes #304).
|
||||
- Added a _setFullScreen() method + renamed _is_fullscreen to _isFullScreen (camelCase).
|
||||
- Put some order in the view menu.
|
||||
- Remove toolbars sub-menu.
|
||||
- Fix all french language files for 0.5 (closes #219).
|
||||
- Thread-safe access OSC server to prevent crashes (not fully tested) (closes #307).
|
||||
- Prevent property browsers from disappearing by making splitters' children non-collapsible.
|
||||
- Fix #305 merge menus
|
||||
- Fix #274: Document OSC within the software
|
||||
- Comment-out unused elements in preferences.
|
||||
- Remove playback menu and reorganize items in View menu.
|
||||
- Fix #310: Document how to generate doc with markdown + delete CHANGELOG.md that was a duplicate
|
||||
- Minor reorganization of sub-menu declarations.
|
||||
- Rename outputsMenu for outputScreenMenu (more appropriate).
|
||||
- Fix bug: outputs menu was empty when only one screen.
|
||||
- Integrate outputs menu into view menu.
|
||||
- Fix #303: Update list of contributors by hand
|
||||
- Fix icons for test signal.
|
||||
- Change vertices background to make them visible on white layers
|
||||
- Stylesheet improvements
|
||||
- Changed play/pause key sequence from spacebar to CTRL-SHIFT-P (closes #292)
|
||||
- update translation files (closes #278).
|
||||
- Fix potential bug: translators were declared out of scope.
|
||||
- Fix bug: duplicating a mesh resulted in crash (closes #298).
|
||||
- Implement support for animated GIFs (closes #291, closes #189).
|
||||
- Update install instructions on ArchLinux (closes #269) and Ubuntu
|
||||
- Add support for webm file type.
|
||||
- Increase pull-away parameter cause it was still possible to bring vertex outside of opposite corners in quads.
|
||||
- Update INSTALL information to allow detection of cameras on Ubuntu
|
||||
- Fix bug: it was possible to cross through an opposing vertex in a quad. - Used constants instead of magic numbers to control the vertex constraining procedure.
|
||||
- Fix bug: moving quad vertices around glued vertices in impractical ways to the edges.
|
||||
- Fix bug: duplicating a color mapping resulted in segfault.
|
||||
- Bug fix: audio was not stopping when opening dialog (eg. save as, open, import media, etc.)
|
||||
- Fixed bug: in some cases the video was blank because of bad audio connection.
|
||||
- Fix problems with video files without audio codec not working properly (closes #280) - Cleanup and refactoring
|
||||
- Test cards pattern improvements
|
||||
- Change crosshair style for more visibility on light mapping
|
||||
- Add toolbar title for source and destination canvas
|
||||
- Change "perspective" word to "layout" and their shortcut to avoid conflicts with some OS
|
||||
- Cosmetic changes
|
||||
- Trying to fix translation but still not working
|
||||
- Fixed style problem: on Ubuntu, text was white-on-white in property browser
|
||||
- Fixed typo in translations
|
||||
- Added mention of 15.04 in INSTALL
|
||||
- Comment checkbox and radio (for later still not working)
|
||||
- Look n feel improvements
|
||||
- Add librairies to about dialog
|
||||
- About Dialog Improvements
|
||||
- Add about projection mapping resource
|
||||
- Make release notes accesible for users
|
||||
- Make a script to generate contributors from the git logs
|
||||
- Add Gui class forwarding file
|
||||
- Change mapmap resource file name and add new documentation resource file
|
||||
- Remove old useless code from ancient OSC-support system.
|
||||
- Fix bug: Hiding a solo-ed mapping was stopping playback.
|
||||
- Reintegrate audio support (works on Linux).
|
||||
- Fix bug: New paints were automatically started (play()) when added, thus invalidating the feature that non-visible paints do not play.
|
||||
- Add "Send feedback" to help menu
|
||||
- Update "Undo stack" to "Undo history"
|
||||
- Improve vertices movement shortcuts
|
||||
- Always align mapping layers buttons on the right side
|
||||
- Cosmetic changes in duplicate mapping function
|
||||
- Bug Fix: Clicking the zoom toolbars button of the output panel while there is no mesh present will crash the software.
|
||||
- Bug Fix: Crash when try to duplicate color mapping
|
||||
- Fix some bugs about Windows release
|
||||
- Improve preferences dialog
|
||||
- Changes for Windows packaging
|
||||
- Implement camera on user interface
|
||||
- Bug fix: when loading project solo/visible/locked were not activated in the mapping list widgets.
|
||||
- Bug fix: when moving layers around video would pause.
|
||||
- Cleanup in code related to display of paint icons in list widgets.
|
||||
- Adjustments in paint icons (make sure they are always square with the right dimensions).
|
||||
- Fixed bug: main pause button was not working anymore.
|
||||
- New feature: Paints that are currently not visible are shown in interface with a red bar on them.
|
||||
- Small fix: Switch between vertex with Shift+Space keys
|
||||
- Fix bug: OSC messages that change solo, visible, locked status of mappings were not changed in the GUI.
|
||||
- Small fix: path is valid for regexp if at least one element was valid
|
||||
- Allow OSC message addressing of paints and mappings by names through regular expressions.
|
||||
- encode4mmp: more doc + fix shebang syntax
|
||||
- Add support for OSC message: rewind individual paint.
|
||||
- Fix problem with OSC port being overriden by default settings even after changing it in preferences.
|
||||
- Integrate true FPS in the status bar.
|
||||
- Fix bug: vertices were not sticking correctly on source.
|
||||
- Cleanup in main.cpp options.
|
||||
- Some cleanup related to OSC.
|
||||
- Frame rate is now an option that can be specified on the commandline.
|
||||
- Pause paints that are not visible anyway.
|
||||
- Create meshes instead of quads for color mappings (closes #150).
|
||||
- Write log to file
|
||||
- Fixed bug introduced by paint control option (segfaulted with color paints).
|
||||
- Increased the sticky radius a bit.
|
||||
- Fixed bug introduced by paint control option (segfaulted with color paints).
|
||||
- Refactor videoimpl
|
||||
- Enable display of controls of mappings related to current paint (closes #142).
|
||||
- Improved look of locked color.
|
||||
- Added script to automatically convert videos to PhotoJPEG (a good format for MapMap).
|
||||
- Disable right click on context menu actions
|
||||
- more decklink prototypes
|
||||
- Don't need screen actions on single screen mode
|
||||
- Merge MapperGLCanvas.cpp
|
||||
- Allow to finely choose on which display to output
|
||||
- improving the menu and adding some useful link
|
||||
- Make the duplication of mapping undoable and redoable.
|
||||
|
||||
|
||||
|
||||
## 2016-04-19 - MapMap 0.4.0
|
||||
|
||||
- Add zoom toolbar
|
||||
- Add console window
|
||||
- Fix #179: Paints and mappings renamings are now saved in file
|
||||
- Fix #162: Zooming in the destination canvas changes the size of controls in output window.
|
||||
- Fix #154: Problem with some video files: shape is size of single point
|
||||
- Can rename paints and mappings via OSC
|
||||
- Can rename paints and mappings with double click
|
||||
- Fix #156: White rectangle around the fullscreen window
|
||||
- Fix #152: The software frozen when we load a project and the video files are not found
|
||||
- Abled to locate the video files if is not found when load a project
|
||||
- Fix #149: Deleting a mapping actually deletes a paint when the paint tab is chosen
|
||||
- Improve Test signal
|
||||
- Enhancement #117: Ellipse conical projection
|
||||
- Performance improvements
|
||||
- OSC general bug fixes
|
||||
- OSC support on OSX
|
||||
- Done #174: Be able to rename a Paint
|
||||
- Done #72: Be able to name paints and mappings - for OSC controls
|
||||
- Center the test signal #97 (must use all the space available)
|
||||
- Fix #159: Program just freezes when importing corrupted video file
|
||||
- Done #145: The user doesn't need to see the undo stack
|
||||
- Done #40: Ctrl-Q should quit the application
|
||||
- Done #183: Display logging output in a console and be able to turn it on and off
|
||||
- Done #203: The toolbar can be shown or hidden at will by the user
|
||||
- Done #147: Be able to delete a mapping with the delete key #147 (tested on Ubuntu)
|
||||
- Done #184: Make sure names support UTF-8 characters
|
||||
- Done #201 UX Design document: implement main toolbar improvements
|
||||
- Add solo/lock/mute/delete/duplicate mapping icons
|
||||
- Hide cursor when canvas controls are not shown
|
||||
- Can undo or redo Add/Remove paint
|
||||
- Implement #240 Allow easy switch between destination+source, destination-only and source-only views
|
||||
- Automatically move output screen to secondary screen
|
||||
- Fix bug: ESC key would not work properly to exit full screen.
|
||||
- Remove implicit shortcuts for menus (they were conflicting with other ALT+ based shortcuts).
|
||||
- Fix: It should be possible to have an output window when using a single screen (closes #209
|
||||
- Add LICENSE
|
||||
- Can reorder mapping by drag & drop
|
||||
- Fix: Flickering video images when loading from the commandline (closes #218).
|
||||
- Introduction of namespace
|
||||
- Add OSC support for play, pause, and rewind.
|
||||
- Fix: On Ubuntu 15.10 : window geometry not preserved after quit (closes #227).
|
||||
- Add option on the commandline to force language.
|
||||
- Fix error in mapmap.pro related to translations.
|
||||
- Fix blocking bug on OSX: program was freezing when move was loaded
|
||||
- Implemented new feature: holding the shift key while moving a vertex temporarily inverts stick
|
||||
|
||||
|
||||
|
||||
## 2015-10-30 - MapMap 0.3.1
|
||||
|
||||
- Fix #138: splash screen does not show when installed
|
||||
- Fix #139: Stylesheet is not applied when the app is installed on Linux
|
||||
- Fix #135: Video playback is broken
|
||||
- Fix #103: OSC not working on OS X
|
||||
|
||||
|
||||
|
||||
## 2015-07-17 - MapMap 0.3.0
|
||||
|
||||
- Add zoom and scroll/drag in editor windows
|
||||
- Add transparency support for both paint and mapping
|
||||
- Use native color dialog
|
||||
- Undo/redo move and add actions
|
||||
- Fix perspective-correct textures in quads
|
||||
|
||||
|
||||
|
||||
## 2014-12-28 - MapMap 0.2.0
|
||||
|
||||
- Add --file option.
|
||||
- Add --osc-port option.
|
||||
- Add --reset-settings option.
|
||||
- Add crosshair cursor in fullscreen mode.
|
||||
- Add logo title in about dialog.
|
||||
- Can change OSC port via the new preference dialog.
|
||||
- Control mapping visibility from OSC (ticket #43)
|
||||
- File chooser now remembers last used directory.
|
||||
- Port to Qt5.
|
||||
- Recent files and videos menu items.
|
||||
- Select a shape with a click.
|
||||
- Select individual vertex and move it with the arrow keys.
|
||||
- Speed rate for playback.
|
||||
- Test signal image.
|
||||
- Videos plays by default at startup.
|
||||
- Fix: Add missing MM.h
|
||||
- Fix: Check for a valid OSC port number.
|
||||
- Fix: Fix fullscreen on GNOME
|
||||
- Fix: Fix main splitter proportions
|
||||
- Fix: Fix memory leak with the GStreamer pipeline manager.
|
||||
- Fix: Hide cursor in output window.
|
||||
- Fix: Press escape to toggle fullscreen.
|
||||
- Fix: Save fullscreen setting.
|
||||
- Fix: Save visibility of mappings.
|
||||
|
||||
|
||||
|
||||
## 2014-07-07 - MapMap 0.1.1
|
||||
|
||||
- Fix packaging on OS X 10.9.3.
|
||||
- Fix: all media share same OpenGL texture
|
||||
- Fix: Avoid segfault when right-click with no existing output shape.
|
||||
- Fix: fix error in ordering of mesh vertices.
|
||||
- Use GStreamer 1.x
|
||||
- New icons. Nicer looking control points.
|
||||
- Play/pause/rewind buttons
|
||||
- Change URI of media with double-click.
|
||||
- Play movies when we load a project.
|
||||
- Append file extension if none is provided.
|
||||
|
||||
|
||||
|
||||
## 2014-04-30 - MapMap 0.1.0
|
||||
|
||||
- Initial release.
|
||||
- Qt user interface.
|
||||
- Video mapping with GStreamer.
|
||||
- Quad, meshes, triangles, circles.
|
||||
- Color paint.
|
||||
- Fullscreen output window.
|
||||
- MMP project XML file format version 0.1.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
# Authors
|
||||
## Authors
|
||||
|
||||
- Sofian Audry: lead developer, user interface designer, project manager.
|
||||
- Sofian Audry: lead developer, user interface designer, project
|
||||
manager.
|
||||
- Dame Diongue: developer.
|
||||
- Alexandre Quessy: release manager, developer, technical writer, project manager.
|
||||
- Alexandre Quessy: release manager, developer, technical writer,
|
||||
project manager.
|
||||
- Mike Latona: user interface designer.
|
||||
- Vasilis Liaskovitis: developer.
|
||||
|
||||
# Contributors
|
||||
|
||||
|
||||
## Contributors
|
||||
|
||||
- Lucas Adair : developer, macOS packaging.
|
||||
- Christian Ambaud: sponsor, inspiration.
|
||||
@@ -23,3 +27,4 @@
|
||||
- Matthew Loewens : documentation, developer.
|
||||
- Madison Suniga : documentation.
|
||||
|
||||
|
||||
|
||||
+44
-43
@@ -32,39 +32,39 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent)
|
||||
// Set title
|
||||
setWindowTitle(tr("About %1").arg(MM::APPLICATION_NAME));
|
||||
// Set Layout
|
||||
_mainLayout = new QGridLayout;
|
||||
setLayout(_mainLayout);
|
||||
QGridLayout *mainLayout = new QGridLayout;
|
||||
setLayout(mainLayout);
|
||||
|
||||
// Set icon label
|
||||
_iconLabel = new QLabel;
|
||||
_iconLabel->setPixmap(QPixmap(":/mapmap-logo").scaled(64, 64, Qt::KeepAspectRatio, Qt::SmoothTransformation));
|
||||
_iconLabel->setContentsMargins(0, 20, 0, 20);
|
||||
_mainLayout->addWidget(_iconLabel, 0, 0, 1, 1, Qt::AlignRight);
|
||||
QLabel *iconLabel = new QLabel;
|
||||
iconLabel->setPixmap(QPixmap(":/mapmap-logo").scaled(64, 64, Qt::KeepAspectRatio, Qt::SmoothTransformation));
|
||||
iconLabel->setContentsMargins(0, 20, 0, 20);
|
||||
mainLayout->addWidget(iconLabel, 0, 0, 1, 1, Qt::AlignRight);
|
||||
// Set title label
|
||||
_textLabel = new QLabel;
|
||||
_textLabel->setPixmap(QPixmap(":/mapmap-title-light").scaled(200, 40, Qt::KeepAspectRatio, Qt::SmoothTransformation));
|
||||
_mainLayout->addWidget(_textLabel, 0, 2);
|
||||
QLabel *textLabel = new QLabel;
|
||||
textLabel->setPixmap(QPixmap(":/mapmap-title-light").scaled(200, 40, Qt::KeepAspectRatio, Qt::SmoothTransformation));
|
||||
mainLayout->addWidget(textLabel, 0, 2);
|
||||
// Set version label
|
||||
_versionLabel = new QLabel;
|
||||
_versionLabel->setText(QString("<h2> %1 </h2>").arg(MM::VERSION));
|
||||
_versionLabel->setContentsMargins(7, 20, 0, 0);
|
||||
_mainLayout->addWidget(_versionLabel, 0, 3);
|
||||
QLabel *versionLabel = new QLabel;
|
||||
versionLabel->setText(QString("<h2> %1 </h2>").arg(MM::VERSION));
|
||||
versionLabel->setContentsMargins(7, 20, 0, 0);
|
||||
mainLayout->addWidget(versionLabel, 0, 3);
|
||||
|
||||
// Add tab widget
|
||||
_tabWidget = new QTabWidget;
|
||||
_mainLayout->addWidget(_tabWidget, 1, 0, 1, 4);
|
||||
mainLayout->addWidget(_tabWidget, 1, 0, 1, 4);
|
||||
|
||||
// Close button
|
||||
_buttonBox = new QDialogButtonBox(QDialogButtonBox::Close);
|
||||
connect(_buttonBox, SIGNAL(rejected()), this, SLOT(close()));
|
||||
_mainLayout->addWidget(_buttonBox, 2, 0, 1, 4);
|
||||
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close);
|
||||
connect(buttonBox, SIGNAL(rejected()), this, SLOT(close()));
|
||||
mainLayout->addWidget(buttonBox, 2, 0, 1, 4);
|
||||
|
||||
// Create and fill different tabs
|
||||
createAboutTab();
|
||||
// Changelog Tab
|
||||
createChangelogTab();
|
||||
// Libraries
|
||||
createLibrariesTab();
|
||||
// createLibrariesTab();
|
||||
// Contributors
|
||||
createContributorsTab();
|
||||
// License
|
||||
@@ -75,8 +75,8 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent)
|
||||
|
||||
void AboutDialog::createAboutTab()
|
||||
{
|
||||
_aboutTextBrowser = new QTextBrowser;
|
||||
_aboutTextBrowser->setOpenExternalLinks(true);
|
||||
QTextBrowser *aboutTextBrowser = new QTextBrowser;
|
||||
aboutTextBrowser->setOpenExternalLinks(true);
|
||||
|
||||
// Software description
|
||||
QString aboutSoftwareText = "<p>" + tr("MapMap is a free/open source video mapping software.") + "</p>";
|
||||
@@ -103,27 +103,27 @@ void AboutDialog::createAboutTab()
|
||||
aboutText.append(projectWebsiteText);
|
||||
|
||||
// Set about text
|
||||
_aboutTextBrowser->setText(aboutText);
|
||||
aboutTextBrowser->setText(aboutText);
|
||||
|
||||
_tabWidget->addTab(_aboutTextBrowser, tr("About"));
|
||||
_tabWidget->addTab(aboutTextBrowser, tr("About"));
|
||||
}
|
||||
|
||||
void AboutDialog::createChangelogTab()
|
||||
{
|
||||
_changelogTextBrowser = new QTextBrowser;
|
||||
_changelogTextBrowser->setOpenExternalLinks(true);
|
||||
QTextBrowser *changelogTextBrowser = new QTextBrowser;
|
||||
changelogTextBrowser->setOpenExternalLinks(true);
|
||||
|
||||
QFile changelogFile(":/changelog");
|
||||
changelogFile.open(QIODevice::ReadOnly | QIODevice::Text);
|
||||
_changelogTextBrowser->setText(QTextCodec::codecForName("UTF-8")->toUnicode(changelogFile.readAll()));
|
||||
changelogTextBrowser->setMarkdown(QTextCodec::codecForName("UTF-8")->toUnicode(changelogFile.readAll()));
|
||||
|
||||
_tabWidget->addTab(_changelogTextBrowser, tr("Changelog"));
|
||||
_tabWidget->addTab(changelogTextBrowser, tr("Changelog"));
|
||||
}
|
||||
|
||||
void AboutDialog::createLibrariesTab()
|
||||
{
|
||||
_librariesTextBrowser = new QTextBrowser;
|
||||
_librariesTextBrowser->setOpenExternalLinks(true);
|
||||
QTextBrowser *librariesTextBrowser = new QTextBrowser;
|
||||
librariesTextBrowser->setOpenExternalLinks(true);
|
||||
|
||||
QString qtVersionText = QString("<h4>Qt %1</h4>").arg(QT_VERSION_STR);
|
||||
QString gstreamerVersionText = QString("<h4>%1</h4>").arg(gst_version_string());
|
||||
@@ -136,44 +136,45 @@ void AboutDialog::createLibrariesTab()
|
||||
//librairiesText.append(libloVersionText);
|
||||
|
||||
// Set librairies main text
|
||||
_librariesTextBrowser->setText(librairiesText);
|
||||
_tabWidget->addTab(_librariesTextBrowser, tr("Libraries"));
|
||||
librariesTextBrowser->setText(librairiesText);
|
||||
_tabWidget->addTab(librariesTextBrowser, tr("Libraries"));
|
||||
}
|
||||
|
||||
void AboutDialog::createContributorsTab()
|
||||
{
|
||||
_contributorsTextBrowser = new QTextBrowser;
|
||||
_contributorsTextBrowser->setOpenExternalLinks(true);
|
||||
QTextBrowser *contributorsTextBrowser = new QTextBrowser;
|
||||
contributorsTextBrowser->setOpenExternalLinks(true);
|
||||
|
||||
QFile contributorsFile(":/contributors");
|
||||
contributorsFile.open(QIODevice::ReadOnly | QIODevice::Text);
|
||||
_contributorsTextBrowser->setText(QTextCodec::codecForName("UTF-8")->toUnicode(contributorsFile.readAll()));
|
||||
contributorsTextBrowser->setMarkdown(QTextCodec::codecForName("UTF-8")->toUnicode(contributorsFile.readAll()));
|
||||
|
||||
_tabWidget->addTab(_contributorsTextBrowser, tr("Contributors"));
|
||||
_tabWidget->addTab(contributorsTextBrowser, tr("Contributors"));
|
||||
}
|
||||
|
||||
void AboutDialog::createLicenseTab()
|
||||
{
|
||||
_licenseTextBrowser = new QTextBrowser;
|
||||
_licenseTextBrowser->setOpenExternalLinks(true);
|
||||
QTextBrowser *licenseTextBrowser = new QTextBrowser;
|
||||
licenseTextBrowser->setOpenExternalLinks(true);
|
||||
|
||||
QFile licenseFile(":/license");
|
||||
licenseFile.open(QIODevice::ReadOnly | QIODevice::Text);
|
||||
_licenseTextBrowser->setText(QTextCodec::codecForName("UTF-8")->toUnicode(licenseFile.readAll()));
|
||||
licenseTextBrowser->setText(QTextCodec::codecForName("UTF-8")->toUnicode(licenseFile.readAll()));
|
||||
|
||||
_tabWidget->addTab(_licenseTextBrowser, tr("License"));
|
||||
_tabWidget->addTab(licenseTextBrowser, tr("License"));
|
||||
}
|
||||
|
||||
void AboutDialog::createOscTab()
|
||||
{
|
||||
|
||||
QTextBrowser *
|
||||
oscBrowser = new QTextBrowser;
|
||||
QTextBrowser *oscBrowser = new QTextBrowser;
|
||||
oscBrowser->setOpenExternalLinks(true);
|
||||
QFile oscFile(":/osc_html");
|
||||
|
||||
QFile oscFile(":/osc-documentation");
|
||||
oscFile.open(QIODevice::ReadOnly | QIODevice::Text);
|
||||
oscBrowser->setText(QTextCodec::codecForName("UTF-8")->toUnicode(oscFile.readAll()));
|
||||
_tabWidget->addTab(oscBrowser, tr("OSC"));
|
||||
oscBrowser->setMarkdown(QTextCodec::codecForName("UTF-8")->toUnicode(oscFile.readAll()));
|
||||
|
||||
_tabWidget->addTab(oscBrowser, tr("OSC Commands"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -50,17 +50,7 @@ private:
|
||||
void createLicenseTab();
|
||||
void createOscTab();
|
||||
|
||||
QGridLayout *_mainLayout;
|
||||
QLabel *_iconLabel;
|
||||
QLabel *_textLabel;
|
||||
QLabel *_versionLabel;
|
||||
QTabWidget *_tabWidget;
|
||||
QTextBrowser *_aboutTextBrowser;
|
||||
QTextBrowser *_changelogTextBrowser;
|
||||
QTextBrowser *_librariesTextBrowser;
|
||||
QTextBrowser *_contributorsTextBrowser;
|
||||
QTextBrowser *_licenseTextBrowser;
|
||||
QDialogButtonBox *_buttonBox;
|
||||
|
||||
// Constantes
|
||||
static const int ABOUT_WINDOW_WIDTH = 560;
|
||||
|
||||
Reference in New Issue
Block a user