Back to index

scribus-ng  1.3.4.dfsg+svn20071115
guiapp.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef GUIAPP_H
00008 #define GUIAPP_H
00009 
00010 // Brings in <Python.h> first
00011 #include "cmdvar.h"
00012 
00016 PyDoc_STRVAR(scribus_messagebartext__doc__,
00017 QT_TR_NOOP("messagebarText(\"string\")\n\
00018 \n\
00019 Writes the \"string\" into the Scribus message bar (status line). The text\n\
00020 must be UTF8 encoded or 'unicode' string(recommended).\n\
00021 "));
00026 PyObject *scribus_messagebartext(PyObject */*self*/, PyObject* args);
00027 
00029 PyDoc_STRVAR(scribus_progressreset__doc__,
00030 QT_TR_NOOP("progressReset()\n\
00031 \n\
00032 Cleans up the Scribus progress bar previous settings. It is called before the\n\
00033 new progress bar use. See progressSet.\n\
00034 "));
00035 /*
00036 Progressbar handling
00037 (Petr Vanek 02/19/04)
00038 */
00039 PyObject *scribus_progressreset(PyObject */*self*/);
00040 
00042 PyDoc_STRVAR(scribus_progresssettotalsteps__doc__,
00043 QT_TR_NOOP("progressTotal(max)\n\
00044 \n\
00045 Sets the progress bar's maximum steps value to the specified number.\n\
00046 See progressSet.\n\
00047 "));
00048 PyObject *scribus_progresssettotalsteps(PyObject */*self*/, PyObject* args);
00049 
00051 PyDoc_STRVAR(scribus_progresssetprogress__doc__,
00052 QT_TR_NOOP("progressSet(nr)\n\
00053 \n\
00054 Set the progress bar position to \"nr\", a value relative to the previously set\n\
00055 progressTotal. The progress bar uses the concept of steps; you give it the\n\
00056 total number of steps and the number of steps completed so far and it will\n\
00057 display the percentage of steps that have been completed. You can specify the\n\
00058 total number of steps with progressTotal(). The current number of steps is set\n\
00059 with progressSet(). The progress bar can be rewound to the beginning with\n\
00060 progressReset(). [based on info taken from Trolltech's Qt docs]\n\
00061 "));
00062 PyObject *scribus_progresssetprogress(PyObject */*self*/, PyObject* args);
00063 
00065 PyDoc_STRVAR(scribus_setcursor__doc__,
00066 QT_TR_NOOP("setCursor()\n\
00067 \n\
00068 [UNSUPPORTED!] This might break things, so steer clear for now.\n\
00069 "));
00074 PyObject *scribus_setcursor(PyObject */*self*/, PyObject* args);
00075 
00077 PyDoc_STRVAR(scribus_docchanged__doc__,
00078 QT_TR_NOOP("docChanged(bool)\n\
00079 \n\
00080 Enable/disable save icon in the Scribus icon bar and the Save menu item. It's\n\
00081 useful to call this procedure when you're changing the document, because Scribus\n\
00082 won't automatically notice when you change the document using a script.\n\
00083 "));
00088 PyObject *scribus_docchanged(PyObject */*self*/, PyObject* args);
00089 
00090 PyDoc_STRVAR(scribus_zoomdocument__doc__,
00091 QT_TR_NOOP("zoomDocument(double)\n\
00092 \n\
00093 Zoom the document in main GUI window. Actions have whole number\n\
00094 values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.\n\
00095 "));
00100 PyObject *scribus_zoomdocument(PyObject */*self*/, PyObject* args);
00101 
00102 #endif