Graphviz 16.1.1~dev.20260914.1518
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 v2.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.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 //METHODS
48 bool loadLayouts();
49 bool loadRenderers();
50 void refreshContent();
51 void saveContent();
52 void doPreview(const QString &);
53 void setActiveWindow(MdiChild* m);
54 bool loadGraph(MdiChild* m);
55 bool createLayout();
56 bool renderLayout();
57};
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:424
Definition gvcint.h:81