MythTV  master
smartplaylist.h
Go to the documentation of this file.
1 #ifndef SMARTPLAYLIST_H_
2 #define SMARTPLAYLIST_H_
3 
4 // c/c++
5 #include <utility>
6 #include <vector>
7 
8 class MythUIButton;
9 
10 // qt
11 #include <QDateTime>
12 #include <QVariant>
13 #include <QKeyEvent>
14 #include <QCoreApplication>
15 
16 // mythtv
17 #include <mythscreentype.h>
18 
19 struct SmartPLOperator;
20 struct SmartPLField;
21 
23 {
24  ftString = 1,
28 };
29 
30 // used by playlist.cpp
31 QString getCriteriaSQL(const QString& fieldName, const QString &operatorName,
32  QString value1, QString value2);
33 
34 QString getSQLFieldName(const QString &fieldName);
35 QString getOrderBySQL(const QString& orderByFields);
36 
37 // used by playbackbox.cpp
38 QString formattedFieldValue(const QVariant &value);
39 
40 /*
42 */
43 
45 {
47 
48  public:
49 
50  SmartPLCriteriaRow(QString field, QString op,
51  QString value1, QString value2)
52  : m_field(std::move(field)), m_operator(std::move(op)),
53  m_value1(std::move(value1)), m_value2(std::move(value2)) {}
54  SmartPLCriteriaRow(void) = default;
55  ~SmartPLCriteriaRow(void) = default;
56 
57  QString getSQL(void) const;
58 
59  bool saveToDatabase(int smartPlaylistID) const;
60 
61  QString toString(void) const;
62 
63  public:
64  QString m_field;
65  QString m_operator;
66  QString m_value1;
67  QString m_value2;
68 };
69 
71 
73 {
74  Q_OBJECT
75  public:
76 
78  : MythScreenType(parent, "smartplaylisteditor") {}
79  ~SmartPlaylistEditor(void) override;
80 
81  bool Create(void) override; // MythScreenType
82 
83  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
84  void customEvent(QEvent *event) override; // MythUIType
85 
86  QString getSQL(const QString& fields);
87  QString getWhereClause(void);
88  QString getOrderByClause(void);
89  void getCategoryAndName(QString &category, QString &name);
90  void newSmartPlaylist(const QString& category);
91  void editSmartPlaylist(const QString& category, const QString& name);
92  static bool deleteSmartPlaylist(const QString &category, const QString& name);
93  static bool deleteCategory(const QString& category);
94  static int lookupCategoryID(const QString& category);
95 
96  signals:
97  void smartPLChanged(const QString &category, const QString &name);
98 
99  protected slots:
100 
101  void titleChanged(void);
102  void updateMatches(void);
103 // void categoryClicked(void);
104  void saveClicked(void);
105  void showResultsClicked(void);
106 
107  void showCategoryMenu(void);
108  void showCriteriaMenu(void);
109 
110  void newCategory(const QString &category);
111  void startDeleteCategory(const QString &category);
112  void renameCategory(const QString &category);
113 
114 // void categoryEditChanged(void);
115  void orderByClicked(void);
116 
117  void editCriteria(void);
118  void addCriteria(void);
119  void deleteCriteria(void);
120  void doDeleteCriteria(bool doit);
121  void criteriaChanged();
122  void orderByChanged(const QString& orderBy);
123 
124  private:
125  void getSmartPlaylistCategories(void);
126  void loadFromDatabase(const QString& category, const QString& name);
127 
128  QList<SmartPLCriteriaRow*> m_criteriaRows {};
130 
131  int m_matchesCount {0};
132  bool m_newPlaylist {false};
133  bool m_playlistIsValid {false};
135  QString m_originalName;
136 
137  // gui stuff
150 };
151 
153 {
154  Q_OBJECT
155  public:
156 
158  : MythScreenType(parent, "CriteriaRowEditor"),
159  m_criteriaRow(row) {}
160  ~CriteriaRowEditor(void) override = default;
161 
162  bool Create(void) override; // MythScreenType
163 
164  protected slots:
165  void fieldChanged(void);
166  void operatorChanged(void);
167  void valueEditChanged(void);
168  void valueButtonClicked(void);
169  void setValue(const QString& value);
170  void setDate(const QString& date);
171  void saveClicked(void);
172 
173  signals:
174  void criteriaChanged();
175 
176  private:
177  void updateFields(void);
178  void updateOperators(void);
179  void updateValues(void);
180  void enableSaveButton(void);
181 
182  void getOperatorList(SmartPLFieldType fieldType);
183 
184  void editDate(void);
185 
187 
188  QStringList m_searchList;
189 
190  // gui stuff
193 
196 
199 
202 
205 
206  MythUIText *m_andText {nullptr};
207 
210 };
211 
212 
214 {
215  Q_OBJECT
216 
217  public:
218 
220  : MythScreenType(parent, "SmartPLResultViewer") {}
221  ~SmartPLResultViewer(void) override = default;
222 
223  bool Create(void) override; // MythScreenType
224  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
225  void setSQL(const QString& sql);
226 
227  private slots:
228  static void trackVisible(MythUIButtonListItem *item);
230 
231  private:
232  void showTrackInfo(void);
233 
236 };
237 
238 
240 {
241  Q_OBJECT
242 
243  public:
244 
246  :MythScreenType(parent, "SmartPLOrderByDialog") {}
247  ~SmartPLOrderByDialog() override = default;
248 
249  bool Create(void) override; // MythScreenType
250 
251  QString getFieldList(void);
252  void setFieldList(const QString &fieldList);
253 
254  signals:
255  void orderByChanged(QString orderBy);
256 
257  protected slots:
258  void addPressed(void);
259  void deletePressed(void);
260  void moveUpPressed(void);
261  void moveDownPressed(void);
262  void ascendingPressed(void);
263  void descendingPressed(void);
264  void okPressed(void);
265  void orderByChanged(void);
266  void orderByChanged(MythUIButtonListItem */*item*/);
268 
269  private:
270  void getOrderByFields(void);
271 
282 };
283 
285 {
286  Q_OBJECT
287 
288  public:
289 
291  :MythScreenType(parent, "SmartPLDateDialog") {}
292  ~SmartPLDateDialog() override = default;
293 
294  bool Create(void) override; // MythScreenType
295 
296  QString getDate(void);
297  void setDate(QString date);
298 
299  signals:
300  void dateChanged(QString date);
301 
302  protected slots:
303  void okPressed(void);
304  void fixedCheckToggled(bool on);
305  void nowCheckToggled(bool on);
306  void valueChanged(void);
307 
308  private:
309 
310  bool m_updating {false};
311 
316 
319 
321 
324 };
325 
326 #endif
SmartPLOrderByDialog::m_moveUpButton
MythUIButton * m_moveUpButton
Definition: smartplaylist.h:276
SmartPLResultViewer::m_positionText
MythUIText * m_positionText
Definition: smartplaylist.h:235
SmartPLResultViewer::setSQL
void setSQL(const QString &sql)
Definition: smartplaylist.cpp:1729
SmartPLOrderByDialog::moveDownPressed
void moveDownPressed(void)
Definition: smartplaylist.cpp:1907
SmartPlaylistEditor::loadFromDatabase
void loadFromDatabase(const QString &category, const QString &name)
Definition: smartplaylist.cpp:811
CriteriaRowEditor::m_andText
MythUIText * m_andText
Definition: smartplaylist.h:206
CriteriaRowEditor::valueEditChanged
void valueEditChanged(void)
Definition: smartplaylist.cpp:1275
SmartPLDateDialog::SmartPLDateDialog
SmartPLDateDialog(MythScreenStack *parent)
Definition: smartplaylist.h:290
SmartPLResultViewer::~SmartPLResultViewer
~SmartPLResultViewer(void) override=default
SmartPlaylistEditor::lookupCategoryID
static int lookupCategoryID(const QString &category)
Definition: smartplaylist.cpp:1168
CriteriaRowEditor::m_value2Spinbox
MythUISpinBox * m_value2Spinbox
Definition: smartplaylist.h:201
SmartPlaylistEditor::deleteSmartPlaylist
static bool deleteSmartPlaylist(const QString &category, const QString &name)
Definition: smartplaylist.cpp:1085
SmartPLDateDialog::m_statusText
MythUIText * m_statusText
Definition: smartplaylist.h:320
CriteriaRowEditor::m_value1Edit
MythUITextEdit * m_value1Edit
Definition: smartplaylist.h:194
SmartPLOrderByDialog
Definition: smartplaylist.h:239
SmartPlaylistEditor::orderByChanged
void orderByChanged(const QString &orderBy)
Definition: smartplaylist.cpp:1050
SmartPlaylistEditor::renameCategory
void renameCategory(const QString &category)
Definition: smartplaylist.cpp:930
SmartPLResultViewer::showTrackInfo
void showTrackInfo(void)
Definition: smartplaylist.cpp:1706
SmartPlaylistEditor::m_showResultsButton
MythUIButton * m_showResultsButton
Definition: smartplaylist.h:149
SmartPLCriteriaRow::m_field
QString m_field
Definition: smartplaylist.h:64
SmartPLCriteriaRow::SmartPLCriteriaRow
SmartPLCriteriaRow(QString field, QString op, QString value1, QString value2)
Definition: smartplaylist.h:50
SmartPlaylistEditor::showCategoryMenu
void showCategoryMenu(void)
Definition: smartplaylist.cpp:634
formattedFieldValue
QString formattedFieldValue(const QVariant &value)
Definition: smartplaylist.cpp:104
CriteriaRowEditor::updateValues
void updateValues(void)
Definition: smartplaylist.cpp:1280
CriteriaRowEditor::saveClicked
void saveClicked(void)
Definition: smartplaylist.cpp:1302
SmartPLOrderByDialog::m_addButton
MythUIButton * m_addButton
Definition: smartplaylist.h:274
SmartPlaylistEditor::SmartPlaylistEditor
SmartPlaylistEditor(MythScreenStack *parent)
Definition: smartplaylist.h:77
CriteriaRowEditor::m_searchList
QStringList m_searchList
Definition: smartplaylist.h:188
SmartPLOrderByDialog::addPressed
void addPressed(void)
Definition: smartplaylist.cpp:1872
SmartPLOrderByDialog::~SmartPLOrderByDialog
~SmartPLOrderByDialog() override=default
SmartPlaylistEditor::m_newPlaylist
bool m_newPlaylist
Definition: smartplaylist.h:132
CriteriaRowEditor::setDate
void setDate(const QString &date)
Definition: smartplaylist.cpp:1599
SmartPLOperator
Definition: smartplaylist.cpp:61
SmartPLDateDialog::valueChanged
void valueChanged(void)
Definition: smartplaylist.cpp:2135
SmartPLOrderByDialog::m_okButton
MythUIButton * m_okButton
Definition: smartplaylist.h:281
SmartPLCriteriaRow::SmartPLCriteriaRow
SmartPLCriteriaRow(void)=default
SmartPLCriteriaRow::m_value1
QString m_value1
Definition: smartplaylist.h:66
SmartPLResultViewer
Definition: smartplaylist.h:213
SmartPlaylistEditor::saveClicked
void saveClicked(void)
Definition: smartplaylist.cpp:720
MythScreenStack
Definition: mythscreenstack.h:16
SmartPlaylistEditor::m_categorySelector
MythUIButtonList * m_categorySelector
Definition: smartplaylist.h:138
SmartPlaylistEditor::getSmartPlaylistCategories
void getSmartPlaylistCategories(void)
Definition: smartplaylist.cpp:1060
SmartPLOrderByDialog::descendingPressed
void descendingPressed(void)
Definition: smartplaylist.cpp:1860
SmartPlaylistEditor::m_playlistIsValid
bool m_playlistIsValid
Definition: smartplaylist.h:133
SmartPlaylistEditor::customEvent
void customEvent(QEvent *event) override
Definition: smartplaylist.cpp:457
SmartPlaylistEditor::getCategoryAndName
void getCategoryAndName(QString &category, QString &name)
Definition: smartplaylist.cpp:1200
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:32
SmartPlaylistEditor::m_criteriaList
MythUIButtonList * m_criteriaList
Definition: smartplaylist.h:142
CriteriaRowEditor::CriteriaRowEditor
CriteriaRowEditor(MythScreenStack *parent, SmartPLCriteriaRow *row)
Definition: smartplaylist.h:157
SmartPlaylistEditor::Create
bool Create(void) override
Definition: smartplaylist.cpp:367
SmartPLCriteriaRow::getSQL
QString getSQL(void) const
Definition: smartplaylist.cpp:290
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:44
getCriteriaSQL
QString getCriteriaSQL(const QString &fieldName, const QString &operatorName, QString value1, QString value2)
Definition: smartplaylist.cpp:149
SmartPLOrderByDialog::ascendingPressed
void ascendingPressed(void)
Definition: smartplaylist.cpp:1848
SmartPLDateDialog::m_addDaysSpin
MythUISpinBox * m_addDaysSpin
Definition: smartplaylist.h:318
SmartPLCriteriaRow::m_operator
QString m_operator
Definition: smartplaylist.h:65
SmartPLOrderByDialog::m_deleteButton
MythUIButton * m_deleteButton
Definition: smartplaylist.h:275
SmartPLOrderByDialog::moveUpPressed
void moveUpPressed(void)
Definition: smartplaylist.cpp:1892
CriteriaRowEditor::m_value2Button
MythUIButton * m_value2Button
Definition: smartplaylist.h:204
SmartPLOrderByDialog::m_moveDownButton
MythUIButton * m_moveDownButton
Definition: smartplaylist.h:277
SmartPLOrderByDialog::okPressed
void okPressed(void)
Definition: smartplaylist.cpp:1922
SmartPlaylistEditor::m_matchSelector
MythUIButtonList * m_matchSelector
Definition: smartplaylist.h:141
SmartPLFieldType
SmartPLFieldType
Definition: smartplaylist.h:22
SmartPlaylistEditor::startDeleteCategory
void startDeleteCategory(const QString &category)
Definition: smartplaylist.cpp:909
SmartPlaylistEditor::newSmartPlaylist
void newSmartPlaylist(const QString &category)
Definition: smartplaylist.cpp:790
ftString
@ ftString
Definition: smartplaylist.h:24
CriteriaRowEditor::Create
bool Create(void) override
Definition: smartplaylist.cpp:1210
MythUIButtonListItem
Definition: mythuibuttonlist.h:27
SmartPLOrderByDialog::getOrderByFields
void getOrderByFields(void)
Definition: smartplaylist.cpp:1965
SmartPLDateDialog::m_daySpin
MythUISpinBox * m_daySpin
Definition: smartplaylist.h:313
SmartPLCriteriaRow
Definition: smartplaylist.h:44
SmartPLCriteriaRow::Q_DECLARE_TR_FUNCTIONS
Q_DECLARE_TR_FUNCTIONS(SmartPLCriteriaRow)
SmartPlaylistEditor::orderByClicked
void orderByClicked(void)
Definition: smartplaylist.cpp:1030
SmartPLDateDialog::dateChanged
void dateChanged(QString date)
SmartPlaylistEditor::deleteCriteria
void deleteCriteria(void)
Definition: smartplaylist.cpp:538
CriteriaRowEditor::editDate
void editDate(void)
Definition: smartplaylist.cpp:1580
SmartPlaylistEditor::m_originalCategory
QString m_originalCategory
Definition: smartplaylist.h:134
SmartPlaylistEditor::m_matchesText
MythUIText * m_matchesText
Definition: smartplaylist.h:145
CriteriaRowEditor::fieldChanged
void fieldChanged(void)
Definition: smartplaylist.cpp:1366
CriteriaRowEditor
Definition: smartplaylist.h:152
SmartPLOrderByDialog::getFieldList
QString getFieldList(void)
Definition: smartplaylist.cpp:1806
CriteriaRowEditor::updateFields
void updateFields(void)
Definition: smartplaylist.cpp:1259
SmartPLResultViewer::SmartPLResultViewer
SmartPLResultViewer(MythScreenStack *parent)
Definition: smartplaylist.h:219
SmartPLResultViewer::Create
bool Create(void) override
Definition: smartplaylist.cpp:1626
SmartPLOrderByDialog::m_orderSelector
MythUIButtonList * m_orderSelector
Definition: smartplaylist.h:273
CriteriaRowEditor::enableSaveButton
void enableSaveButton(void)
Definition: smartplaylist.cpp:1333
SmartPLCriteriaRow::toString
QString toString(void) const
Definition: smartplaylist.cpp:329
SmartPlaylistEditor::getWhereClause
QString getWhereClause(void)
Definition: smartplaylist.cpp:979
SmartPLDateDialog::getDate
QString getDate(void)
Definition: smartplaylist.cpp:2026
CriteriaRowEditor::m_fieldSelector
MythUIButtonList * m_fieldSelector
Definition: smartplaylist.h:191
CriteriaRowEditor::m_operatorSelector
MythUIButtonList * m_operatorSelector
Definition: smartplaylist.h:192
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
SmartPLCriteriaRow::m_value2
QString m_value2
Definition: smartplaylist.h:67
SmartPlaylistEditor::newCategory
void newCategory(const QString &category)
Definition: smartplaylist.cpp:890
SmartPlaylistEditor::m_titleEdit
MythUITextEdit * m_titleEdit
Definition: smartplaylist.h:140
SmartPlaylistEditor::titleChanged
void titleChanged(void)
Definition: smartplaylist.cpp:686
SmartPlaylistEditor::getOrderByClause
QString getOrderByClause(void)
Definition: smartplaylist.cpp:974
SmartPLResultViewer::m_trackList
MythUIButtonList * m_trackList
Definition: smartplaylist.h:234
SmartPlaylistEditor::criteriaChanged
void criteriaChanged()
Definition: smartplaylist.cpp:600
SmartPLDateDialog::fixedCheckToggled
void fixedCheckToggled(bool on)
Definition: smartplaylist.cpp:2089
SmartPLDateDialog::m_cancelButton
MythUIButton * m_cancelButton
Definition: smartplaylist.h:322
SmartPlaylistEditor::m_matchesCount
int m_matchesCount
Definition: smartplaylist.h:131
SmartPlaylistEditor
Definition: smartplaylist.h:72
SmartPlaylistEditor::addCriteria
void addCriteria(void)
Definition: smartplaylist.cpp:569
SmartPLDateDialog::setDate
void setDate(QString date)
Definition: smartplaylist.cpp:2048
SmartPLDateDialog::~SmartPLDateDialog
~SmartPLDateDialog() override=default
SmartPlaylistEditor::~SmartPlaylistEditor
~SmartPlaylistEditor(void) override
Definition: smartplaylist.cpp:355
SmartPLDateDialog::m_updating
bool m_updating
Definition: smartplaylist.h:310
SmartPlaylistEditor::showCriteriaMenu
void showCriteriaMenu(void)
Definition: smartplaylist.cpp:657
SmartPLField
Definition: smartplaylist.cpp:32
SmartPLOrderByDialog::setFieldList
void setFieldList(const QString &fieldList)
Definition: smartplaylist.cpp:1825
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition: mythuicheckbox.h:15
SmartPLCriteriaRow::~SmartPLCriteriaRow
~SmartPLCriteriaRow(void)=default
SmartPLOrderByDialog::orderByChanged
void orderByChanged(void)
Definition: smartplaylist.cpp:1928
CriteriaRowEditor::m_saveButton
MythUIButton * m_saveButton
Definition: smartplaylist.h:209
SmartPlaylistEditor::m_orderByButton
MythUIButton * m_orderByButton
Definition: smartplaylist.h:144
SmartPlaylistEditor::editSmartPlaylist
void editSmartPlaylist(const QString &category, const QString &name)
Definition: smartplaylist.cpp:802
SmartPlaylistEditor::doDeleteCriteria
void doDeleteCriteria(bool doit)
Definition: smartplaylist.cpp:549
SmartPlaylistEditor::m_limitSpin
MythUISpinBox * m_limitSpin
Definition: smartplaylist.h:146
SmartPLOrderByDialog::m_cancelButton
MythUIButton * m_cancelButton
Definition: smartplaylist.h:280
SmartPLDateDialog::m_okButton
MythUIButton * m_okButton
Definition: smartplaylist.h:323
SmartPlaylistEditor::deleteCategory
static bool deleteCategory(const QString &category)
Definition: smartplaylist.cpp:1135
SmartPLOrderByDialog::m_descendingButton
MythUIButton * m_descendingButton
Definition: smartplaylist.h:279
SmartPlaylistEditor::m_orderBySelector
MythUIButtonList * m_orderBySelector
Definition: smartplaylist.h:143
SmartPLResultViewer::trackSelected
void trackSelected(MythUIButtonListItem *item)
Definition: smartplaylist.cpp:1698
CriteriaRowEditor::m_value2Selector
MythUIButtonList * m_value2Selector
Definition: smartplaylist.h:198
SmartPLOrderByDialog::fieldListSelectionChanged
void fieldListSelectionChanged(MythUIButtonListItem *item)
Definition: smartplaylist.cpp:1840
SmartPlaylistEditor::getSQL
QString getSQL(const QString &fields)
Definition: smartplaylist.cpp:952
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:30
SmartPlaylistEditor::m_tempCriteriaRow
SmartPLCriteriaRow * m_tempCriteriaRow
Definition: smartplaylist.h:129
CriteriaRowEditor::~CriteriaRowEditor
~CriteriaRowEditor(void) override=default
CriteriaRowEditor::m_value1Button
MythUIButton * m_value1Button
Definition: smartplaylist.h:203
getSQLFieldName
QString getSQLFieldName(const QString &fieldName)
Definition: smartplaylist.cpp:275
SmartPLOrderByDialog::m_fieldList
MythUIButtonList * m_fieldList
Definition: smartplaylist.h:272
SmartPLOrderByDialog::SmartPLOrderByDialog
SmartPLOrderByDialog(MythScreenStack *parent)
Definition: smartplaylist.h:245
SmartPLOrderByDialog::m_ascendingButton
MythUIButton * m_ascendingButton
Definition: smartplaylist.h:278
SmartPLCriteriaRow::saveToDatabase
bool saveToDatabase(int smartPlaylistID) const
Definition: smartplaylist.cpp:303
CriteriaRowEditor::valueButtonClicked
void valueButtonClicked(void)
Definition: smartplaylist.cpp:1520
std
Definition: mythchrono.h:23
CriteriaRowEditor::criteriaChanged
void criteriaChanged()
ftBoolean
@ ftBoolean
Definition: smartplaylist.h:27
SmartPlaylistEditor::m_originalName
QString m_originalName
Definition: smartplaylist.h:135
CriteriaRowEditor::setValue
void setValue(const QString &value)
Definition: smartplaylist.cpp:1572
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(SmartPLCriteriaRow *)
SmartPlaylistEditor::showResultsClicked
void showResultsClicked(void)
Definition: smartplaylist.cpp:1010
SmartPlaylistEditor::m_categoryButton
MythUIButton * m_categoryButton
Definition: smartplaylist.h:139
CriteriaRowEditor::m_value1Spinbox
MythUISpinBox * m_value1Spinbox
Definition: smartplaylist.h:200
MythUISpinBox
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:16
ftNumeric
@ ftNumeric
Definition: smartplaylist.h:25
ftDate
@ ftDate
Definition: smartplaylist.h:26
SmartPLDateDialog::m_yearSpin
MythUISpinBox * m_yearSpin
Definition: smartplaylist.h:315
CriteriaRowEditor::m_value2Edit
MythUITextEdit * m_value2Edit
Definition: smartplaylist.h:195
SmartPLDateDialog::m_nowRadio
MythUICheckBox * m_nowRadio
Definition: smartplaylist.h:317
CriteriaRowEditor::updateOperators
void updateOperators(void)
Definition: smartplaylist.cpp:1267
SmartPLDateDialog::nowCheckToggled
void nowCheckToggled(bool on)
Definition: smartplaylist.cpp:2107
SmartPlaylistEditor::m_saveButton
MythUIButton * m_saveButton
Definition: smartplaylist.h:148
SmartPLResultViewer::trackVisible
static void trackVisible(MythUIButtonListItem *item)
Definition: smartplaylist.cpp:1677
SmartPLDateDialog::okPressed
void okPressed(void)
Definition: smartplaylist.cpp:2126
CriteriaRowEditor::getOperatorList
void getOperatorList(SmartPLFieldType fieldType)
Definition: smartplaylist.cpp:1497
SmartPLDateDialog::Create
bool Create(void) override
Definition: smartplaylist.cpp:1976
SmartPlaylistEditor::smartPLChanged
void smartPLChanged(const QString &category, const QString &name)
SmartPLResultViewer::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: smartplaylist.cpp:1652
SmartPlaylistEditor::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: smartplaylist.cpp:422
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:151
SmartPLDateDialog
Definition: smartplaylist.h:284
CriteriaRowEditor::m_cancelButton
MythUIButton * m_cancelButton
Definition: smartplaylist.h:208
SmartPlaylistEditor::m_criteriaRows
QList< SmartPLCriteriaRow * > m_criteriaRows
Definition: smartplaylist.h:128
SmartPlaylistEditor::editCriteria
void editCriteria(void)
Definition: smartplaylist.cpp:505
CriteriaRowEditor::operatorChanged
void operatorChanged(void)
Definition: smartplaylist.cpp:1417
SmartPlaylistEditor::m_cancelButton
MythUIButton * m_cancelButton
Definition: smartplaylist.h:147
CriteriaRowEditor::m_criteriaRow
SmartPLCriteriaRow * m_criteriaRow
Definition: smartplaylist.h:186
SmartPlaylistEditor::updateMatches
void updateMatches(void)
Definition: smartplaylist.cpp:691
SmartPLDateDialog::m_monthSpin
MythUISpinBox * m_monthSpin
Definition: smartplaylist.h:314
SmartPLOrderByDialog::deletePressed
void deletePressed(void)
Definition: smartplaylist.cpp:1881
mythscreentype.h
getOrderBySQL
QString getOrderBySQL(const QString &orderByFields)
Definition: smartplaylist.cpp:240
SmartPLOrderByDialog::Create
bool Create(void) override
Definition: smartplaylist.cpp:1759
SmartPLDateDialog::m_fixedRadio
MythUICheckBox * m_fixedRadio
Definition: smartplaylist.h:312
CriteriaRowEditor::m_value1Selector
MythUIButtonList * m_value1Selector
Definition: smartplaylist.h:197