diff options
author | Arno <am@disconnect.de> | 2010-06-26 15:24:00 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-06-26 15:24:00 +0200 |
commit | 0b807eba97e65bf9e25f83387826ef2579b79c90 (patch) | |
tree | 9a86166a4ebd77d95e9a26b723c49ebab417e337 /shemov.pro | |
parent | 6567a92bec5ca8b2bc6b7156bddc5ba8508f31b3 (diff) | |
download | SheMov-0b807eba97e65bf9e25f83387826ef2579b79c90.tar.gz SheMov-0b807eba97e65bf9e25f83387826ef2579b79c90.tar.bz2 SheMov-0b807eba97e65bf9e25f83387826ef2579b79c90.zip |
Actors and genre edit
Implemented widgets for actor and genre editing of movies. Created new
MappingTableWidget for both genres and actors and revamped
ArchiveTreeView to show 2 widgets below the FilesTreeView separated by a
splitter.
While testing the new setup several bugs were fixed:
-an SQL syntax error in FilesTreeModel
-fixed SmModelSingleton to properly work with table names
I also changed the signature of MappingTableModel::addMapping for the
ease of use and added MappingTableModel::removeMapping.
MappingTableModel got 2 new convenience functions:
1. bool contains(QString) to check if an item is already present
2. QModelIndex find() to get the index of a specific value from the
model.
Diffstat (limited to 'shemov.pro')
-rw-r--r-- | shemov.pro | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -54,7 +54,8 @@ SOURCES = main.cpp \ seriestreemodel.cpp \ filestreemodel.cpp \ filestreewidget.cpp \ - mappingtablemodel.cpp + mappingtablemodel.cpp \ + mappingtablewidget.cpp HEADERS = listitem.h \ listmodel.h \ movieitem.h \ @@ -104,6 +105,7 @@ HEADERS = listitem.h \ seriestreemodel.h \ filestreemodel.h \ filestreewidget.h \ - mappingtablemodel.h + mappingtablemodel.h \ + mappingtablewidget.h LIBS += -lmagic RESOURCES = shemov.qrc |