Commit c28f514c authored by Geoffroy Lacarriere's avatar Geoffroy Lacarriere

Bug fix images in preferences now fetch from resources.

parent 6e59e4f0
<RCC>
<qresource prefix="/Lang" >
<file alias="es" >ts/vlmc_es.qm</file>
<file alias="fr" >ts/vlmc_fr.qm</file>
<file alias="sv" >ts/vlmc_sv.qm</file>
<qresource prefix="/Lang">
<file alias="es">ts/vlmc_es.qm</file>
<file alias="fr">ts/vlmc_fr.qm</file>
<file alias="sv">ts/vlmc_sv.qm</file>
</qresource>
<qresource prefix="/images" >
<qresource prefix="/images">
<file>images/vlmc.png</file>
<file alias="play" >images/play.png</file>
<file alias="pause" >images/pause.png</file>
<file alias="back" >images/back.png</file>
<file alias="forward" >images/forward.png</file>
<file alias="up" >images/up.png</file>
<file alias="play">images/play.png</file>
<file alias="pause">images/pause.png</file>
<file alias="back">images/back.png</file>
<file alias="forward">images/forward.png</file>
<file alias="up">images/up.png</file>
<file>images/next_frame.png</file>
<file>images/previous_frame.png</file>
<file>images/stop.png</file>
......@@ -23,15 +23,17 @@
<file alias="mouse">images/mouse.png</file>
<file alias="zoomin">images/zoom_in.png</file>
<file alias="zoomout">images/zoom_out.png</file>
<file>images/audio.png</file>
<file>images/video.png</file>
</qresource>
<qresource prefix="/text" >
<qresource prefix="/text">
<file>AUTHORS</file>
<file>COPYING</file>
<file>TRANSLATORS</file>
</qresource>
<qresource prefix="/images/scalable" >
<file alias="audio-scalable" >images/scalable/audio.svg</file>
<file alias="image-scalable" >images/scalable/image.svg</file>
<file alias="video-scalable" >images/scalable/video.svg</file>
<qresource prefix="/images/scalable">
<file alias="audio-scalable">images/scalable/audio.svg</file>
<file alias="image-scalable">images/scalable/image.svg</file>
<file alias="video-scalable">images/scalable/video.svg</file>
</qresource>
</RCC>
......@@ -159,10 +159,6 @@ void MainWindow::setupLibrary()
connect( libraryWidget->getVideoListWidget(), SIGNAL( selectedClipChanged( Clip* ) ),
m_clipPreview->getGenericRenderer(), SLOT( setClip( Clip* ) ) );
connect( mediaLibraryWidget->getCurrentViewController(),
SIGNAL( selectedClipChanged( Clip* ) ),
m_clipPreview->getGenericRenderer(),
SLOT( setClip( Clip* ) ) );
connect( libraryWidget->getVideoListWidget(), SIGNAL( itemDoubleClicked( QListWidgetItem* ) ),
this, SLOT( mediaListItemDoubleClicked( QListWidgetItem* ) ) );
......@@ -316,20 +312,19 @@ void MainWindow::createGlobalPreferences()
void MainWindow::createProjectPreferences()
{
m_projectPreferences = new Settings( );
QSvgRenderer svgRenderer( this );
m_projectPreferences->addWidget("Project",
m_projectPreferences->addWidget( "Project",
new ProjectPreferences,
":/images/scalable/vlmc",
"Project settings");
m_projectPreferences->addWidget("Video",
":/images/images/vlmc",
"Project settings" );
m_projectPreferences->addWidget( "Video",
new VideoProjectPreferences,
":/images/scalable/video-scalable",
"Video settings");
m_projectPreferences->addWidget("Audio",
":/images/images/video",
"Video settings" );
m_projectPreferences->addWidget( "Audio",
new AudioProjectPreferences,
":/images/scalable/audio-scalable",
"Audio settings");
":/images/images/audio",
"Audio settings" );
m_projectPreferences->build();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment