50 LOG(VB_GENERAL, LOG_ERR,
"Cannot load screen 'bookmarkeditor'");
129 QString title = tr(
"Select a category");
bool InsertInDB(Bookmark *site)
bool RemoveFromDB(Bookmark *site)
int GetCategoryList(QStringList &list)
bool ResetHomepageFromDB()
MythUISearchDialog * m_searchDialog
MythUITextEdit * m_categoryEdit
bool Create(void) override
MythUIButton * m_findCategoryButton
MythUIButton * m_cancelButton
void slotFindCategory(void)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
MythUITextEdit * m_urlEdit
MythUIButton * m_okButton
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)
bool TranslateKeyPress(const QString &Context, QKeyEvent *Event, QStringList &Actions, bool AllowJumps=true)
Get a list of actions for a keypress in the given context.
MythScreenStack * GetStack(const QString &Stackname)
virtual void AddScreen(MythScreenType *screen, bool allowFade=true)
Screen in which all other widgets are contained and rendered.
void BuildFocusList(void)
MythUIType * GetFocusWidget(void) const
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
bool SetFocusWidget(MythUIType *widget=nullptr)
void SetCheckState(MythUIStateType::StateType state)
MythUIStateType::StateType GetCheckState() const
Provide a dialog to quickly find an entry in a list.
bool Create(void) override
QString GetText(void) const
void SetText(const QString &text, bool moveCursor=true)
virtual void SetText(const QString &text)
static bool LoadWindowFromXML(const QString &xmlfile, const QString &windowname, MythUIType *parent)
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
MythMainWindow * GetMythMainWindow(void)
static bool Assign(ContainerType *container, UIType *&item, const QString &name, bool *err=nullptr)