2020-07-02 Fred Gleason <fredg@paravelsystems.com>

* Added a 'FEEDS.CHANNEL_SUB_CATEGORY' field to the database.
	* Incremented the database version to 327.
	* Added 'RDFeed::channelSubCategory()' and
	'RDFeed::setChannelSubCategory()' methods.
	* Added a 'RDRssCategoryBox' widget.
	* Updated the 'Edit Feed' dialog in rdadmin(1) to use the
	'RDRssCategoryBox' widget.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-07-02 17:26:39 -04:00
parent 65597281a1
commit 8bae1332c0
21 changed files with 524 additions and 20 deletions

View File

@@ -34,6 +34,7 @@
#include <rdfeed.h>
#include <rdimagepickerbox.h>
#include <rdsettings.h>
#include <rdrsscategorybox.h>
#include <rdstation.h>
#include "list_images.h"
@@ -48,7 +49,8 @@ class EditFeed : public RDDialog
QSizePolicy sizePolicy() const;
private slots:
void comboboxActivatedData(int n);
void superfeedActivatedData(int n);
void schemaActivatedData(int n);
void checkboxToggledData(bool state);
void lineeditChangedData(const QString &str);
void selectSubfeedsData();
@@ -73,7 +75,8 @@ class EditFeed : public RDDialog
QComboBox *feed_is_superfeed_box;
QLineEdit *feed_channel_title_edit;
QTextEdit *feed_channel_description_edit;
QLineEdit *feed_channel_category_edit;
QLabel *feed_channel_category_label;
RDRssCategoryBox *feed_channel_category_box;
QLineEdit *feed_channel_link_edit;
QLineEdit *feed_channel_copyright_edit;
QLabel *feed_channel_editor_label;
@@ -120,7 +123,6 @@ class EditFeed : public RDDialog
QPushButton *feed_format_button;
QGroupBox *feed_channel_section_groupbox;
QLabel *feed_channel_title_label;
QLabel *feed_channel_category_label;
QLabel *feed_channel_link_label;
QLabel *feed_channel_copyright_label;
QLabel *feed_channel_language_label;