OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
apps
opencs
view
widget
scenetoolrun.hpp
Go to the documentation of this file.
1
#ifndef CSV_WIDGET_SCENETOOLRUN_H
2
#define CSV_WIDGET_SCENETOOLRUN_H
3
4
#include <set>
5
#include <string>
6
7
#include "
scenetool.hpp
"
8
9
class
QFrame
;
10
class
QTableWidget
;
11
class
QModelIndex;
12
13
namespace
CSVWidget
14
{
15
class
SceneToolRun
:
public
SceneTool
16
{
17
Q_OBJECT
18
19
std::set<std::string>
mProfiles
;
20
std::set<std::string>::iterator
mSelected
;
21
QString
mToolTip
;
22
QFrame
*
mPanel
;
23
QTableWidget
*
mTable
;
24
25
private
:
26
27
void
adjustToolTips
();
28
29
void
updateIcon
();
30
31
void
updatePanel
();
32
33
public
:
34
35
SceneToolRun
(
SceneToolbar
*parent,
const
QString& toolTip,
const
QString& icon,
36
const
std::vector<std::string>& profiles);
37
38
virtual
void
showPanel
(
const
QPoint& position);
39
40
virtual
void
activate
();
41
44
void
removeProfile
(
const
std::string& profile);
45
50
void
addProfile
(
const
std::string& profile);
51
52
private
slots:
53
54
void
clicked
(
const
QModelIndex& index);
55
56
signals
:
57
58
void
runRequest
(
const
std::string& profile);
59
};
60
}
61
62
#endif
CSVWidget::SceneToolRun::removeProfile
void removeProfile(const std::string &profile)
Definition:
scenetoolrun.cpp:96
CSVWidget::SceneToolRun::mPanel
QFrame * mPanel
Definition:
scenetoolrun.hpp:22
CSVWidget::SceneToolRun::runRequest
void runRequest(const std::string &profile)
signals
static const struct @2 signals[]
CSVWidget::SceneToolRun::updatePanel
void updatePanel()
Definition:
scenetoolrun.cpp:31
CSVWidget::SceneToolRun::addProfile
void addProfile(const std::string &profile)
Definition:
scenetoolrun.cpp:119
CSVWidget::SceneToolRun::mTable
QTableWidget * mTable
Definition:
scenetoolrun.hpp:23
QTableWidget
CSVWidget::SceneToolRun::mSelected
std::set< std::string >::iterator mSelected
Definition:
scenetoolrun.hpp:20
CSVWidget::SceneToolRun::SceneToolRun
SceneToolRun(SceneToolbar *parent, const QString &toolTip, const QString &icon, const std::vector< std::string > &profiles)
Definition:
scenetoolrun.cpp:47
CSVWidget::SceneToolRun::mProfiles
std::set< std::string > mProfiles
Definition:
scenetoolrun.hpp:19
CSVWidget::SceneToolRun::mToolTip
QString mToolTip
Definition:
scenetoolrun.hpp:21
scenetool.hpp
CSVWidget::SceneTool
Tool base class.
Definition:
scenetool.hpp:11
CSVWidget::SceneToolRun::clicked
void clicked(const QModelIndex &index)
Definition:
scenetoolrun.cpp:137
CSVWidget::SceneToolRun::showPanel
virtual void showPanel(const QPoint &position)
Definition:
scenetoolrun.cpp:82
CSVWidget::SceneToolRun
Definition:
scenetoolrun.hpp:15
CSVWidget::SceneToolRun::activate
virtual void activate()
Definition:
scenetoolrun.cpp:90
CSVWidget::SceneToolRun::updateIcon
void updateIcon()
Definition:
scenetoolrun.cpp:26
CSVWidget::SceneToolbar
Definition:
scenetoolbar.hpp:12
QFrame
CSVWidget::SceneToolRun::adjustToolTips
void adjustToolTips()
Definition:
scenetoolrun.cpp:11
Generated on Tue Jan 24 2017 02:05:49 for OpenMW by
1.8.6