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
13class MdiChild;
14#include <QDialog>
15#include <QString>
16#include "ui_settings.h"
17
18#include "config.h"
19
20#include <gvc/gvc.h>
21
22class CFrmSettings : public QDialog
23{
24 Q_OBJECT
25public:
27 int runSettings(MdiChild* m);
28 int showSettings(MdiChild* m);
29 int drawGraph();
31 QString graphData;
33private 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);
43private:
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};
QString graphData
Definition csettings.h:31
int runSettings(MdiChild *m)
int showSettings(MdiChild *m)
GVC_t * gvc
Definition csettings.h:32
MdiChild * getActiveWindow()
Graphviz context library.
graph or subgraph
Definition cgraph.h:425
Definition gvcint.h:80