CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
commonui_inc
UI
FxUIMenu.h
Go to the documentation of this file.
1
//
2
// (C) Copyright 2005-2023 by Graebert GmbH.
3
//
4
// Permission to use, copy, modify, and distribute this software in
5
// object code form for any purpose and without fee is hereby granted,
6
// provided that the above copyright notice appears in all copies and
7
// that both that copyright notice and the limited warranty and
8
// restricted rights notice below appear in all supporting
9
// documentation.
10
//
11
// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12
// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15
// UNINTERRUPTED OR ERROR FREE.
16
17
#pragma once
18
19
#include "
FxUIBaseView.h
"
20
#include "
FxUIAction.h
"
21
22
27
class
COMMONUI_API
CFxUIMenu
:
public
CFxUIObject
28
{
29
public
:
31
CFxUIMenu
();
32
34
~CFxUIMenu
();
35
39
void
clear
();
40
46
void
addAction
(
CFxUIAction
* pAction );
47
53
void
addMenu
(
CFxUIMenu
* pMenu );
54
58
void
addSeparator
();
59
60
void
popup
(
CFxUIBaseView
* anchorView );
61
65
void
setTitle
(
const
CFxUIString
& text );
66
70
void
hide
();
71
75
CFxUISignal
<
void
(
void
)>&
aboutToHide
();
76
80
CFxUISignal
<
void
(
void
)>&
aboutToShow
();
81
85
CFxUISignal
<
void
(
void
)>&
menuPressed
();
86
87
//...
88
};
COMMONUI_API
#define COMMONUI_API
Definition:
FxCommonFramework.h:20
FxUIAction.h
FxUIBaseView.h
CFxUIString
QString CFxUIString
Definition:
FxUIObject.h:48
CFxUIAction
Definition:
FxUIAction.h:26
CFxUIBaseView
Definition:
FxUIBaseView.h:30
CFxUIMenu
Definition:
FxUIMenu.h:28
CFxUIMenu::setTitle
void setTitle(const CFxUIString &text)
CFxUIMenu::menuPressed
CFxUISignal< void(void)> & menuPressed()
CFxUIMenu::aboutToShow
CFxUISignal< void(void)> & aboutToShow()
CFxUIMenu::addMenu
void addMenu(CFxUIMenu *pMenu)
CFxUIMenu::addAction
void addAction(CFxUIAction *pAction)
CFxUIMenu::~CFxUIMenu
~CFxUIMenu()
CFxUIMenu::addSeparator
void addSeparator()
CFxUIMenu::hide
void hide()
CFxUIMenu::clear
void clear()
CFxUIMenu::CFxUIMenu
CFxUIMenu()
CFxUIMenu::aboutToHide
CFxUISignal< void(void)> & aboutToHide()
CFxUIMenu::popup
void popup(CFxUIBaseView *anchorView)
CFxUIObject
Definition:
FxUIObject.h:104
CFxUISignal
Definition:
FxUISignal.h:74
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
Generated on Wed Apr 5 2023 17:29:09