MythTV master
bookmarkeditor.h
Go to the documentation of this file.
1#ifndef BOOKMARKEDITOR_H
2#define BOOKMARKEDITOR_H
3
4// MythTV
11
12
13class Bookmark;
14
19{
20 Q_OBJECT
21
22 public:
23
24 BookmarkEditor(Bookmark *site, bool edit, MythScreenStack *parent,
25 const char *name);
26 ~BookmarkEditor() override = default;
27
28 bool Create(void) override; // MythScreenType
29 bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
30
31 private:
32 Bookmark *m_site {nullptr};
33 QString m_siteName;
36
38
43
47
49
50 private slots:
51 void slotFindCategory(void);
52 void slotCategoryFound(const QString& category);
53
54 void Save(void);
55 void Exit(void);
56};
57
58#endif
Site category, name and URL edit screen.
QString m_siteCategory
MythUISearchDialog * m_searchDialog
QString m_siteName
MythUITextEdit * m_categoryEdit
bool Create(void) override
MythUIButton * m_findCategoryButton
MythUIButton * m_cancelButton
void slotFindCategory(void)
~BookmarkEditor() override=default
Bookmark * m_site
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
MythUITextEdit * m_urlEdit
MythUIButton * m_okButton
MythUIText * m_titleText
MythUITextEdit * m_nameEdit
BookmarkEditor(Bookmark *site, bool edit, MythScreenStack *parent, const char *name)
Creates a new BookmarkEditor Screen.
MythUICheckBox * m_isHomepage
void slotCategoryFound(const QString &category)
Screen in which all other widgets are contained and rendered.
A single button widget.
Definition: mythuibutton.h:22
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Provide a dialog to quickly find an entry in a list.
A text entry and edit widget.
All purpose text widget, displays a text string.
Definition: mythuitext.h:29