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 
13 class MythUIText;
14 class MythUIButton;
15 class MythUICheckBox;
16 class MythUIButtonList;
17 class 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
ArchiveDestination
Definition: archiveutil.h:26
SelectDestination::m_nativeMode
bool m_nativeMode
Definition: selectdestination.h:48
SelectDestination::handleCancel
void handleCancel(void)
Definition: selectdestination.cpp:141
SelectDestination::m_destinationSelector
MythUIButtonList * m_destinationSelector
Definition: selectdestination.h:57
SelectDestination::m_filenameEdit
MythUITextEdit * m_filenameEdit
Definition: selectdestination.h:62
MythScreenStack
Definition: mythscreenstack.h:16
SelectDestination::saveConfiguration
void saveConfiguration(void)
Definition: selectdestination.cpp:181
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:34
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
SelectDestination::m_freeSpace
int m_freeSpace
Definition: selectdestination.h:51
SelectDestination::setDestination
void setDestination(MythUIButtonListItem *item)
Definition: selectdestination.cpp:207
MythUIButtonListItem
Definition: mythuibuttonlist.h:41
SelectDestination::SelectDestination
SelectDestination(MythScreenStack *parent, bool nativeMode, const QString &name)
Definition: selectdestination.h:26
SelectDestination::filenameEditLostFocus
void filenameEditLostFocus(void)
Definition: selectdestination.cpp:292
archiveutil.h
SelectDestination::m_findButton
MythUIButton * m_findButton
Definition: selectdestination.h:63
SelectDestination::loadConfiguration
void loadConfiguration(void)
Definition: selectdestination.cpp:146
SelectDestination::m_cancelButton
MythUIButton * m_cancelButton
Definition: selectdestination.h:55
SelectDestination::m_eraseDvdRwText
MythUIText * m_eraseDvdRwText
Definition: selectdestination.h:70
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
SelectDestination::m_nextButton
MythUIButton * m_nextButton
Definition: selectdestination.h:53
SelectDestination::m_archiveDestination
ArchiveDestination m_archiveDestination
Definition: selectdestination.h:50
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition: mythuicheckbox.h:15
SelectDestination
Definition: selectdestination.h:20
SelectDestination::fileFinderClosed
void fileFinderClosed(const QString &filename)
Definition: selectdestination.cpp:283
SelectDestination::m_createISOText
MythUIText * m_createISOText
Definition: selectdestination.h:68
SelectDestination::m_destinationText
MythUIText * m_destinationText
Definition: selectdestination.h:58
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:28
SelectDestination::handlePrevPage
void handlePrevPage(void)
Definition: selectdestination.cpp:136
SelectDestination::m_eraseDvdRwCheck
MythUICheckBox * m_eraseDvdRwCheck
Definition: selectdestination.h:67
SelectDestination::m_doBurnText
MythUIText * m_doBurnText
Definition: selectdestination.h:69
SelectDestination::handleFind
void handleFind(void)
Definition: selectdestination.cpp:269
AD_FILE
@ AD_FILE
Definition: archiveutil.h:21
SelectDestination::m_freespaceText
MythUIText * m_freespaceText
Definition: selectdestination.h:60
SelectDestination::handleNextPage
void handleNextPage(void)
Definition: selectdestination.cpp:114
SelectDestination::~SelectDestination
~SelectDestination(void) override
Definition: selectdestination.cpp:27
SelectDestination::m_prevButton
MythUIButton * m_prevButton
Definition: selectdestination.h:54
SelectDestination::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: selectdestination.cpp:88
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:191
SelectDestination::m_doBurnCheck
MythUICheckBox * m_doBurnCheck
Definition: selectdestination.h:66
build_compdb.filename
filename
Definition: build_compdb.py:21
SelectDestination::Create
bool Create(void) override
Definition: selectdestination.cpp:33
SelectDestination::m_createISOCheck
MythUICheckBox * m_createISOCheck
Definition: selectdestination.h:65
mythscreentype.h