OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
uiCmdDriver
qtcommands.h
Go to the documentation of this file.
1
#ifndef qtcommands_h
2
#define qtcommands_h
3
4
/*+
5
________________________________________________________________________
6
7
(C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8
Author: Jaap Glas
9
Date: February 2009
10
RCS: $Id$
11
________________________________________________________________________
12
13
-*/
14
15
#include "uicmddrivermod.h"
16
#include "
command.h
"
17
#include "
cmdcomposer.h
"
18
19
namespace
CmdDrive
20
{
21
22
mStartDeclCmdClass
( uiCmdDriver, ColorOk,
Command
)
mEndDeclCmdClass
23
mStartDeclCmdClass
( uiCmdDriver, FileOk,
Command
)
mEndDeclCmdClass
24
25
26
mStartDeclCmdClass
( uiCmdDriver, Snapshot,
StealthCmd
)
mEndDeclCmdClass
27
28
mExpClass
(uiCmdDriver)
SnapshotActivator
: public
Activator
29
{
30
public
:
31
SnapshotActivator
(
const
uiMainWin
&,
const
char
* filenm,
int
zoom);
32
void
actCB(
CallBacker
*);
33
protected
:
34
uiMainWin
&
actgrabwin_
;
35
BufferString
actfilenm_
;
36
int
actzoom_
;
37
};
38
39
40
mStartDeclComposerClass
( uiCmdDriver, QColorDlg,
CmdComposer
,
uiMainWin
)
41
mEndDeclComposerClass
42
43
mExpClass
(uiCmdDriver)
SetColorActivator
: public
Activator
44
{
45
public
:
46
SetColorActivator
(
const
Color
&);
47
void
actCB(
CallBacker
*);
48
49
protected
:
50
Color
color_
;
51
};
52
53
mStartDeclComposerClass
( uiCmdDriver, QFileDlg,
CmdComposer
,
uiMainWin
)
54
mEndDeclComposerClass
55
56
57
};
// namespace CmdDrive
58
59
#endif
mEndDeclCmdClass
#define mEndDeclCmdClass
Definition:
command.h:152
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
uiMainWin
User interface main window.
Definition:
uimainwin.h:36
CallBacker
To be able to send and/or receive CallBacks, inherit from this class.
Definition:
callback.h:272
mStartDeclCmdClass
#define mStartDeclCmdClass(mod, cmdkey, parentclass)
Definition:
command.h:148
command.h
CmdDrive
Command Drive
Definition:
canvascommands.h:22
CmdDrive::SetColorActivator
Definition:
qtcommands.h:43
CmdDrive::Activator
Definition:
command.h:186
CmdDrive::SnapshotActivator::actfilenm_
BufferString actfilenm_
Definition:
qtcommands.h:35
CmdDrive::SnapshotActivator::actzoom_
int actzoom_
Definition:
qtcommands.h:36
CmdDrive::SnapshotActivator::actgrabwin_
uiMainWin & actgrabwin_
Definition:
qtcommands.h:34
CmdDrive::CmdComposer
Definition:
cmdcomposer.h:52
CmdDrive::SetColorActivator::color_
Color color_
Definition:
qtcommands.h:50
mEndDeclComposerClass
#define mEndDeclComposerClass
Definition:
cmdcomposer.h:149
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition:
bufstring.h:40
CmdDrive::SnapshotActivator
Definition:
qtcommands.h:28
CmdDrive::StealthCmd
Definition:
command.h:168
Color
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition:
color.h:26
mStartDeclComposerClass
#define mStartDeclComposerClass(mod, cmdkey, parentclass, callerclass)
Definition:
cmdcomposer.h:131
cmdcomposer.h
CmdDrive::Command
Definition:
command.h:35
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019