MythTV
master
mythtv
programs
mythfrontend
videofileassoc.h
Go to the documentation of this file.
1
#ifndef VIDEOFILEASSOC_H_
2
#define VIDEOFILEASSOC_H_
3
4
#include "
libmythui/mythscreentype.h
"
5
6
class
MythScreenStack
;
7
class
MythUIButtonListItem
;
8
class
MythUITextEdit
;
9
class
MythUIButtonList
;
10
class
MythUICheckBox
;
11
class
MythUIButton
;
12
13
class
FileAssocDialog
:
public
MythScreenType
14
{
15
Q_OBJECT
16
17
public
:
18
FileAssocDialog
(
MythScreenStack
*screenParent,
const
QString &lname);
19
~FileAssocDialog
()
override
;
20
21
bool
Create
()
override
;
// MythScreenType
22
23
public
slots:
24
void
OnFASelected
(
MythUIButtonListItem
*item);
25
26
void
OnUseDefaltChanged
();
27
void
OnIgnoreChanged
();
28
void
OnPlayerCommandChanged
();
29
30
void
OnDonePressed
();
31
void
OnDeletePressed
();
32
void
OnNewExtensionPressed
()
const
;
33
34
void
OnNewExtensionComplete
(
const
QString& newExtension);
35
36
private
:
37
void
UpdateScreen
(
bool
useSelectionOverride =
false
);
38
39
private
:
40
MythUITextEdit
*
m_commandEdit
{
nullptr
};
41
MythUIButtonList
*
m_extensionList
{
nullptr
};
42
MythUICheckBox
*
m_defaultCheck
{
nullptr
};
43
MythUICheckBox
*
m_ignoreCheck
{
nullptr
};
44
MythUIButton
*
m_doneButton
{
nullptr
};
45
MythUIButton
*
m_newButton
{
nullptr
};
46
MythUIButton
*
m_deleteButton
{
nullptr
};
47
48
class
FileAssocDialogPrivate
*
m_private
;
49
};
50
51
#endif
FileAssocDialog::OnFASelected
void OnFASelected(MythUIButtonListItem *item)
Definition:
videofileassoc.cpp:383
FileAssocDialog::UpdateScreen
void UpdateScreen(bool useSelectionOverride=false)
Definition:
videofileassoc.cpp:453
FileAssocDialog::m_ignoreCheck
MythUICheckBox * m_ignoreCheck
Definition:
videofileassoc.h:43
FileAssocDialog::OnDonePressed
void OnDonePressed()
Definition:
videofileassoc.cpp:409
MythScreenStack
Definition:
mythscreenstack.h:16
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
FileAssocDialog::OnNewExtensionComplete
void OnNewExtensionComplete(const QString &newExtension)
Definition:
videofileassoc.cpp:443
FileAssocDialog::~FileAssocDialog
~FileAssocDialog() override
Definition:
videofileassoc.cpp:324
MythUIButtonListItem
Definition:
mythuibuttonlist.h:41
FileAssocDialog::m_defaultCheck
MythUICheckBox * m_defaultCheck
Definition:
videofileassoc.h:42
FileAssocDialog::m_newButton
MythUIButton * m_newButton
Definition:
videofileassoc.h:45
FileAssocDialog
Definition:
videofileassoc.h:13
FileAssocDialog::OnUseDefaltChanged
void OnUseDefaltChanged()
Definition:
videofileassoc.cpp:388
FileAssocDialog::m_private
class FileAssocDialogPrivate * m_private
Definition:
videofileassoc.h:48
MythUIButton
A single button widget.
Definition:
mythuibutton.h:21
FileAssocDialog::FileAssocDialog
FileAssocDialog(MythScreenStack *screenParent, const QString &lname)
Definition:
videofileassoc.cpp:317
FileAssocDialog::m_commandEdit
MythUITextEdit * m_commandEdit
Definition:
videofileassoc.h:40
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition:
mythuicheckbox.h:15
FileAssocDialogPrivate
Definition:
videofileassoc.cpp:166
FileAssocDialog::OnDeletePressed
void OnDeletePressed()
Definition:
videofileassoc.cpp:415
FileAssocDialog::m_deleteButton
MythUIButton * m_deleteButton
Definition:
videofileassoc.h:46
FileAssocDialog::OnPlayerCommandChanged
void OnPlayerCommandChanged()
Definition:
videofileassoc.cpp:402
FileAssocDialog::m_doneButton
MythUIButton * m_doneButton
Definition:
videofileassoc.h:44
FileAssocDialog::m_extensionList
MythUIButtonList * m_extensionList
Definition:
videofileassoc.h:41
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition:
mythuibuttonlist.h:191
FileAssocDialog::Create
bool Create() override
Definition:
videofileassoc.cpp:329
mythscreentype.h
FileAssocDialog::OnNewExtensionPressed
void OnNewExtensionPressed() const
Definition:
videofileassoc.cpp:428
FileAssocDialog::OnIgnoreChanged
void OnIgnoreChanged()
Definition:
videofileassoc.cpp:395
Generated on Thu Oct 31 2024 03:18:40 for MythTV by
1.8.17