mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-20 23:03:04 +02:00
2021-01-23 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDDropboxListModel' class * Refactored the 'List Dropboxes' dialog in rdadmin(1) to use the model-based API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
376cd8e86b
commit
d6be662898
@ -20885,3 +20885,7 @@
|
|||||||
2021-01-22 Fred Gleason <fredg@paravelsystems.com>
|
2021-01-22 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Removed the 'Q3ButtonGroup' dependency from the 'Configure
|
* Removed the 'Q3ButtonGroup' dependency from the 'Configure
|
||||||
RDAirPlay' dialog in rdadmin(1).
|
RDAirPlay' dialog in rdadmin(1).
|
||||||
|
2021-01-23 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added 'RDDropboxListModel' class
|
||||||
|
* Refactored the 'List Dropboxes' dialog in rdadmin(1) to use the
|
||||||
|
model-based API.
|
||||||
|
@ -121,6 +121,7 @@ dist_librd_la_SOURCES = dbversion.h\
|
|||||||
rddiscrecord.cpp rddiscrecord.h\
|
rddiscrecord.cpp rddiscrecord.h\
|
||||||
rddownload.cpp rddownload.h\
|
rddownload.cpp rddownload.h\
|
||||||
rddropbox.cpp rddropbox.h\
|
rddropbox.cpp rddropbox.h\
|
||||||
|
rddropboxlistmodel.cpp rddropboxlistmodel.h\
|
||||||
rddummylookup.cpp rddummylookup.h\
|
rddummylookup.cpp rddummylookup.h\
|
||||||
rdedit_audio.cpp rdedit_audio.h\
|
rdedit_audio.cpp rdedit_audio.h\
|
||||||
rdedit_panel_name.cpp rdedit_panel_name.h\
|
rdedit_panel_name.cpp rdedit_panel_name.h\
|
||||||
@ -298,6 +299,7 @@ nodist_librd_la_SOURCES = moc_rdadd_cart.cpp\
|
|||||||
moc_rddialog.cpp\
|
moc_rddialog.cpp\
|
||||||
moc_rddisclookup.cpp\
|
moc_rddisclookup.cpp\
|
||||||
moc_rddownload.cpp\
|
moc_rddownload.cpp\
|
||||||
|
moc_rddropboxlistmodel.cpp\
|
||||||
moc_rddummylookup.cpp\
|
moc_rddummylookup.cpp\
|
||||||
moc_rdedit_audio.cpp\
|
moc_rdedit_audio.cpp\
|
||||||
moc_rdedit_panel_name.cpp\
|
moc_rdedit_panel_name.cpp\
|
||||||
|
@ -89,6 +89,7 @@ SOURCES += rddialog.cpp
|
|||||||
SOURCES += rddisclookup.cpp
|
SOURCES += rddisclookup.cpp
|
||||||
SOURCES += rddisclookup_factory.cpp
|
SOURCES += rddisclookup_factory.cpp
|
||||||
SOURCES += rddropbox.cpp
|
SOURCES += rddropbox.cpp
|
||||||
|
SOURCES += rddropboxlistmodel.cpp
|
||||||
SOURCES += rddummylookup.cpp
|
SOURCES += rddummylookup.cpp
|
||||||
SOURCES += rdedit_audio.cpp
|
SOURCES += rdedit_audio.cpp
|
||||||
SOURCES += rdedit_panel_name.cpp
|
SOURCES += rdedit_panel_name.cpp
|
||||||
@ -242,6 +243,7 @@ HEADERS += rddialog.h
|
|||||||
HEADERS += rddisclookup.h
|
HEADERS += rddisclookup.h
|
||||||
HEADERS += rddisclookup_factory.h
|
HEADERS += rddisclookup_factory.h
|
||||||
HEADERS += rddropbox.h
|
HEADERS += rddropbox.h
|
||||||
|
HEADERS += rddropboxlistmodel.h
|
||||||
HEADERS += rddummylookup.h
|
HEADERS += rddummylookup.h
|
||||||
HEADERS += rdedit_audio.h
|
HEADERS += rdedit_audio.h
|
||||||
HEADERS += rdedit_panel_name.h
|
HEADERS += rdedit_panel_name.h
|
||||||
|
@ -1770,6 +1770,61 @@ ze &souboru</translation>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>RDDropboxListModel</name>
|
||||||
|
<message>
|
||||||
|
<source>ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Group</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Path</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Norm. Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Autotrim Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>To Cart</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Force Mono</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use CC ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Delete Cuts</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Metadata Pattern</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>User Defined</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[auto]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[off]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDEditAudio</name>
|
<name>RDEditAudio</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -1750,6 +1750,61 @@ senden</translation>
|
|||||||
<translation type="obsolete">Unbekannt</translation>
|
<translation type="obsolete">Unbekannt</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>RDDropboxListModel</name>
|
||||||
|
<message>
|
||||||
|
<source>ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Group</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Path</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Norm. Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Autotrim Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>To Cart</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Force Mono</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use CC ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Delete Cuts</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Metadata Pattern</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>User Defined</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[auto]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[off]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDEditAudio</name>
|
<name>RDEditAudio</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -1740,6 +1740,61 @@ Cartucho</translation>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>RDDropboxListModel</name>
|
||||||
|
<message>
|
||||||
|
<source>ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Group</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Path</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Norm. Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Autotrim Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>To Cart</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Force Mono</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use CC ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Delete Cuts</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Metadata Pattern</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>User Defined</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[auto]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[off]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDEditAudio</name>
|
<name>RDEditAudio</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -1499,6 +1499,61 @@ Cart</source>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>RDDropboxListModel</name>
|
||||||
|
<message>
|
||||||
|
<source>ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Group</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Path</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Norm. Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Autotrim Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>To Cart</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Force Mono</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use CC ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Delete Cuts</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Metadata Pattern</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>User Defined</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[auto]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[off]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDEditAudio</name>
|
<name>RDEditAudio</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -1728,6 +1728,61 @@ Cart</source>
|
|||||||
<translation type="obsolete">Ukjent</translation>
|
<translation type="obsolete">Ukjent</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>RDDropboxListModel</name>
|
||||||
|
<message>
|
||||||
|
<source>ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Group</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Path</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Norm. Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Autotrim Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>To Cart</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Force Mono</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use CC ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Delete Cuts</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Metadata Pattern</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>User Defined</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[auto]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[off]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDEditAudio</name>
|
<name>RDEditAudio</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -1728,6 +1728,61 @@ Cart</source>
|
|||||||
<translation type="obsolete">Ukjent</translation>
|
<translation type="obsolete">Ukjent</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>RDDropboxListModel</name>
|
||||||
|
<message>
|
||||||
|
<source>ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Group</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Path</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Norm. Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Autotrim Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>To Cart</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Force Mono</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use CC ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Delete Cuts</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Metadata Pattern</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>User Defined</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[auto]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[off]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDEditAudio</name>
|
<name>RDEditAudio</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -1735,6 +1735,61 @@ Cartão</translation>
|
|||||||
<translation type="obsolete">Desconhecido</translation>
|
<translation type="obsolete">Desconhecido</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>RDDropboxListModel</name>
|
||||||
|
<message>
|
||||||
|
<source>ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Group</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Path</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Norm. Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Autotrim Level</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>To Cart</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Force Mono</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use CC ID</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Delete Cuts</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Metadata Pattern</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>User Defined</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[auto]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>[off]</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDEditAudio</name>
|
<name>RDEditAudio</name>
|
||||||
<message>
|
<message>
|
||||||
|
365
lib/rddropboxlistmodel.cpp
Normal file
365
lib/rddropboxlistmodel.cpp
Normal file
@ -0,0 +1,365 @@
|
|||||||
|
// rddropboxlistmodel.cpp
|
||||||
|
//
|
||||||
|
// Data model for Rivendell dropboxes
|
||||||
|
//
|
||||||
|
// (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
//
|
||||||
|
// This program is free software; you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
|
// published by the Free Software Foundation.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public
|
||||||
|
// License along with this program; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "rdapplication.h"
|
||||||
|
#include "rdescape_string.h"
|
||||||
|
#include "rddropboxlistmodel.h"
|
||||||
|
|
||||||
|
RDDropboxListModel::RDDropboxListModel(const QString &hostname,QObject *parent)
|
||||||
|
: QAbstractTableModel(parent)
|
||||||
|
{
|
||||||
|
d_hostname=hostname;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Column Attributes
|
||||||
|
//
|
||||||
|
unsigned left=Qt::AlignLeft|Qt::AlignVCenter;
|
||||||
|
unsigned center=Qt::AlignCenter;
|
||||||
|
unsigned right=Qt::AlignRight|Qt::AlignVCenter;
|
||||||
|
|
||||||
|
d_headers.push_back(tr("ID")); // 00
|
||||||
|
d_alignments.push_back(right);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("Group")); // 01
|
||||||
|
d_alignments.push_back(left);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("Path")); // 02
|
||||||
|
d_alignments.push_back(left);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("Norm. Level")); // 03
|
||||||
|
d_alignments.push_back(right);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("Autotrim Level")); // 04
|
||||||
|
d_alignments.push_back(right);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("To Cart")); // 05
|
||||||
|
d_alignments.push_back(right);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("Force Mono")); // 06
|
||||||
|
d_alignments.push_back(center);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("Use CC ID")); // 07
|
||||||
|
d_alignments.push_back(center);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("Delete Cuts")); // 08
|
||||||
|
d_alignments.push_back(center);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("Metadata Pattern")); // 09
|
||||||
|
d_alignments.push_back(center);
|
||||||
|
|
||||||
|
d_headers.push_back(tr("User Defined")); // 10
|
||||||
|
d_alignments.push_back(center);
|
||||||
|
|
||||||
|
updateModel();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
RDDropboxListModel::~RDDropboxListModel()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QPalette RDDropboxListModel::palette()
|
||||||
|
{
|
||||||
|
return d_palette;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::setPalette(const QPalette &pal)
|
||||||
|
{
|
||||||
|
d_palette=pal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::setFont(const QFont &font)
|
||||||
|
{
|
||||||
|
d_font=font;
|
||||||
|
d_bold_font=font;
|
||||||
|
d_bold_font.setWeight(QFont::Bold);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int RDDropboxListModel::columnCount(const QModelIndex &parent) const
|
||||||
|
{
|
||||||
|
return d_headers.size();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int RDDropboxListModel::rowCount(const QModelIndex &parent) const
|
||||||
|
{
|
||||||
|
return d_texts.size();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QVariant RDDropboxListModel::headerData(int section,Qt::Orientation orient,
|
||||||
|
int role) const
|
||||||
|
{
|
||||||
|
if((orient==Qt::Horizontal)&&(role==Qt::DisplayRole)) {
|
||||||
|
return d_headers.at(section);
|
||||||
|
}
|
||||||
|
return QVariant();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QVariant RDDropboxListModel::data(const QModelIndex &index,int role) const
|
||||||
|
{
|
||||||
|
QString str;
|
||||||
|
int col=index.column();
|
||||||
|
int row=index.row();
|
||||||
|
|
||||||
|
if(row<d_texts.size()) {
|
||||||
|
switch((Qt::ItemDataRole)role) {
|
||||||
|
case Qt::DisplayRole:
|
||||||
|
return d_texts.at(row).at(col);
|
||||||
|
|
||||||
|
case Qt::DecorationRole:
|
||||||
|
// Nothing to do!
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Qt::TextAlignmentRole:
|
||||||
|
return d_alignments.at(col);
|
||||||
|
|
||||||
|
case Qt::FontRole:
|
||||||
|
if(col==1) {
|
||||||
|
return d_bold_font;
|
||||||
|
}
|
||||||
|
return d_font;
|
||||||
|
|
||||||
|
case Qt::TextColorRole:
|
||||||
|
if(col==1) {
|
||||||
|
return d_group_colors.at(row);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Qt::BackgroundRole:
|
||||||
|
// Nothing to do!
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return QVariant();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int RDDropboxListModel::dropboxId(const QModelIndex &row) const
|
||||||
|
{
|
||||||
|
return d_box_ids.at(row.row());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QModelIndex RDDropboxListModel::addDropbox(int box_id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// Find the insertion offset
|
||||||
|
//
|
||||||
|
int offset=d_box_ids.size();
|
||||||
|
for(int i=0;i<d_box_ids.size();i++) {
|
||||||
|
if(box_id<d_box_ids.at(i)) {
|
||||||
|
offset=i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
beginInsertRows(QModelIndex(),offset,offset);
|
||||||
|
QList<QVariant> list;
|
||||||
|
for(int i=0;i<columnCount();i++) {
|
||||||
|
list.push_back(QVariant());
|
||||||
|
}
|
||||||
|
d_box_ids.insert(offset,box_id);
|
||||||
|
d_group_colors.insert(offset,QVariant());
|
||||||
|
list[0]=QString().sprintf("%d",box_id);
|
||||||
|
d_texts.insert(offset,list);
|
||||||
|
updateRowLine(offset);
|
||||||
|
endInsertRows();
|
||||||
|
|
||||||
|
return createIndex(offset,0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::removeDropbox(const QModelIndex &row)
|
||||||
|
{
|
||||||
|
beginRemoveRows(QModelIndex(),row.row(),row.row());
|
||||||
|
|
||||||
|
d_box_ids.removeAt(row.row());
|
||||||
|
d_group_colors.removeAt(row.row());
|
||||||
|
d_texts.removeAt(row.row());
|
||||||
|
|
||||||
|
endRemoveRows();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::removeDropbox(int box_id)
|
||||||
|
{
|
||||||
|
for(int i=0;i<d_box_ids.size();i++) {
|
||||||
|
if(d_box_ids.at(i)==box_id) {
|
||||||
|
removeDropbox(createIndex(i,0));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::refresh(const QModelIndex &row)
|
||||||
|
{
|
||||||
|
if(row.row()<d_texts.size()) {
|
||||||
|
QString sql=sqlFields()+
|
||||||
|
"where "+
|
||||||
|
QString().sprintf("DROPBOXES.ID=%d",d_box_ids.at(row.row()));
|
||||||
|
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||||
|
if(q->first()) {
|
||||||
|
updateRow(row.row(),q);
|
||||||
|
emit dataChanged(createIndex(row.row(),0),
|
||||||
|
createIndex(row.row(),columnCount()));
|
||||||
|
}
|
||||||
|
delete q;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::refresh(int box_id)
|
||||||
|
{
|
||||||
|
for(int i=0;i<d_texts.size();i++) {
|
||||||
|
if(d_box_ids.at(i)==box_id) {
|
||||||
|
updateRowLine(i);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::updateModel()
|
||||||
|
{
|
||||||
|
QList<QVariant> texts;
|
||||||
|
|
||||||
|
RDSqlQuery *q=NULL;
|
||||||
|
QString sql=sqlFields()+
|
||||||
|
"where DROPBOXES.STATION_NAME=\""+RDEscapeString(d_hostname)+"\" "+
|
||||||
|
"order by DROPBOXES.ID ";
|
||||||
|
beginResetModel();
|
||||||
|
d_box_ids.clear();
|
||||||
|
d_group_colors.clear();
|
||||||
|
d_texts.clear();
|
||||||
|
q=new RDSqlQuery(sql);
|
||||||
|
while(q->next()) {
|
||||||
|
d_box_ids.push_back(-1);
|
||||||
|
d_group_colors.push_back(QVariant());
|
||||||
|
d_texts.push_back(texts);
|
||||||
|
updateRow(d_texts.size()-1,q);
|
||||||
|
}
|
||||||
|
delete q;
|
||||||
|
endResetModel();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::updateRowLine(int line)
|
||||||
|
{
|
||||||
|
if(line<d_texts.size()) {
|
||||||
|
QString sql=sqlFields()+
|
||||||
|
"where "+
|
||||||
|
QString().sprintf("DROPBOXES.ID=%d",d_box_ids.at(line));
|
||||||
|
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||||
|
if(q->first()) {
|
||||||
|
updateRow(line,q);
|
||||||
|
}
|
||||||
|
delete q;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void RDDropboxListModel::updateRow(int row,RDSqlQuery *q)
|
||||||
|
{
|
||||||
|
QList<QVariant> texts;
|
||||||
|
|
||||||
|
// ID
|
||||||
|
d_box_ids.back()=q->value(0).toInt();
|
||||||
|
texts.push_back(q->value(0));
|
||||||
|
|
||||||
|
// Group
|
||||||
|
texts.push_back(q->value(1));
|
||||||
|
d_group_colors.back()=QColor(q->value(2).toString());
|
||||||
|
|
||||||
|
// Path
|
||||||
|
texts.push_back(q->value(3));
|
||||||
|
|
||||||
|
// Norm. Level
|
||||||
|
if(q->value(4).toInt()==0) {
|
||||||
|
texts.push_back(tr("[off]"));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
texts.push_back(QString().sprintf("%d dBFS",q->value(4).toInt()));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Autotrim Level
|
||||||
|
if(q->value(5).toInt()==0) {
|
||||||
|
texts.push_back(tr("[off]"));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
texts.push_back(QString().sprintf("%d dBFS",q->value(5).toInt()));
|
||||||
|
}
|
||||||
|
|
||||||
|
// To Cart
|
||||||
|
if(q->value(6).toUInt()==0) {
|
||||||
|
texts.push_back(tr("[auto]"));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
texts.push_back(QString().sprintf("%06u",q->value(6).toUInt()));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Force to Mono
|
||||||
|
texts.push_back(q->value(7));
|
||||||
|
|
||||||
|
// Use CC ID
|
||||||
|
texts.push_back(q->value(8));
|
||||||
|
|
||||||
|
// Delete Cuts
|
||||||
|
texts.push_back(q->value(9));
|
||||||
|
|
||||||
|
// Metadata Pattern
|
||||||
|
texts.push_back(q->value(10));
|
||||||
|
|
||||||
|
// User Defined
|
||||||
|
texts.push_back(q->value(11));
|
||||||
|
|
||||||
|
d_texts[row]=texts;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QString RDDropboxListModel::sqlFields() const
|
||||||
|
{
|
||||||
|
QString sql=QString("select ")+
|
||||||
|
"DROPBOXES.ID,"+ // 00
|
||||||
|
"DROPBOXES.GROUP_NAME,"+ // 01
|
||||||
|
"GROUPS.COLOR,"+ // 02
|
||||||
|
"DROPBOXES.PATH,"+ // 03
|
||||||
|
"DROPBOXES.NORMALIZATION_LEVEL,"+ // 04
|
||||||
|
"DROPBOXES.AUTOTRIM_LEVEL,"+ // 05
|
||||||
|
"DROPBOXES.TO_CART,"+ // 06
|
||||||
|
"DROPBOXES.FORCE_TO_MONO,"+ // 07
|
||||||
|
"DROPBOXES.USE_CARTCHUNK_ID,"+ // 08
|
||||||
|
"DROPBOXES.DELETE_CUTS,"+ // 09
|
||||||
|
"DROPBOXES.METADATA_PATTERN,"+ // 10
|
||||||
|
"DROPBOXES.SET_USER_DEFINED "+ // 11
|
||||||
|
"from DROPBOXES left join GROUPS "+
|
||||||
|
"on DROPBOXES.GROUP_NAME=GROUPS.NAME ";
|
||||||
|
|
||||||
|
return sql;
|
||||||
|
}
|
73
lib/rddropboxlistmodel.h
Normal file
73
lib/rddropboxlistmodel.h
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
// rddropboxlistmodel.h
|
||||||
|
//
|
||||||
|
// Data model for Rivendell dropboxes
|
||||||
|
//
|
||||||
|
// (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
//
|
||||||
|
// This program is free software; you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
|
// published by the Free Software Foundation.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public
|
||||||
|
// License along with this program; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef RDDROPBOXLISTMODEL_H
|
||||||
|
#define RDDROPBOXLISTMODEL_H
|
||||||
|
|
||||||
|
#include <QAbstractTableModel>
|
||||||
|
#include <QFont>
|
||||||
|
#include <QList>
|
||||||
|
#include <QPalette>
|
||||||
|
|
||||||
|
#include <rddb.h>
|
||||||
|
#include <rdnotification.h>
|
||||||
|
|
||||||
|
class RDDropboxListModel : public QAbstractTableModel
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
RDDropboxListModel(const QString &hostname,QObject *parent=0);
|
||||||
|
~RDDropboxListModel();
|
||||||
|
QPalette palette();
|
||||||
|
void setPalette(const QPalette &pal);
|
||||||
|
void setFont(const QFont &font);
|
||||||
|
int columnCount(const QModelIndex &parent=QModelIndex()) const;
|
||||||
|
int rowCount(const QModelIndex &parent=QModelIndex()) const;
|
||||||
|
QVariant headerData(int section,Qt::Orientation orient,
|
||||||
|
int role=Qt::DisplayRole) const;
|
||||||
|
QVariant data(const QModelIndex &index,int role=Qt::DisplayRole) const;
|
||||||
|
int dropboxId(const QModelIndex &row) const;
|
||||||
|
QModelIndex addDropbox(int box_id);
|
||||||
|
void removeDropbox(const QModelIndex &row);
|
||||||
|
void removeDropbox(int box_id);
|
||||||
|
void refresh(const QModelIndex &row);
|
||||||
|
void refresh(int box_id);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void updateModel();
|
||||||
|
void updateRowLine(int line);
|
||||||
|
void updateRow(int row,RDSqlQuery *q);
|
||||||
|
QString sqlFields() const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
QPalette d_palette;
|
||||||
|
QFont d_font;
|
||||||
|
QFont d_bold_font;
|
||||||
|
bool d_include_none;
|
||||||
|
QList<QVariant> d_headers;
|
||||||
|
QList<QVariant> d_alignments;
|
||||||
|
QList<QList<QVariant> > d_texts;
|
||||||
|
QList<QVariant> d_group_colors;
|
||||||
|
QList<int> d_box_ids;
|
||||||
|
QString d_hostname;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif // RDDROPBOXLISTMODEL_H
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// List Rivendell Dropboxes
|
// List Rivendell Dropboxes
|
||||||
//
|
//
|
||||||
// (C) Copyright 2002-2019 Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2002-2021 Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// This program is free software; you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License version 2 as
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@ -28,8 +28,6 @@
|
|||||||
ListDropboxes::ListDropboxes(const QString &stationname,QWidget *parent)
|
ListDropboxes::ListDropboxes(const QString &stationname,QWidget *parent)
|
||||||
: RDDialog(parent)
|
: RDDialog(parent)
|
||||||
{
|
{
|
||||||
setModal(true);
|
|
||||||
|
|
||||||
list_stationname=stationname;
|
list_stationname=stationname;
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -83,38 +81,23 @@ ListDropboxes::ListDropboxes(const QString &stationname,QWidget *parent)
|
|||||||
connect(list_close_button,SIGNAL(clicked()),this,SLOT(closeData()));
|
connect(list_close_button,SIGNAL(clicked()),this,SLOT(closeData()));
|
||||||
|
|
||||||
//
|
//
|
||||||
// Group List
|
// Dropbox List
|
||||||
//
|
//
|
||||||
list_dropboxes_view=new RDListView(this);
|
list_dropboxes_view=new QTableView(this);
|
||||||
list_dropboxes_view->setAllColumnsShowFocus(true);
|
list_dropboxes_view->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||||
list_dropboxes_view->addColumn(tr("ID"));
|
list_dropboxes_view->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||||
list_dropboxes_view->setColumnAlignment(0,Qt::AlignRight);
|
list_dropboxes_view->setShowGrid(false);
|
||||||
list_dropboxes_view->addColumn(tr("Group"));
|
list_dropboxes_view->setSortingEnabled(false);
|
||||||
list_dropboxes_view->setColumnAlignment(1,Qt::AlignLeft);
|
list_dropboxes_view->setWordWrap(false);
|
||||||
list_dropboxes_view->addColumn(tr("Path"));
|
list_dropboxes_model=new RDDropboxListModel(stationname,this);
|
||||||
list_dropboxes_view->setColumnAlignment(2,Qt::AlignLeft);
|
list_dropboxes_model->setFont(defaultFont());
|
||||||
list_dropboxes_view->addColumn(tr("Normalization Level"));
|
list_dropboxes_model->setPalette(palette());
|
||||||
list_dropboxes_view->setColumnAlignment(3,Qt::AlignCenter);
|
list_dropboxes_view->setModel(list_dropboxes_model);
|
||||||
list_dropboxes_view->addColumn(tr("Autotrim Level"));
|
connect(list_dropboxes_view,SIGNAL(doubleClicked(const QModelIndex &)),
|
||||||
list_dropboxes_view->setColumnAlignment(4,Qt::AlignCenter);
|
this,SLOT(doubleClickedData(const QModelIndex &)));
|
||||||
list_dropboxes_view->addColumn(tr("To Cart"));
|
connect(list_dropboxes_model,SIGNAL(modelReset()),
|
||||||
list_dropboxes_view->setColumnAlignment(5,Qt::AlignCenter);
|
list_dropboxes_view,SLOT(resizeColumnsToContents()));
|
||||||
list_dropboxes_view->addColumn(tr("Use CartChunk ID"));
|
list_dropboxes_view->resizeColumnsToContents();
|
||||||
list_dropboxes_view->setColumnAlignment(6,Qt::AlignCenter);
|
|
||||||
list_dropboxes_view->addColumn(tr("Delete Cuts"));
|
|
||||||
list_dropboxes_view->setColumnAlignment(7,Qt::AlignCenter);
|
|
||||||
list_dropboxes_view->addColumn(tr("Metadata Pattern"));
|
|
||||||
list_dropboxes_view->setColumnAlignment(8,Qt::AlignCenter);
|
|
||||||
list_dropboxes_view->addColumn(tr("Fix Broken Formats"));
|
|
||||||
list_dropboxes_view->setColumnAlignment(9,Qt::AlignCenter);
|
|
||||||
list_dropboxes_view->addColumn(tr("User Defined"));
|
|
||||||
list_dropboxes_view->setColumnAlignment(10,Qt::AlignLeft);
|
|
||||||
connect(list_dropboxes_view,
|
|
||||||
SIGNAL(doubleClicked(Q3ListViewItem *,const QPoint &,int)),
|
|
||||||
this,
|
|
||||||
SLOT(doubleClickedData(Q3ListViewItem *,const QPoint &,int)));
|
|
||||||
|
|
||||||
RefreshList();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -142,6 +125,10 @@ void ListDropboxes::addData()
|
|||||||
delete box;
|
delete box;
|
||||||
EditDropbox *edit_dropbox=new EditDropbox(id,false,this);
|
EditDropbox *edit_dropbox=new EditDropbox(id,false,this);
|
||||||
if(edit_dropbox->exec()) {
|
if(edit_dropbox->exec()) {
|
||||||
|
QModelIndex row=list_dropboxes_model->addDropbox(id);
|
||||||
|
if(row.isValid()) {
|
||||||
|
list_dropboxes_view->selectRow(row.row());
|
||||||
|
}
|
||||||
RDNotification *notify=new RDNotification(RDNotification::DropboxType,
|
RDNotification *notify=new RDNotification(RDNotification::DropboxType,
|
||||||
RDNotification::AddAction,
|
RDNotification::AddAction,
|
||||||
list_stationname);
|
list_stationname);
|
||||||
@ -155,47 +142,48 @@ void ListDropboxes::addData()
|
|||||||
delete edit_dropbox;
|
delete edit_dropbox;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
RDListViewItem *item=new RDListViewItem(list_dropboxes_view);
|
|
||||||
item->setId(id);
|
|
||||||
RefreshItem(item);
|
|
||||||
item->setSelected(true);
|
|
||||||
list_dropboxes_view->setCurrentItem(item);
|
|
||||||
list_dropboxes_view->ensureItemVisible(item);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ListDropboxes::editData()
|
void ListDropboxes::editData()
|
||||||
{
|
{
|
||||||
RDListViewItem *item=(RDListViewItem *)list_dropboxes_view->selectedItem();
|
QModelIndexList rows=list_dropboxes_view->selectionModel()->selectedRows();
|
||||||
if(item==NULL) {
|
|
||||||
|
if(rows.size()!=1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
EditDropbox *edit_dropbox=new EditDropbox(item->id(),false,this);
|
EditDropbox *d=
|
||||||
if(edit_dropbox->exec()) {
|
new EditDropbox(list_dropboxes_model->dropboxId(rows.first()),false,this);
|
||||||
|
if(d->exec()) {
|
||||||
|
list_dropboxes_model->refresh(rows.first());
|
||||||
RDNotification *notify=new RDNotification(RDNotification::DropboxType,
|
RDNotification *notify=new RDNotification(RDNotification::DropboxType,
|
||||||
RDNotification::ModifyAction,
|
RDNotification::ModifyAction,
|
||||||
list_stationname);
|
list_stationname);
|
||||||
rda->ripc()->sendNotification(*notify);
|
rda->ripc()->sendNotification(*notify);
|
||||||
delete notify;
|
delete notify;
|
||||||
}
|
}
|
||||||
delete edit_dropbox;
|
delete d;
|
||||||
RefreshItem(item);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ListDropboxes::duplicateData()
|
void ListDropboxes::duplicateData()
|
||||||
{
|
{
|
||||||
RDListViewItem *item=(RDListViewItem *)list_dropboxes_view->selectedItem();
|
QModelIndexList rows=list_dropboxes_view->selectionModel()->selectedRows();
|
||||||
if(item==NULL) {
|
|
||||||
|
if(rows.size()!=1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
int box_id=list_dropboxes_model->dropboxId(rows.first());
|
||||||
RDDropbox *src_box=new RDDropbox(item->id(),list_stationname);
|
RDDropbox *src_box=new RDDropbox(box_id,list_stationname);
|
||||||
int new_box_id=src_box->duplicate();
|
int new_box_id=src_box->duplicate();
|
||||||
delete src_box;
|
delete src_box;
|
||||||
|
|
||||||
EditDropbox *edit_dropbox=new EditDropbox(new_box_id,true,this);
|
EditDropbox *d=new EditDropbox(new_box_id,true,this);
|
||||||
if(edit_dropbox->exec()) {
|
if(d->exec()) {
|
||||||
|
QModelIndex index=list_dropboxes_model->addDropbox(new_box_id);
|
||||||
|
if(index.isValid()) {
|
||||||
|
list_dropboxes_view->selectRow(index.row());
|
||||||
|
}
|
||||||
RDNotification *notify=new RDNotification(RDNotification::DropboxType,
|
RDNotification *notify=new RDNotification(RDNotification::DropboxType,
|
||||||
RDNotification::AddAction,
|
RDNotification::AddAction,
|
||||||
list_stationname);
|
list_stationname);
|
||||||
@ -203,50 +191,41 @@ void ListDropboxes::duplicateData()
|
|||||||
delete notify;
|
delete notify;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QString sql=QString().sprintf("delete from DROPBOXES where ID=%d",new_box_id);
|
QString sql=QString().sprintf("delete from DROPBOXES where ID=%d",
|
||||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
new_box_id);
|
||||||
delete q;
|
RDSqlQuery::apply(sql);
|
||||||
delete edit_dropbox;
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
item=new RDListViewItem(list_dropboxes_view);
|
delete d;
|
||||||
item->setId(new_box_id);
|
|
||||||
RefreshItem(item);
|
|
||||||
item->setSelected(true);
|
|
||||||
list_dropboxes_view->setCurrentItem(item);
|
|
||||||
list_dropboxes_view->ensureItemVisible(item);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ListDropboxes::deleteData()
|
void ListDropboxes::deleteData()
|
||||||
{
|
{
|
||||||
QString sql;
|
QString sql;
|
||||||
RDSqlQuery *q;
|
QModelIndexList rows=list_dropboxes_view->selectionModel()->selectedRows();
|
||||||
RDListViewItem *item=(RDListViewItem *)list_dropboxes_view->selectedItem();
|
|
||||||
if(item==NULL) {
|
if(rows.size()!=1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
int box_id=list_dropboxes_model->dropboxId(rows.first());
|
||||||
sql=QString().sprintf("delete from DROPBOX_PATHS where DROPBOX_ID=%d",
|
sql=QString().sprintf("delete from DROPBOX_PATHS where DROPBOX_ID=%d",
|
||||||
item->id());
|
box_id);
|
||||||
q=new RDSqlQuery(sql);
|
RDSqlQuery::apply(sql);
|
||||||
delete q;
|
|
||||||
|
|
||||||
sql=QString().sprintf("delete from DROPBOXES where ID=%d",item->id());
|
sql=QString().sprintf("delete from DROPBOXES where ID=%d",box_id);
|
||||||
q=new RDSqlQuery(sql);
|
RDSqlQuery::apply(sql);
|
||||||
delete q;
|
|
||||||
|
list_dropboxes_model->removeDropbox(box_id);
|
||||||
|
|
||||||
RDNotification *notify=new RDNotification(RDNotification::DropboxType,
|
RDNotification *notify=new RDNotification(RDNotification::DropboxType,
|
||||||
RDNotification::DeleteAction,
|
RDNotification::DeleteAction,
|
||||||
list_stationname);
|
list_stationname);
|
||||||
rda->ripc()->sendNotification(*notify);
|
rda->ripc()->sendNotification(*notify);
|
||||||
delete notify;
|
delete notify;
|
||||||
|
|
||||||
delete item;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ListDropboxes::doubleClickedData(Q3ListViewItem *item,const QPoint &pt,
|
void ListDropboxes::doubleClickedData(const QModelIndex &index)
|
||||||
int col)
|
|
||||||
{
|
{
|
||||||
editData();
|
editData();
|
||||||
}
|
}
|
||||||
@ -268,102 +247,3 @@ void ListDropboxes::resizeEvent(QResizeEvent *e)
|
|||||||
list_dropboxes_view->
|
list_dropboxes_view->
|
||||||
setGeometry(10,10,size().width()-120,size().height()-40);
|
setGeometry(10,10,size().width()-120,size().height()-40);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ListDropboxes::RefreshList()
|
|
||||||
{
|
|
||||||
QString sql;
|
|
||||||
RDSqlQuery *q;
|
|
||||||
RDListViewItem *item;
|
|
||||||
|
|
||||||
list_dropboxes_view->clear();
|
|
||||||
sql=QString("select ")+
|
|
||||||
"DROPBOXES.ID,"+ // 00
|
|
||||||
"DROPBOXES.GROUP_NAME,"+ // 01
|
|
||||||
"DROPBOXES.PATH,"+ // 02
|
|
||||||
"DROPBOXES.NORMALIZATION_LEVEL,"+ // 03
|
|
||||||
"DROPBOXES.AUTOTRIM_LEVEL,"+ // 04
|
|
||||||
"DROPBOXES.TO_CART,"+ // 05
|
|
||||||
"DROPBOXES.USE_CARTCHUNK_ID,"+ // 06
|
|
||||||
"DROPBOXES.DELETE_CUTS,"+ // 07
|
|
||||||
"DROPBOXES.METADATA_PATTERN,"+ // 08
|
|
||||||
"DROPBOXES.FIX_BROKEN_FORMATS,"+ // 09
|
|
||||||
"DROPBOXES.SET_USER_DEFINED,"+ // 10
|
|
||||||
"GROUPS.COLOR "+ // 11
|
|
||||||
"from DROPBOXES left join GROUPS "+
|
|
||||||
"on DROPBOXES.GROUP_NAME=GROUPS.NAME where "+
|
|
||||||
"DROPBOXES.STATION_NAME=\""+RDEscapeString(list_stationname)+"\"";
|
|
||||||
q=new RDSqlQuery(sql);
|
|
||||||
while (q->next()) {
|
|
||||||
item=new RDListViewItem(list_dropboxes_view);
|
|
||||||
WriteItem(item,q);
|
|
||||||
}
|
|
||||||
delete q;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void ListDropboxes::RefreshItem(RDListViewItem *item)
|
|
||||||
{
|
|
||||||
QString sql;
|
|
||||||
RDSqlQuery *q;
|
|
||||||
|
|
||||||
sql=QString("select ")+
|
|
||||||
"DROPBOXES.ID,"+ // 00
|
|
||||||
"DROPBOXES.GROUP_NAME,"+ // 01
|
|
||||||
"DROPBOXES.PATH,"+ // 02
|
|
||||||
"DROPBOXES.NORMALIZATION_LEVEL,"+ // 03
|
|
||||||
"DROPBOXES.AUTOTRIM_LEVEL,"+ // 04
|
|
||||||
"DROPBOXES.TO_CART,"+ // 05
|
|
||||||
"DROPBOXES.USE_CARTCHUNK_ID,"+ // 06
|
|
||||||
"DROPBOXES.DELETE_CUTS,"+ // 07
|
|
||||||
"DROPBOXES.METADATA_PATTERN,"+ // 08
|
|
||||||
"DROPBOXES.FIX_BROKEN_FORMATS,"+ // 09
|
|
||||||
"DROPBOXES.SET_USER_DEFINED,"+ // 10
|
|
||||||
"GROUPS.COLOR "+ // 11
|
|
||||||
"from DROPBOXES left join GROUPS on "+
|
|
||||||
"DROPBOXES.GROUP_NAME=GROUPS.NAME where "+
|
|
||||||
QString().sprintf("DROPBOXES.ID=%d",item->id());
|
|
||||||
q=new RDSqlQuery(sql);
|
|
||||||
if(q->next()) {
|
|
||||||
WriteItem(item,q);
|
|
||||||
}
|
|
||||||
delete q;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void ListDropboxes::WriteItem(RDListViewItem *item,RDSqlQuery *q)
|
|
||||||
{
|
|
||||||
item->setId(q->value(0).toInt());
|
|
||||||
item->setText(0,QString().sprintf("%d",q->value(0).toInt()));
|
|
||||||
item->setText(1,q->value(1).toString());
|
|
||||||
item->setTextColor(1,q->value(11).toString(),QFont::Bold);
|
|
||||||
item->setText(2,q->value(2).toString());
|
|
||||||
if(q->value(3).toInt()<0) {
|
|
||||||
item->setText(3,QString().sprintf("%d",q->value(3).toInt()/100));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
item->setText(3,tr("[off]"));
|
|
||||||
}
|
|
||||||
if(q->value(4).toInt()<0) {
|
|
||||||
item->setText(4,QString().sprintf("%d",q->value(4).toInt()/100));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
item->setText(4,tr("[off]"));
|
|
||||||
}
|
|
||||||
if(q->value(5).toUInt()>0) {
|
|
||||||
item->setText(5,QString().sprintf("%06u",q->value(5).toUInt()));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
item->setText(5,tr("[auto]"));
|
|
||||||
}
|
|
||||||
item->setText(6,q->value(6).toString());
|
|
||||||
item->setText(7,q->value(7).toString());
|
|
||||||
if(q->value(8).toString().isEmpty()) {
|
|
||||||
item->setText(8,tr("[none]"));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
item->setText(8,q->value(8).toString());
|
|
||||||
}
|
|
||||||
item->setText(9,q->value(9).toString());
|
|
||||||
item->setText(10,q->value(10).toString());
|
|
||||||
}
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// List Rivendell Dropbox Configurations
|
// List Rivendell Dropbox Configurations
|
||||||
//
|
//
|
||||||
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// This program is free software; you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License version 2 as
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@ -21,11 +21,12 @@
|
|||||||
#ifndef LIST_DROPBOXES_H
|
#ifndef LIST_DROPBOXES_H
|
||||||
#define LIST_DROPBOXES_H
|
#define LIST_DROPBOXES_H
|
||||||
|
|
||||||
#include <qpushbutton.h>
|
#include <QPushButton>
|
||||||
|
#include <QTableView>
|
||||||
|
|
||||||
#include <rddb.h>
|
#include <rddb.h>
|
||||||
#include <rddialog.h>
|
#include <rddialog.h>
|
||||||
#include <rdlistviewitem.h>
|
#include <rddropboxlistmodel.h>
|
||||||
|
|
||||||
class ListDropboxes : public RDDialog
|
class ListDropboxes : public RDDialog
|
||||||
{
|
{
|
||||||
@ -41,17 +42,15 @@ class ListDropboxes : public RDDialog
|
|||||||
void editData();
|
void editData();
|
||||||
void duplicateData();
|
void duplicateData();
|
||||||
void deleteData();
|
void deleteData();
|
||||||
void doubleClickedData(Q3ListViewItem *item,const QPoint &pt,int col);
|
void doubleClickedData(const QModelIndex &index);
|
||||||
void closeData();
|
void closeData();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void resizeEvent(QResizeEvent *e);
|
void resizeEvent(QResizeEvent *e);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void RefreshList();
|
QTableView *list_dropboxes_view;
|
||||||
void RefreshItem(RDListViewItem *item);
|
RDDropboxListModel *list_dropboxes_model;
|
||||||
void WriteItem(RDListViewItem *item,RDSqlQuery *q);
|
|
||||||
RDListView *list_dropboxes_view;
|
|
||||||
QPushButton *list_add_button;
|
QPushButton *list_add_button;
|
||||||
QPushButton *list_edit_button;
|
QPushButton *list_edit_button;
|
||||||
QPushButton *list_duplicate_button;
|
QPushButton *list_duplicate_button;
|
||||||
|
@ -5044,55 +5044,51 @@ Jste si jistý, že chcete pokračovat?</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Group</source>
|
<source>Group</source>
|
||||||
<translation>Skupina</translation>
|
<translation type="obsolete">Skupina</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Path</source>
|
<source>Path</source>
|
||||||
<translation>Cesta</translation>
|
<translation type="obsolete">Cesta</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Normalization Level</source>
|
<source>Normalization Level</source>
|
||||||
<translation>Úroveň normalizace</translation>
|
<translation type="obsolete">Úroveň normalizace</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Autotrim Level</source>
|
<source>Autotrim Level</source>
|
||||||
<translation>Úroveň automatického zastřižení</translation>
|
<translation type="obsolete">Úroveň automatického zastřižení</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>To Cart</source>
|
<source>To Cart</source>
|
||||||
<translation>Do vozíku</translation>
|
<translation type="obsolete">Do vozíku</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Use CartChunk ID</source>
|
<source>Use CartChunk ID</source>
|
||||||
<translation>Použít ID kousku vozík</translation>
|
<translation type="obsolete">Použít ID kousku vozík</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Cuts</source>
|
<source>Delete Cuts</source>
|
||||||
<translation>Smazat záběry</translation>
|
<translation type="obsolete">Smazat záběry</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Metadata Pattern</source>
|
<source>Metadata Pattern</source>
|
||||||
<translation>Vzor pro popisná data</translation>
|
<translation type="obsolete">Vzor pro popisná data</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Fix Broken Formats</source>
|
<source>Fix Broken Formats</source>
|
||||||
<translation>Opravit poškozené formáty</translation>
|
<translation type="obsolete">Opravit poškozené formáty</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>[off]</source>
|
<source>[off]</source>
|
||||||
<translation>[vypnuto]</translation>
|
<translation type="obsolete">[vypnuto]</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>[auto]</source>
|
<source>[auto]</source>
|
||||||
<translation>[automaticky]</translation>
|
<translation type="obsolete">[automaticky]</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>[none]</source>
|
<source>[none]</source>
|
||||||
<translation>[žádný]</translation>
|
<translation type="obsolete">[žádný]</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>User Defined</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Rivendell Dropbox Configurations on</source>
|
<source>Rivendell Dropbox Configurations on</source>
|
||||||
@ -5102,10 +5098,6 @@ Jste si jistý, že chcete pokračovat?</translation>
|
|||||||
<source>D&uplicate</source>
|
<source>D&uplicate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ListEncoders</name>
|
<name>ListEncoders</name>
|
||||||
|
@ -4764,57 +4764,13 @@ anzeigen</translation>
|
|||||||
<source>&Close</source>
|
<source>&Close</source>
|
||||||
<translation type="unfinished">&Schliessen</translation>
|
<translation type="unfinished">&Schliessen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Path</source>
|
<source>Path</source>
|
||||||
<translation type="unfinished">Pfad</translation>
|
<translation type="obsolete">Pfad</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Normalization Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Autotrim Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>To Cart</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Use CartChunk ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Delete Cuts</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Metadata Pattern</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Fix Broken Formats</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[off]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[auto]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>[none]</source>
|
<source>[none]</source>
|
||||||
<translation type="unfinished">[keine]</translation>
|
<translation type="obsolete">[keine]</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>User Defined</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Rivendell Dropbox Configurations on</source>
|
<source>Rivendell Dropbox Configurations on</source>
|
||||||
@ -4824,10 +4780,6 @@ anzeigen</translation>
|
|||||||
<source>D&uplicate</source>
|
<source>D&uplicate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ListEncoders</name>
|
<name>ListEncoders</name>
|
||||||
|
@ -4995,55 +4995,51 @@ Are you sure you want to continue?</source>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Group</source>
|
<source>Group</source>
|
||||||
<translation>Grupo</translation>
|
<translation type="obsolete">Grupo</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Path</source>
|
<source>Path</source>
|
||||||
<translation>Carpeta</translation>
|
<translation type="obsolete">Carpeta</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Normalization Level</source>
|
<source>Normalization Level</source>
|
||||||
<translation>Nivel de Normalización</translation>
|
<translation type="obsolete">Nivel de Normalización</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Autotrim Level</source>
|
<source>Autotrim Level</source>
|
||||||
<translation>Nivel de AutoRecorte</translation>
|
<translation type="obsolete">Nivel de AutoRecorte</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>To Cart</source>
|
<source>To Cart</source>
|
||||||
<translation>A Cartucho</translation>
|
<translation type="obsolete">A Cartucho</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Use CartChunk ID</source>
|
<source>Use CartChunk ID</source>
|
||||||
<translation>Usar ID de CartChunk</translation>
|
<translation type="obsolete">Usar ID de CartChunk</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Delete Cuts</source>
|
<source>Delete Cuts</source>
|
||||||
<translation>Borrar audios</translation>
|
<translation type="obsolete">Borrar audios</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Metadata Pattern</source>
|
<source>Metadata Pattern</source>
|
||||||
<translation>Patrón de metadatos</translation>
|
<translation type="obsolete">Patrón de metadatos</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Fix Broken Formats</source>
|
<source>Fix Broken Formats</source>
|
||||||
<translation>Arreglar formatos rotos</translation>
|
<translation type="obsolete">Arreglar formatos rotos</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>[off]</source>
|
<source>[off]</source>
|
||||||
<translation>[apagado]</translation>
|
<translation type="obsolete">[apagado]</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>[auto]</source>
|
<source>[auto]</source>
|
||||||
<translation>[auto]</translation>
|
<translation type="obsolete">[auto]</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>[none]</source>
|
<source>[none]</source>
|
||||||
<translation>[ninguno]</translation>
|
<translation type="obsolete">[ninguno]</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>User Defined</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Rivendell Dropbox Configurations on</source>
|
<source>Rivendell Dropbox Configurations on</source>
|
||||||
@ -5053,10 +5049,6 @@ Are you sure you want to continue?</source>
|
|||||||
<source>D&uplicate</source>
|
<source>D&uplicate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ListEncoders</name>
|
<name>ListEncoders</name>
|
||||||
|
@ -3915,58 +3915,6 @@ Permissions</source>
|
|||||||
<source>&Close</source>
|
<source>&Close</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Path</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Normalization Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Autotrim Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>To Cart</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Use CartChunk ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Delete Cuts</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Metadata Pattern</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Fix Broken Formats</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[off]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[auto]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[none]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>User Defined</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Rivendell Dropbox Configurations on</source>
|
<source>Rivendell Dropbox Configurations on</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
@ -3975,10 +3923,6 @@ Permissions</source>
|
|||||||
<source>D&uplicate</source>
|
<source>D&uplicate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ListEncoders</name>
|
<name>ListEncoders</name>
|
||||||
|
@ -4673,57 +4673,9 @@ Klikk på "Lisens"-knappen for fleire opplysningar.</translation>
|
|||||||
<source>&Close</source>
|
<source>&Close</source>
|
||||||
<translation type="unfinished">&Lukk</translation>
|
<translation type="unfinished">&Lukk</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Path</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Normalization Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Autotrim Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>To Cart</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Use CartChunk ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Delete Cuts</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Metadata Pattern</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Fix Broken Formats</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[off]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[auto]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>[none]</source>
|
<source>[none]</source>
|
||||||
<translation type="unfinished">[ingen]</translation>
|
<translation type="obsolete">[ingen]</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>User Defined</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Rivendell Dropbox Configurations on</source>
|
<source>Rivendell Dropbox Configurations on</source>
|
||||||
@ -4733,10 +4685,6 @@ Klikk på "Lisens"-knappen for fleire opplysningar.</translation>
|
|||||||
<source>D&uplicate</source>
|
<source>D&uplicate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ListEncoders</name>
|
<name>ListEncoders</name>
|
||||||
|
@ -4673,57 +4673,9 @@ Klikk på "Lisens"-knappen for fleire opplysningar.</translation>
|
|||||||
<source>&Close</source>
|
<source>&Close</source>
|
||||||
<translation type="unfinished">&Lukk</translation>
|
<translation type="unfinished">&Lukk</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Path</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Normalization Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Autotrim Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>To Cart</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Use CartChunk ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Delete Cuts</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Metadata Pattern</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Fix Broken Formats</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[off]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[auto]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>[none]</source>
|
<source>[none]</source>
|
||||||
<translation type="unfinished">[ingen]</translation>
|
<translation type="obsolete">[ingen]</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>User Defined</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Rivendell Dropbox Configurations on</source>
|
<source>Rivendell Dropbox Configurations on</source>
|
||||||
@ -4733,10 +4685,6 @@ Klikk på "Lisens"-knappen for fleire opplysningar.</translation>
|
|||||||
<source>D&uplicate</source>
|
<source>D&uplicate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ListEncoders</name>
|
<name>ListEncoders</name>
|
||||||
|
@ -4744,57 +4744,13 @@ FINALIDADE PARTICULAR. Aperte o botão VER LICENÇA para mais detalhes.</transl
|
|||||||
<source>&Close</source>
|
<source>&Close</source>
|
||||||
<translation type="unfinished">&Fechar</translation>
|
<translation type="unfinished">&Fechar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>Group</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Path</source>
|
<source>Path</source>
|
||||||
<translation type="unfinished">Caminho</translation>
|
<translation type="obsolete">Caminho</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Normalization Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Autotrim Level</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>To Cart</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Use CartChunk ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Delete Cuts</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Metadata Pattern</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>Fix Broken Formats</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[off]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>[auto]</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>[none]</source>
|
<source>[none]</source>
|
||||||
<translation type="unfinished">[Nenhum]</translation>
|
<translation type="obsolete">[Nenhum]</translation>
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<source>User Defined</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Rivendell Dropbox Configurations on</source>
|
<source>Rivendell Dropbox Configurations on</source>
|
||||||
@ -4804,10 +4760,6 @@ FINALIDADE PARTICULAR. Aperte o botão VER LICENÇA para mais detalhes.</transl
|
|||||||
<source>D&uplicate</source>
|
<source>D&uplicate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<source>ID</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ListEncoders</name>
|
<name>ListEncoders</name>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user