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