MythTV master
selectdestination.h
Go to the documentation of this file.
1#ifndef SELECTDESTINATION_H_
2#define SELECTDESTINATION_H_
3
4// qt
5#include <QKeyEvent>
6
7// mythtv
9
10// mytharchive
11#include "archiveutil.h"
12
13class MythUIText;
14class MythUIButton;
15class MythUICheckBox;
17class MythUITextEdit;
19
21{
22
23 Q_OBJECT
24
25 public:
26 SelectDestination(MythScreenStack *parent, bool nativeMode, const QString& name)
27 : MythScreenType(parent, name), m_nativeMode(nativeMode) {};
28 ~SelectDestination(void) override;
29
30 bool Create(void) override; // MythScreenType
31 bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
32
33 public slots:
34
35 void handleNextPage(void);
36 void handlePrevPage(void);
37 void handleCancel(void);
38
39 void handleFind(void);
40 void filenameEditLostFocus(void);
42 void fileFinderClosed(const QString& filename);
43
44 private:
45 void loadConfiguration(void);
46 void saveConfiguration(void);
47
49
51 int m_freeSpace {0};
52
56
59
61
64
71};
72
73#endif
@ AD_FILE
Definition: archiveutil.h:21
Screen in which all other widgets are contained and rendered.
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
A single button widget.
Definition: mythuibutton.h:22
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
A text entry and edit widget.
All purpose text widget, displays a text string.
Definition: mythuitext.h:29
MythUIText * m_freespaceText
void filenameEditLostFocus(void)
MythUIButton * m_prevButton
MythUIText * m_eraseDvdRwText
MythUICheckBox * m_doBurnCheck
void fileFinderClosed(const QString &filename)
bool Create(void) override
MythUIButton * m_findButton
MythUIText * m_destinationText
MythUIButton * m_nextButton
MythUIButtonList * m_destinationSelector
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
MythUIText * m_doBurnText
MythUICheckBox * m_createISOCheck
MythUICheckBox * m_eraseDvdRwCheck
MythUIText * m_createISOText
~SelectDestination(void) override
MythUITextEdit * m_filenameEdit
ArchiveDestination m_archiveDestination
void setDestination(MythUIButtonListItem *item)
MythUIButton * m_cancelButton
SelectDestination(MythScreenStack *parent, bool nativeMode, const QString &name)