File: insertgraphics_config.h

package info (click to toggle)
texstudio 2.11.2%2Bdebian-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 41,292 kB
  • ctags: 12,405
  • sloc: cpp: 93,072; xml: 10,217; ansic: 4,153; sh: 145; makefile: 56
file content (29 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef INSERTGRAPHICS_CONFIG_H
#define INSERTGRAPHICS_CONFIG_H

//having the configuration in a single file allows to change it,
//without having a relationship between insertgraphics and configmanager
//so modifying one doesn't lead to a recompilation of the other

#include <QSettings>

class InsertGraphicsConfig
{
public:
	QString file;
	QString includeOptions;
	bool center;
	bool useFigure;
	bool captionBelow;
	QString shortCaption;
	QString caption;
	QString label;
	bool spanTwoCols;
	QString placement;

	void readSettings(QSettings &settings);
	void saveSettings(QSettings &settings);
};


#endif // INSERTGRAPHICS_CONFIG_H