Graphviz
13.0.0~dev.20241222.1117
Loading...
Searching...
No Matches
csettings.h
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (c) 2011 AT&T Intellectual Property
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* https://www.eclipse.org/legal/epl-v10.html
7
*
8
* Contributors: Details at https://graphviz.org
9
*************************************************************************/
10
11
#pragma once
12
13
class
MdiChild
;
14
#include <QDialog>
15
#include <QString>
16
#include "
ui_settings.h
"
17
18
#include "config.h"
19
20
#include <
gvc/gvc.h
>
21
22
class
CFrmSettings
:
public
QDialog
23
{
24
Q_OBJECT
25
public
:
26
CFrmSettings
();
27
int
runSettings
(
MdiChild
* m);
28
int
showSettings
(
MdiChild
* m);
29
int
drawGraph
();
30
MdiChild
*
getActiveWindow
();
31
QString
graphData
;
32
GVC_t
*
gvc
;
33
private
slots:
34
void
outputSlot();
35
void
addSlot();
36
void
helpSlot();
37
void
cancelSlot();
38
void
okSlot();
39
void
newSlot();
40
void
openSlot();
41
void
saveSlot();
42
void
scopeChangedSlot(
int
);
43
private
:
44
//Actions
45
Agraph_t
* graph;
46
MdiChild
* activeWindow;
47
QAction* outputAct;
48
QAction* addAct;
49
QAction* helpAct;
50
QAction* cancelAct;
51
QAction* okAct;
52
QAction* newAct;
53
QAction* openAct;
54
QAction* saveAct;
55
//METHODS
56
bool
loadLayouts();
57
bool
loadRenderers();
58
void
refreshContent();
59
void
saveContent();
60
void
doPreview(
const
QString &);
61
void
setActiveWindow(
MdiChild
* m);
62
bool
loadGraph(
MdiChild
* m);
63
bool
createLayout();
64
bool
renderLayout();
65
};
CFrmSettings
Definition
csettings.h:23
CFrmSettings::graphData
QString graphData
Definition
csettings.h:31
CFrmSettings::runSettings
int runSettings(MdiChild *m)
Definition
csettings.cpp:549
CFrmSettings::showSettings
int showSettings(MdiChild *m)
Definition
csettings.cpp:562
CFrmSettings::gvc
GVC_t * gvc
Definition
csettings.h:32
CFrmSettings::drawGraph
int drawGraph()
Definition
csettings.cpp:540
CFrmSettings::CFrmSettings
CFrmSettings()
Definition
csettings.cpp:249
CFrmSettings::getActiveWindow
MdiChild * getActiveWindow()
Definition
csettings.cpp:573
MdiChild
Definition
mdichild.h:19
gvc.h
Graphviz context library.
Agraph_s
graph or subgraph
Definition
cgraph.h:425
GVC_s
Definition
gvcint.h:80
ui_settings.h
cmd
gvedit
csettings.h
Generated by
1.9.8