|
pdfedit
0.4.5
About: PDFedit is a free and open source library for manipulating PDF documents.
Fossies Dox: pdfedit-0.4.5.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |
Graphical user interface namespace. More...
Classes | |
| class | AboutWindow |
| Window displaying program version and authors. More... | |
| class | AddItemDialog |
| Dialog for adding items to Dictionaries or Arrays. More... | |
| class | AnnotDialog |
| Dialog for adding annotations. More... | |
| class | Base |
| Script hosting base class. More... | |
| class | BaseConsole |
| Script hosting base class. More... | |
| class | BaseCore |
| Core scripting functions. More... | |
| class | BaseGUI |
| Script hosting base class. More... | |
| class | BoolOption |
| Widget to edit boolean option. More... | |
| class | BoolProperty |
| Property editor widget for editing CBool. More... | |
| class | ColorTool |
| Toolbar widget for changing current color. More... | |
| class | ComboOption |
| Widget to edit option by picking from list of choices. More... | |
| class | CommandWindow |
| class | ConsoleWindow |
| Commandline mode Main "window". More... | |
| class | ConsoleWriter |
| Abstract class for console output. More... | |
| class | ConsoleWriterConsole |
| Console output in commandline. More... | |
| class | ConsoleWriterGui |
| Console output in GUI. More... | |
| class | DialogOption |
| Abstract class for option editable as string and pickable by dialog. More... | |
| class | TreeItemDragObject |
| Drag and drop object. More... | |
| class | DragListView |
| Drag and drop enhanced QListView. More... | |
| class | EditTool |
| Toolbar widget for editing arbitrary text. More... | |
| class | FileOption |
| Widget to edit option by typing or picking a file. More... | |
| class | FontOption |
| Widget to edit option by typing or picking a font. More... | |
| class | HelpWindow |
| Help window. More... | |
| class | IconCache |
| Class caching loaded icons. More... | |
| class | ImageWidget |
| class | IntOption |
| Widget to edit integer option. More... | |
| class | IntProperty |
| Property editor widget for editing CInt. More... | |
| class | InvalidMenuException |
| Exception raised when encountering invalid menu item. More... | |
| class | Menu |
| Menu and Toolbar management. More... | |
| struct | NodeData |
| class | ListItem |
| class | MergeArray |
| Type for merge dialog result. More... | |
| class | MergeDialog |
| Dialog for merging documents. More... | |
| class | MultiTreeWindow |
| Treeview with tab support. More... | |
| class | NameProperty |
| Property editor widget for editing CName. More... | |
| class | NullPointerException |
| Exception raised when encountering NULL pointer when not expected. More... | |
| class | NumberTool |
| Toolbar widget for editing arbitrary text. More... | |
| class | OperatorHint |
| Mode controller wrapper. More... | |
| class | Option |
| Abstract class for option editing widget. More... | |
| class | OptionWindow |
| Window for showing/editing program settings. More... | |
| class | TextLine |
| class | PageSpace |
| class | PageTool |
| Toolbar widget for changing page. More... | |
| class | DrawingObjectFactory |
| class | DrawingObject |
| class | DrawingLine |
| class | DrawingRect |
| class | DrawingRect2 |
| class | DrawingRect3 |
| class | PageViewModeFactory |
| class | PageViewMode |
| class | PageViewMode_NewObject |
| class | PageViewMode_TextSelection |
| class | PageViewMode_OperatorsSelection |
| class | PageViewMode_Annotations |
| class | PageViewMode_TextMarking |
| class | PageViewMode_GraphicalOperatorsSelection |
| class | PageViewS |
| class | PasswordDialog |
| Window for asking password. More... | |
| class | PdfEditWindow |
| Main window of application. More... | |
| class | ProgressBar |
| class | Property |
| Abstract class for property editing widget. More... | |
| class | PropertyEditor |
| Property editor widget. More... | |
| class | PropertyModeController |
| Mode controller wrapper. More... | |
| class | QSAnnotation |
| QObject wrapper around CAnnotation object. More... | |
| class | QSArray |
| QObject wrapper around CArray. More... | |
| class | QSCObject |
| Common base class of all QObject wrappers used in scripting. More... | |
| class | QSContentStream |
| QObject wrapper around CContentStream. More... | |
| class | QSDict |
| QObject wrapper around CDict. More... | |
| class | QSImporter |
| QObject importer into scripting. More... | |
| class | QSIProperty |
| QObject wrapper around IProperty. More... | |
| class | QSIPropertyArray |
| QObject wrapper around array of arbitrary IProperty items. More... | |
| class | QSMenu |
| QObject wrapper around popup menu. More... | |
| class | QSPage |
| QObject wrapper around CPage. More... | |
| class | QSPdf |
| QObject wrapper around shared_ptr<CPdf>. More... | |
| class | QSPdfOperator |
| QObject wrapper around PdfOperator. More... | |
| class | QSPdfOperatorIterator |
| QObject wrapper around PdfOperator::Iterator. More... | |
| class | QSPdfOperatorStack |
| QObject wrapper around array (stack) of PDF Operators. More... | |
| class | QSStream |
| QObject wrapper around CStream. More... | |
| class | QSTreeItem |
| QObject wrapper around TreeItemAbstract (or its subclasses) More... | |
| class | QSTreeItemContentStream |
| QObject wrapper around TreeItemContentStream. More... | |
| class | QSWrapper |
| QObject Wrapper factory. More... | |
| class | RealOption |
| Widget to edit floating-point number option. More... | |
| class | RealProperty |
| Property editor widget for editing CReal. More... | |
| class | BBoxOfObjectOnPage |
| class | RectArray |
| class | Rect2DArray |
| class | RefProperty |
| Property editor widget for editing CRef. More... | |
| class | RefPropertyDialog |
| Dialog to pick reference target. More... | |
| class | RefValidator |
| Reference format validator. More... | |
| class | RevisionTool |
| Toolbar widget for changing revision. More... | |
| class | SelectPagesDialog |
| class | SelectTool |
| Toolbar widget for selecting arbitrary text. More... | |
| class | SelfDestructiveWidget |
| Widget destroying itself on certain signal. More... | |
| class | Settings |
| Saving and loading settings. More... | |
| class | StaticSettings |
| Loading static settings from file. More... | |
| class | StatusBar |
| Editor statusbar. More... | |
| class | StringOption |
| Widget to edit string option. More... | |
| class | StringProperty |
| Property editor widget for editing CString. More... | |
| class | ToolBar |
| Application toolbar. More... | |
| class | ToolButton |
| Pushbutton in application toolbar. More... | |
| class | ToolFactory |
| Special Toolbar item factory. More... | |
| class | TreeData |
| Tree parameters shared between tree and tree items. More... | |
| class | TreeItem |
| Tree item containing IProperty. More... | |
| class | TreeItemAbstract |
| Abstract tree item class. More... | |
| class | TreeItemAnnotation |
| Tree item containing CAnnotation. More... | |
| class | TreeItemAnnotationContainer |
| Tree item containing vector of Annotations. More... | |
| class | TreeItemArray |
| Tree item containing CArray. More... | |
| class | TreeItemContentStream |
| Tree item containing CContentStream. More... | |
| class | TreeItemContentStreamObserver |
| Observer for TreeItemContentStream. More... | |
| class | TreeItemCStream |
| Tree item containing CStream. More... | |
| class | TreeItemDict |
| Tree item containing CDict. More... | |
| class | TreeItemGenericObserver |
| Generic observer that will reload tree item on change. More... | |
| class | TreeItemObserver |
| Observer for TreeItem. More... | |
| class | TreeItemOperatorContainer |
| Tree item containing vector of PDF operators. More... | |
| class | TreeItemOutline |
| Tree item containing one outline. More... | |
| class | TreeItemPage |
| Tree item containing CPage. More... | |
| class | TreeItemPageObserver |
| Observer for TreeItemPage. More... | |
| class | TreeItemPdf |
| Tree item containing PDF document or special parts of it. More... | |
| class | TreeItemPdfOperator |
| Tree item containing PdfOperator. More... | |
| class | TreeItemRef |
| Tree item containing CRef. More... | |
| class | TreeItemSimple |
| Tree item containing simple property. More... | |
| class | TreeWindow |
| Object tree view widget. More... | |
| class | Units |
| Units conversion. More... | |
| class | ZoomTool |
| Toolbar widget for changing zoom level. More... | |
Typedefs | |
| typedef vector< size_t > | PageNums |
| typedef Q_PtrDict< Q_PtrDict < void > > | TreeBindingMap |
| typedef Q_PtrDictIterator < QSTreeItem > | TreeBindingMapIterator |
| typedef QMap< QString, QPixmap * > | IconCacheData |
| typedef QMap< QString, QIcon * > | IconSetsData |
| typedef QMap< QString, int > | ActionMap |
| typedef QMap< int, QString > | ActionMapInverse |
| typedef QMap< QString, ToolBar * > | ToolBarList |
| typedef QMap< QString, QString > | AccelList |
| typedef QMap< QString, Q_PopupMenu * > | MenuCache |
| typedef QMap< QMenuData *, QString > | MenuAccels |
| typedef QMap< QString, QString > | MenuNames |
| typedef std::pair< QMenuData *, int > | MenuItemsValue |
| typedef std::pair< QString, int > | MapKey |
| typedef QMap< MapKey, MenuItemsValue > | MenuItems |
| typedef QMap< MapKey, QWidget * > | ToolbarItems |
| typedef std::pair< TreeType, void * > | TreeKey |
| typedef QMap< TreeKey, TreeWindow * > | TreeWindowList |
| typedef QMap< TreeWindow *, TreeKey > | TreeWindowListReverse |
| typedef PropertyMode | PropertyFlags |
| typedef std::deque < boost::shared_ptr < PdfOperator > > | pdfOpDeque |
| typedef int | ChildType |
| typedef boost::shared_ptr < IProperty > | OutlineItem |
| typedef std::vector < boost::shared_ptr < pdfobjects::PdfOperator > > | OperatorVector |
| typedef std::vector < boost::shared_ptr < pdfobjects::CAnnotation > > | AnnotationVector |
Enumerations | |
| enum | TreeType { Tree_Invalid =0, Tree_Main, Tree_OperatorVector, Tree_IProperty, Tree_ContentStream } |
| enum | TreeItemContentStreamMode { All, Text, Font, Graphic } |
| enum | childType { invalidItem =-1, pageList =1, outlineList, pageItem, outlineItem, dictItem } |
Functions | |
| bool | pdfWriterAskPassword (const QString &inFile, boost::shared_ptr< utils::PdfDocumentWriter > wr) |
| QString | getDir (QFileDialog &fd) |
| QString | openFileDialog (QWidget *parent, const QString &caption, const QString &settingName, const QString &filters, const QString &savePath) |
| QString | openFileDialogPdf (QWidget *parent) |
| QString | saveFileDialog (QWidget *parent, const QString &oldname, bool askOverwrite, const QString &caption, const QString &settingName, const QString &filters, const QString &savePath) |
| QString | saveFileDialogPdf (QWidget *parent, const QString &oldname, bool askOverwrite) |
| QString | saveFileDialogXml (QWidget *parent, const QString &oldname, bool askOverwrite) |
| QString | readStringDialog (QWidget *parent, const QString &message, const QString &def) |
| QColor | colorDialog (QWidget *parent) |
| bool | questionDialog (QWidget *parent, const QString &msg) |
| void | removeOperatorHint () |
| void | applyLookAndFeel (bool notify) |
| void | applyStyle () |
| Property * | propertyFactory (pdfobjects::IProperty *prop, const QString &_name, QWidget *parent) |
| void | removePropertyModeController () |
| QRegExp | valid ("\\d+,\\d+") |
| QRegExp | ivalid ("\\d*,?\\d*") |
Graphical user interface namespace.
GUI namespace
This namespace contain all user-interface related classes (widgets, tree items, scripting wrappers and others)
| typedef QMap<QString, QString> gui::AccelList |
| typedef QMap<QString, int> gui::ActionMap |
| typedef QMap<int, QString> gui::ActionMapInverse |
| typedef std::vector<boost::shared_ptr<pdfobjects::CAnnotation> > gui::AnnotationVector |
| typedef int gui::ChildType |
Type of TreeItemAbstract's child.
The type is arbitrary integer and must be unique only across single type (different types must have different values).
Two distict TreeItemAbstract descendants can have collisions in types (same value meaning different type)
Types of childs from different items are never mixed or compared together
Definition at line 40 of file treeitemabstract.h.
| typedef QMap<QString, QPixmap*> gui::IconCacheData |
Icon Cache type: mapping from icon name to pixmap
Definition at line 53 of file iconcache.cc.
| typedef QMap<QString, QIcon*> gui::IconSetsData |
Icon Sets Cache type: mapping from icon name to icon set
Definition at line 55 of file iconcache.cc.
| typedef std::pair<QString,int> gui::MapKey |
| typedef QMap<QMenuData*, QString> gui::MenuAccels |
| typedef QMap<QString, Q_PopupMenu*> gui::MenuCache |
| typedef QMap<MapKey,MenuItemsValue> gui::MenuItems |
| typedef std::pair<QMenuData*,int> gui::MenuItemsValue |
| typedef QMap<QString, QString> gui::MenuNames |
| typedef std::vector<boost::shared_ptr<pdfobjects::PdfOperator> > gui::OperatorVector |
| typedef boost::shared_ptr<IProperty> gui::OutlineItem |
type representing one outline item
Definition at line 36 of file treeitemoutline.h.
| typedef vector<size_t> gui::PageNums |
| typedef std::deque<boost::shared_ptr<PdfOperator> > gui::pdfOpDeque |
Double ended queue with operators
Definition at line 38 of file qspdfoperatorstack.h.
| typedef PropertyMode gui::PropertyFlags |
Property flags (property mode - hidden, advanced ...)
Definition at line 41 of file property.h.
| typedef QMap<MapKey,QWidget*> gui::ToolbarItems |
| typedef QMap<QString, ToolBar*> gui::ToolBarList |
| typedef Q_PtrDict<Q_PtrDict<void> > gui::TreeBindingMap |
Type containing binding between treeitem and its QSA wrapper.
Mapping is from TreeItemAbstract* to (QSTreeItem*)[]
Definition at line 44 of file basecore.h.
Iterator type for TreeBindingMap dictionary type
Definition at line 56 of file basecore.h.
| typedef std::pair<TreeType,void*> gui::TreeKey |
Key type used to identify the tree in map
Definition at line 62 of file multitreewindow.h.
| typedef QMap<TreeKey,TreeWindow*> gui::TreeWindowList |
Mapping from TreeKey to associated Tree Window
Definition at line 65 of file multitreewindow.h.
| typedef QMap<TreeWindow*,TreeKey> gui::TreeWindowListReverse |
Mapping from Tree Window to TreeKey associated with them (reverse mapping)
Definition at line 68 of file multitreewindow.h.
| enum gui::childType |
Child type specific for TreeItemPdf
| Enumerator | |
|---|---|
| invalidItem | |
| pageList | |
| outlineList | |
| pageItem | |
| outlineItem | |
| dictItem | |
Definition at line 49 of file treeitempdf.cc.
What should be shown as children under tree item wit Content stream
| Enumerator | |
|---|---|
| All |
Show all operators |
| Text |
Show only text operators |
| Font |
Show only font operators |
| Graphic |
Show only graphical operators |
Definition at line 46 of file treeitemcontentstream.h.
| enum gui::TreeType |
Possible types of tree - which item is in root
| Enumerator | |
|---|---|
| Tree_Invalid |
Invalid type |
| Tree_Main |
Main - the document |
| Tree_OperatorVector |
Vector with operators |
| Tree_IProperty |
IPproperty |
| Tree_ContentStream |
Content stream |
Definition at line 53 of file multitreewindow.h.
| void gui::applyLookAndFeel | ( | bool | notify) |
Applies look and feel settings from options
| notify | If true, all fonts will be immediately changed in all widgets |
Definition at line 501 of file optionwindow.cc.
References globalSettings, globalSettings, and globalSettings.
Referenced by gui::OptionWindow::apply(), and main().
| void gui::applyStyle | ( | ) |
Apply current style to GUI (to all windows)
Definition at line 521 of file optionwindow.cc.
References globalSettings, globalSettings, and q_App.
| QColor gui::colorDialog | ( | QWidget * | parent) |
Invoke dialog to select color. Last selected color is remembered and offered as default next time. The 'initial default color' is red
| parent | Parent widget - will be disabled during the dialog. |
Definition at line 279 of file dialog.cc.
Referenced by gui::BaseGUI::pickColor().
| QString gui::getDir | ( | QFileDialog & | fd) |
Get current directory from File Dialog
| fd | File Dialog |
Definition at line 54 of file dialog.cc.
Referenced by openFileDialog(), and saveFileDialog().
| QRegExp gui::ivalid | ( | "\\d* | , |
| ?\\d *" | |||
| ) |
Regular expression for intermediate validation
Referenced by gui::RefValidator::validate().
| QString gui::openFileDialog | ( | QWidget * | parent, |
| const QString & | caption, | ||
| const QString & | settingName, | ||
| const QString & | filters, | ||
| const QString & | savePath | ||
| ) |
Generic "Open file" dialog. Wait for user to select one existing file and return its name. Will return NULL if user cancels the dialog.
| parent | Parent widget - will be disabled during the dialog. |
| caption | Caption used in dialog title |
| settingName | Key in settings used to save/load dialog window position |
| savePath | Key in settings used to identify where to save last used directory in the dialog |
| filters | Filters available to user to restrict shown filetypes in dialog |
Definition at line 77 of file dialog.cc.
References getDir(), globalSettings, globalSettings, globalSettings, globalSettings, globalSettings, guiPrintDbg, name, and name.
Referenced by openFileDialogPdf().
| QString gui::openFileDialogPdf | ( | QWidget * | parent) |
Invoke "open file" dialog for PDF files. Specialization of openFileDialog
| parent | Parent widget - will be disabled during the dialog. |
Definition at line 137 of file dialog.cc.
References openFileDialog().
Referenced by gui::BaseGUI::fileOpenDialog().
| bool gui::pdfWriterAskPassword | ( | const QString & | inFile, |
| boost::shared_ptr< utils::PdfDocumentWriter > | wr | ||
| ) |
Common code to flattener and delinearizator Ask for password for opening the PDF file if one is needed
| inFile | name of input file |
| wr | PdfDocumentWriter |
Definition at line 457 of file base.cc.
References gui::PasswordDialog::ask(), guiPrintDbg, and guiPrintDbg.
Referenced by gui::Base::delinearize(), and gui::Base::flatten().
| Property * gui::propertyFactory | ( | pdfobjects::IProperty * | prop, |
| const QString & | _name, | ||
| QWidget * | parent | ||
| ) |
Return one of the subclasses of Property widget for editing given property. If property is of unknown or uneditable type, NULL is returned
| prop | IProperty to create property from |
| parent | Parent widget |
| _name | Name of this property |
Definition at line 52 of file propertyfactory.cc.
References pdfobjects::IProperty::getMode(), pdfobjects::IProperty::getType(), NULL, NULL, NULL, NULL, NULL, NULL, pdfobjects::pArray, pdfobjects::pBool, pdfobjects::pDict, pdfobjects::pInt, pdfobjects::pName, pdfobjects::pNull, pdfobjects::pOther, pdfobjects::pOther1, pdfobjects::pOther2, pdfobjects::pOther3, pdfobjects::pReal, pdfobjects::pRef, pdfobjects::pStream, and pdfobjects::pString.
| bool gui::questionDialog | ( | QWidget * | parent, |
| const QString & | msg | ||
| ) |
Asks question with Yes/No answer. "Yes" is default. Return true if user selected "yes", false if user selected "no"
| msg | Question to display |
| parent | Parent widget - will be disabled during the dialog. |
Definition at line 293 of file dialog.cc.
References APP_NAME.
Referenced by gui::AddItemDialog::commit(), and gui::BaseGUI::question().
Invoke "read string" dialog. Show message and wait for user to type any string. Will return NULL if user cancels the dialog.
| parent | Parent widget - will be disabled during the dialog. |
| message | Message to show in the dialog |
| def | Default text that will be pre-typed in the dialog |
Definition at line 265 of file dialog.cc.
References APP_NAME.
| void gui::removeOperatorHint | ( | ) |
atexit handler that will delete the single instance if it was allocated
Definition at line 62 of file operatorhint.cc.
References OperatorHintInstance, and OperatorHintInstance.
| void gui::removePropertyModeController | ( | ) |
atexit handler that will delete the single instance if it was allocated
Definition at line 62 of file propertymodecontroller.cc.
References propertyModeControllerInstance, and propertyModeControllerInstance.
| QString gui::saveFileDialog | ( | QWidget * | parent, |
| const QString & | oldname, | ||
| bool | askOverwrite, | ||
| const QString & | caption, | ||
| const QString & | settingName, | ||
| const QString & | filters, | ||
| const QString & | savePath | ||
| ) |
Invoke generic "save file" dialog. Wait for user to select or type a single file and return its name. Will return NULL if user cancels the dialog.
| parent | Parent widget - will be disabled during the dialog. |
| oldname | Name of file to be saved - if specified, this name will be pre-selected. |
| askOverwrite | If true and selected file exists, user will be asked to confirm overwriting it |
| caption | Caption used in dialog title |
| settingName | Key in settings used to save/load dialog window position |
| savePath | Key in settings used to identify where to save last used directory in the dialog |
| filters | Filters available to user to restrict shown filetypes in dialog |
Definition at line 153 of file dialog.cc.
References APP_NAME, getDir(), globalSettings, globalSettings, globalSettings, globalSettings, globalSettings, globalSettings, guiPrintDbg, name, and name.
Referenced by gui::FileOption::dialog(), saveFileDialogPdf(), and saveFileDialogXml().
| QString gui::saveFileDialogPdf | ( | QWidget * | parent, |
| const QString & | oldname, | ||
| bool | askOverwrite | ||
| ) |
Invoke "save file" dialog for PDF files. Specialization of saveFileDialog
| parent | Parent widget - will be disabled during the dialog. |
| oldname | Name of file to be saved - if specified, this name will be pre-selected. |
| askOverwrite | If true and selected file exists, user will be asked to confirm overwriting it |
Definition at line 240 of file dialog.cc.
References saveFileDialog().
Referenced by gui::BaseGUI::fileSaveDialog(), and gui::BaseGUI::fileSaveDialogDiffer().
| QString gui::saveFileDialogXml | ( | QWidget * | parent, |
| const QString & | oldname, | ||
| bool | askOverwrite | ||
| ) |
Invoke "save file" dialog for xml files. Specialization of saveFileDialog
| parent | Parent widget - will be disabled during the dialog. |
| oldname | Name of file to be saved - if specified, this name will be pre-selected. |
| askOverwrite | If true and selected file exists, user will be asked to confirm overwriting it |
Definition at line 252 of file dialog.cc.
References saveFileDialog().
Referenced by gui::BaseGUI::fileSaveDialogXml().
| QRegExp gui::valid | ( | "\\d+ | , |
| \\d+" | |||
| ) |
Regular expression for validation
Referenced by gui::RefValidator::validate().
| const Qt::WFlags gui::aboutDialogFlags =Qt::WDestructiveClose | Qt::WType_Dialog |
About Dialog flags
Definition at line 49 of file aboutwindow.cc.
| const int gui::addDialogPropertyTypes =8 |
Number of property types that can be added in AddItemDialog
Definition at line 49 of file additemdialog.h.
Referenced by gui::AddItemDialog::AddItemDialog(), and gui::AddItemDialog::AddItemDialog().
| QString gui::app =QString(APP_NAME) +" "+ QString(PDFEDIT_VERSION) |
Version of program
Definition at line 46 of file aboutwindow.cc.
Referenced by gui::AboutWindow::AboutWindow(), gui::AboutWindow::AboutWindow(), main(), main(), main(), main(), main(), main(), and main().
| const QString gui::APP_KEY = "/PDFedit/" |
"Root" item of all configuration settings, which are relative to this item
Definition at line 57 of file settings.cc.
Referenced by gui::Settings::read(), gui::Settings::write(), and gui::Settings::write().
| const QString gui::APP_PATH_VAR = "PDFEDIT_BIN" |
Name of variable which will be expanded to full path to the executable
Definition at line 61 of file settings.cc.
Referenced by gui::Settings::expand().
| StringConfigurationParser gui::baseParser(NULL) |
Low-level parser for simple configuration files (one line = one setting). This base parser is used by ConfParser, which is used by ModeController in loadFromFile
Referenced by TestUtils::modeControllerTC(), TestUtils::operatorHinterTC(), and configuration::ModeConfigurationParser::parse().
| StringConfigurationParser gui::baseParserHint(StringConfigurationParser(NULL)) |
Low-level parser for simple configuration files (one line = one hint). This base parser is used by ConfParser, which is used by OperatorHinter in loadFromFile
| QString gui::CMD = "gui/CommandLine/" |
Root settings key prefixing all settings defined in this class
Definition at line 51 of file commandwindow.cc.
Referenced by gui::CommandWindow::CommandWindow(), gui::CommandWindow::loadHistory(), gui::CommandWindow::loadHistory(), gui::CommandWindow::reloadSettings(), gui::CommandWindow::reloadSettings(), gui::CommandWindow::reloadSettings(), gui::CommandWindow::saveHistory(), gui::CommandWindow::saveHistory(), gui::CommandWindow::setHistoryFile(), and gui::CommandWindow::setHistorySize().
| QString gui::CMDSHOWEDITOR = "CmdShowEditor" |
Settings key specifying if to show the script editor
Definition at line 57 of file commandwindow.cc.
Referenced by gui::CommandWindow::reloadSettings().
| QString gui::CMDSHOWHISTORY = "CmdShowHistory" |
Settings key specifying if to show the commandline
Definition at line 53 of file commandwindow.cc.
Referenced by gui::CommandWindow::reloadSettings().
| QString gui::CMDSHOWLINE = "CmdShowLine" |
Settings key specifying if the commandline is enables for editing or just as history drop-down
Definition at line 55 of file commandwindow.cc.
Referenced by gui::CommandWindow::reloadSettings().
| const QString gui::CONFIG_FILE = "pdfeditrc" |
Name of configuration file
Definition at line 59 of file settings.cc.
| const QString gui::DATA_PATH_VAR = "PDFEDIT_DATA" |
Name of variable which will be expanded to data directory
Definition at line 63 of file settings.cc.
Referenced by gui::Settings::expand().
| bool gui::DEFAULT__CMDSHOWEDITOR = false |
Default value of setting identified by key CMDSHOWEDITOR
Definition at line 75 of file commandwindow.cc.
Referenced by gui::CommandWindow::reloadSettings().
| bool gui::DEFAULT__CMDSHOWHISTORY = true |
Default value of setting identified by key CMDSHOWHISTORY
Definition at line 71 of file commandwindow.cc.
Referenced by gui::CommandWindow::reloadSettings().
| bool gui::DEFAULT__CMDSHOWLINE = true |
Default value of setting identified by key CMDSHOWLINE
Definition at line 73 of file commandwindow.cc.
Referenced by gui::CommandWindow::reloadSettings().
| QString gui::DEFAULT__HISTORYFILE = ".pdfedit-history" |
Default history file
Definition at line 65 of file commandwindow.cc.
Referenced by gui::CommandWindow::loadHistory(), and gui::CommandWindow::saveHistory().
| QString gui::DEFAULT__HISTORYFILEITEMSEPARATOR = "<EndItem>" |
Default history items separator
Definition at line 67 of file commandwindow.cc.
Referenced by gui::CommandWindow::loadHistory(), and gui::CommandWindow::saveHistory().
| int gui::DEFAULT__HISTORYSIZE = 10 |
Default maximal size of history (in lines)
Definition at line 69 of file commandwindow.cc.
Referenced by gui::CommandWindow::CommandWindow().
| int gui::DEFAULT__RESIZINGZONE = 2 |
Default value for resizing zone.
Definition at line 75 of file pagespace.cc.
Referenced by gui::PageSpace::getResizingZone(), and gui::PageSpace::setSelectionMode().
| QString gui::DEFAULT__VIEWED_UNITS = "cm" |
Default value for viewed units.
Definition at line 79 of file pagespace.cc.
Referenced by gui::PageSpace::PageSpace().
| const PropertyMode gui::defaultPropertyMode =mdNormal |
Default mode to be chosen if omitted in constructor
Definition at line 44 of file property.h.
| QString gui::format = "x:%1 y:%2 %3" |
Template for viewing mouse position on page.
Definition at line 81 of file pagespace.cc.
Referenced by QSStringClass::argDec(), QSAEditor::configChanged(), QSAEditor::configChanged(), gui::PageSpace::PageSpace(), gui::PageSpace::PageSpace(), and QSPixmapClass::save().
One object for application, holding all global settings. Should be thread-safe. This instance is used from other files
One object for application, holding all global settings.
Definition at line 67 of file settings.cc.
Referenced by gui::CommandWindow::addCommand(), gui::CommandWindow::addError(), gui::AddItemDialog::AddItemDialog(), gui::CommandWindow::addString(), gui::OptionWindow::apply(), applyLookAndFeel(), applyLookAndFeel(), applyLookAndFeel(), applyStyle(), applyStyle(), gui::BaseCore::BaseCore(), gui::BaseCore::BaseCore(), gui::PdfEditWindow::bigPixmap(), gui::BaseCore::call(), gui::BaseCore::call(), gui::PropertyEditor::checkOverrides(), gui::PropertyEditor::checkOverrides(), gui::TreeData::checkSetting(), gui::CommandWindow::CommandWindow(), gui::Settings::getInstance(), gui::Settings::getInstance(), gui::Settings::getInstance(), gui::PageSpace::getResizingZone(), gui::HelpWindow::HelpWindow(), gui::HelpWindow::HelpWindow(), gui::IconCache::IconCache(), gui::IconCache::IconCache(), gui::CommandWindow::loadHistory(), gui::CommandWindow::loadHistory(), gui::Menu::loadToolBars(), gui::Menu::loadToolBars(), gui::PdfEditWindow::loadVisibility(), main(), main(), main(), main(), main(), gui::PdfEditWindow::openFile(), openFileDialog(), openFileDialog(), openFileDialog(), openFileDialog(), openFileDialog(), gui::PageSpace::PageSpace(), gui::PdfEditWindow::PdfEditWindow(), gui::PdfEditWindow::PdfEditWindow(), gui::PdfEditWindow::PdfEditWindow(), gui::PdfEditWindow::PdfEditWindow(), gui::Menu::readItem(), gui::Menu::readItem(), gui::StringOption::readValue(), gui::BoolOption::readValue(), gui::DialogOption::readValue(), gui::ComboOption::readValue(), gui::CommandWindow::reloadSettings(), gui::CommandWindow::reloadSettings(), gui::CommandWindow::reloadSettings(), gui::Menu::restoreToolbars(), gui::CommandWindow::restoreWindowState(), gui::PdfEditWindow::restoreWindowState(), gui::PdfEditWindow::restoreWindowState(), gui::PdfEditWindow::restoreWindowState(), gui::PdfEditWindow::restoreWindowState(), gui::Base::run(), gui::BaseConsole::runInitScript(), gui::BaseConsole::runInitScript(), gui::BaseGUI::runInitScript(), gui::BaseGUI::runInitScript(), gui::BaseCore::runScript(), gui::BaseCore::runScript(), saveFileDialog(), saveFileDialog(), saveFileDialog(), saveFileDialog(), saveFileDialog(), saveFileDialog(), gui::CommandWindow::saveHistory(), gui::CommandWindow::saveHistory(), saveSettings(), gui::Menu::saveToolbars(), gui::Menu::saveToolbars(), gui::PdfEditWindow::saveVisibility(), gui::CommandWindow::saveWindowState(), gui::PdfEditWindow::saveWindowState(), gui::PdfEditWindow::saveWindowState(), gui::PdfEditWindow::saveWindowState(), gui::PdfEditWindow::saveWindowState(), gui::CommandWindow::setHistoryFile(), gui::CommandWindow::setHistorySize(), gui::AddItemDialog::setItem(), gui::AddItemDialog::setItem(), gui::PageSpace::setResizingZone(), gui::PageSpace::setSelectionMode(), gui::StringOption::writeValue(), gui::BoolOption::writeValue(), gui::DialogOption::writeValue(), gui::ComboOption::writeValue(), gui::ComboOption::writeValue(), gui::AddItemDialog::~AddItemDialog(), gui::HelpWindow::~HelpWindow(), and gui::OptionWindow::~OptionWindow().
| OperatorHinter gui::hinter |
Operator hinter instance
Definition at line 49 of file operatorhint.cc.
Referenced by gui::OperatorHint::get(), and gui::OperatorHint::hint().
| QString gui::HISTORYFILE = "HistoryFile" |
Settings key identifying history file
Definition at line 61 of file commandwindow.cc.
Referenced by gui::CommandWindow::loadHistory(), gui::CommandWindow::saveHistory(), and gui::CommandWindow::setHistoryFile().
| QString gui::HISTORYFILEITEMSEPARATOR = "HistoryFileItemSeparator" |
Settings key identifying history items separator
Definition at line 63 of file commandwindow.cc.
Referenced by gui::CommandWindow::loadHistory(), and gui::CommandWindow::saveHistory().
| QString gui::HISTORYSIZE = "HistorySize" |
Settings key identifying maximal size of history (in lines)
Definition at line 59 of file commandwindow.cc.
Referenced by gui::CommandWindow::CommandWindow(), and gui::CommandWindow::setHistorySize().
| IconCacheData gui::iconCache |
Cache storing loaded icons
Definition at line 63 of file iconcache.cc.
Referenced by gui::IconCache::getIcon(), gui::IconCache::getIcon(), gui::IconCache::getIcon(), gui::IconCache::~IconCache(), gui::IconCache::~IconCache(), and gui::IconCache::~IconCache().
| int gui::iconCacheInstances =0 |
Number of concurrently existing icon cache instances. When last instance is deleted, cached data is deleted too
Definition at line 49 of file iconcache.cc.
Referenced by gui::IconCache::IconCache(), gui::IconCache::IconCache(), gui::IconCache::IconCache(), gui::IconCache::~IconCache(), gui::IconCache::~IconCache(), and gui::IconCache::~IconCache().
| QStringList gui::iconPath |
List with paths to application icons
Definition at line 59 of file iconcache.cc.
Referenced by gui::IconCache::IconCache().
| QString gui::iconStyleName |
Name of current icon style
Definition at line 61 of file iconcache.cc.
Referenced by gui::IconCache::IconCache(), gui::IconCache::IconCache(), gui::IconCache::IconCache(), gui::IconCache::IconCache(), and gui::IconCache::IconCache().
| const char gui::MENUDEF_SEPARATOR =',' |
Separator of fields in menu definition
Definition at line 47 of file menu.h.
Referenced by gui::QSMenu::addItemDef(), gui::Menu::parseName(), and gui::QSMenu::QSMenu().
| const char gui::MENULIST_SEPARATOR =',' |
Separator of items in menu list
Definition at line 49 of file menu.h.
Referenced by gui::Menu::parseName().
| ModeController gui::modeController |
Mode Controller instance
Definition at line 49 of file propertymodecontroller.cc.
Referenced by gui::PropertyModeController::get(), pdfobjects::CPdf::getModeController(), gui::PropertyModeController::mode(), and pdfobjects::CPdf::setModeController().
| OperatorHint* gui::OperatorHintInstance =NULL |
Single hinter instance for entire application
Definition at line 44 of file operatorhint.cc.
Referenced by gui::OperatorHint::getInstance(), gui::OperatorHint::getInstance(), gui::OperatorHint::getInstance(), removeOperatorHint(), removeOperatorHint(), and gui::OperatorHint::~OperatorHint().
| OptionWindow* gui::opt =NULL |
The only Option window
Pointer to running OptionWindow instance or NULL if none active.
Definition at line 67 of file optionwindow.cc.
Referenced by handleHelpOptions(), gui::OptionWindow::optionsDialog(), gui::OptionWindow::optionsDialog(), gui::OptionWindow::optionsDialog(), and gui::OptionWindow::optionsDialog().
| QString gui::PAGESPC = "gui/PageSpace/" |
Path to setting, where are stored settings for PageSpace.
Definition at line 71 of file pagespace.cc.
Referenced by gui::PageSpace::getResizingZone(), gui::PageSpace::PageSpace(), gui::PageSpace::setResizingZone(), and gui::PageSpace::setSelectionMode().
| ModeController::ConfParser gui::parser(baseParser) |
Configuration parser
Referenced by pdfobjects::utils::checkLinearized(), pdfobjects::XRefWriter::collectRevisions(), XRef::constructXRef(), XRef::constructXRef(), XRef::constructXRef(), XRef::fetch(), XRef::fetch(), XRef::fetch(), pdfobjects::XRefWriter::getOldStyleTrailer(), main(), TestUtils::modeControllerTC(), ObjectStream::ObjectStream(), ObjectStream::ObjectStream(), ObjectStream::ObjectStream(), ObjectStream::ObjectStream(), ObjectStream::ObjectStream(), ObjectStream::ObjectStream(), TestUtils::operatorHinterTC(), print(), pdfobjects::StateUpdater::printTextUpdate(), pdfobjects::StateUpdater::printTextUpdate(), pdfobjects::StateUpdater::printTextUpdate(), pdfobjects::StateUpdater::printTextUpdate(), pdfobjects::StateUpdater::printTextUpdate(), pdfobjects::StateUpdater::printTextUpdate(), pdfobjects::StateUpdater::printTextUpdate(), XRef::readXRef(), XRef::readXRef(), XRef::readXRef(), and pdfobjects::utils::xpdfObjFromString().
| StringConfigurationParser gui::parserHint(baseParserHint) |
Configuration parser
| PropertyModeController* gui::propertyModeControllerInstance =NULL |
Single property mode instance for entire application
Definition at line 44 of file propertymodecontroller.cc.
Referenced by gui::PropertyModeController::getInstance(), gui::PropertyModeController::getInstance(), gui::PropertyModeController::getInstance(), removePropertyModeController(), removePropertyModeController(), and gui::PropertyModeController::~PropertyModeController().
| QString gui::RESIZINGZONE = "ResizingZone" |
Name of setting for resizing zone.
Definition at line 73 of file pagespace.cc.
Referenced by gui::PageSpace::getResizingZone(), gui::PageSpace::setResizingZone(), and gui::PageSpace::setSelectionMode().
| const QString gui::ROOT ="gui/items/" |
root key for system menu items
Definition at line 59 of file menu.cc.
Referenced by gui::Menu::readItem(), gui::Menu::readItem(), and gui::Menu::readItem().
| const QString gui::ROOT_ADD ="gui/items_add/" |
root key for user menu items appended to system menu items (lists)
Definition at line 61 of file menu.cc.
Referenced by gui::Menu::readItem().
| IconSetsData gui::setCache |
Cache storing created icons sets
Definition at line 65 of file iconcache.cc.
Referenced by gui::IconCache::getIconSet(), gui::IconCache::getIconSet(), gui::IconCache::getIconSet(), gui::IconCache::~IconCache(), gui::IconCache::~IconCache(), and gui::IconCache::~IconCache().
| const int gui::TMP_OFFSET =0x3fffffff |
Menu ID offset for temporary items
Definition at line 48 of file qsmenu.cc.
Referenced by gui::QSMenu::addItemDef(), gui::QSMenu::addItemDef(), gui::QSMenu::addItemDef(), gui::QSMenu::getAction(), and gui::QSMenu::getAction().
| const char gui::TOOLBARLIST_SEPARATOR =',' |
Separator of items in list of existing toolbars
Definition at line 51 of file menu.h.
Referenced by gui::Menu::loadToolBars().
| const char* gui::TREEITEM_TYPE ="pdfedit/treeitem" |
Pseudo-mimetype for tree item
Definition at line 40 of file draglistview.cc.
Referenced by gui::DragListView::contentsDropEvent(), gui::TreeItemDragObject::encodedData(), and gui::TreeItemDragObject::format().
| QString gui::VIEWED_UNITS = "ViewedUnits" |
Name of setting for viewed units.
Definition at line 77 of file pagespace.cc.
Referenced by gui::PageSpace::PageSpace().
| int gui::windowCount |
number of active editor windows -> when last is closed, application terminates
Definition at line 68 of file pdfeditwindow.cc.
Referenced by gui::PdfEditWindow::closeEvent(), and gui::PdfEditWindow::create().