MythTV
master
mythplugins
mytharchive
mytharchive
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
8
#include <
libmythui/mythscreentype.h
>
9
10
// mytharchive
11
#include "
archiveutil.h
"
12
13
class
MythUIText
;
14
class
MythUIButton
;
15
class
MythUICheckBox
;
16
class
MythUIButtonList
;
17
class
MythUITextEdit
;
18
class
MythUIButtonListItem
;
19
20
class
SelectDestination
:
public
MythScreenType
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
);
41
void
setDestination
(
MythUIButtonListItem
*item);
42
void
fileFinderClosed
(
const
QString&
filename
);
43
44
private
:
45
void
loadConfiguration
(
void
);
46
void
saveConfiguration
(
void
);
47
48
bool
m_nativeMode
;
49
50
ArchiveDestination
m_archiveDestination
{
AD_FILE
,
nullptr
,
nullptr
, 0LL};
51
int
m_freeSpace
{0};
52
53
MythUIButton
*
m_nextButton
{
nullptr
};
54
MythUIButton
*
m_prevButton
{
nullptr
};
55
MythUIButton
*
m_cancelButton
{
nullptr
};
56
57
MythUIButtonList
*
m_destinationSelector
{
nullptr
};
58
MythUIText
*
m_destinationText
{
nullptr
};
59
60
MythUIText
*
m_freespaceText
{
nullptr
};
61
62
MythUITextEdit
*
m_filenameEdit
{
nullptr
};
63
MythUIButton
*
m_findButton
{
nullptr
};
64
65
MythUICheckBox
*
m_createISOCheck
{
nullptr
};
66
MythUICheckBox
*
m_doBurnCheck
{
nullptr
};
67
MythUICheckBox
*
m_eraseDvdRwCheck
{
nullptr
};
68
MythUIText
*
m_createISOText
{
nullptr
};
69
MythUIText
*
m_doBurnText
{
nullptr
};
70
MythUIText
*
m_eraseDvdRwText
{
nullptr
};
71
};
72
73
#endif
ArchiveDestination
Definition:
archiveutil.h:26
AD_FILE
@ AD_FILE
Definition:
archiveutil.h:21
SelectDestination::m_nativeMode
bool m_nativeMode
Definition:
selectdestination.h:48
SelectDestination::handleCancel
void handleCancel(void)
Definition:
selectdestination.cpp:143
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:183
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:209
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:294
archiveutil.h
SelectDestination::m_findButton
MythUIButton * m_findButton
Definition:
selectdestination.h:63
SelectDestination::loadConfiguration
void loadConfiguration(void)
Definition:
selectdestination.cpp:148
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:285
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:138
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:271
SelectDestination::m_freespaceText
MythUIText * m_freespaceText
Definition:
selectdestination.h:60
SelectDestination::handleNextPage
void handleNextPage(void)
Definition:
selectdestination.cpp:116
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
Generated on Tue Feb 18 2025 03:17:00 for MythTV by
1.8.17