Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 1207 → Rev 1208

/branches/Version13x/Scribus/scribus-api/full-list-ScribusApp.html
71,7 → 71,7
<TR bgcolor="#eeeeee"><TD><A HREF="ScribusApp.html#LadeDoc">ScribusApp::LadeDoc</A></TD></TR>
<TR ><TD><A HREF="ScribusApp.html#LadeSeite">ScribusApp::LadeSeite</A></TD></TR>
<TR bgcolor="#eeeeee"><TD><A HREF="ScribusApp.html#LayerRemove">ScribusApp::LayerRemove</A></TD></TR>
<TR ><TD><A HREF="ScribusApp.html#LoadRecent">ScribusApp::LoadRecent</A></TD></TR>
<TR ><TD><A HREF="ScribusApp.html#loadRecent">ScribusApp::loadRecent</A></TD></TR>
<TR bgcolor="#eeeeee"><TD><A HREF="ScribusApp.html#ManTempEnd">ScribusApp::ManTempEnd</A></TD></TR>
<TR ><TD><A HREF="ScribusApp.html#ManageGuides">ScribusApp::ManageGuides</A></TD></TR>
<TR bgcolor="#eeeeee"><TD><A HREF="ScribusApp.html#ManageJava">ScribusApp::ManageJava</A></TD></TR>
148,7 → 148,7
<TR bgcolor="#eeeeee"><TD><A HREF="ScribusApp.html#UnDoAction">ScribusApp::UnDoAction</A></TD></TR>
<TR ><TD><A HREF="ScribusApp.html#UnGroupObj">ScribusApp::UnGroupObj</A></TD></TR>
<TR bgcolor="#eeeeee"><TD><A HREF="ScribusApp.html#UniteOb">ScribusApp::UniteOb</A></TD></TR>
<TR ><TD><A HREF="ScribusApp.html#UpdateRecent">ScribusApp::UpdateRecent</A></TD></TR>
<TR ><TD><A HREF="ScribusApp.html#updateRecent">ScribusApp::updateRecent</A></TD></TR>
<TR bgcolor="#eeeeee"><TD><A HREF="ScribusApp.html#applyNewMaster">ScribusApp::applyNewMaster</A></TD></TR>
<TR ><TD><A HREF="ScribusApp.html#changeLayer">ScribusApp::changeLayer</A></TD></TR>
<TR bgcolor="#eeeeee"><TD><A HREF="ScribusApp.html#closeEvent">ScribusApp::closeEvent</A></TD></TR>
/branches/Version13x/Scribus/scribus-api/scribus___scribus_h.html
120,7 → 120,7
void SavePrefs();
void ShowSubs();
void applyNewMaster(QString name);
void UpdateRecent(QString fn);
void updateRecent(QString fn);
void InitPlugs(SplashScreen *spl);
void InitHyphenator();
void FinalizePlugs();
226,7 → 226,7
/** open a document */
void slotFileOpen();
/** open a document */
void LoadRecent(int id);
void loadRecent(int id);
bool slotDocOpen();
bool LadeDoc(QString fileName);
void slotAutoSaved();
419,8 → 419,8
QPopupMenu *editMenu;
/** StilMenu enthaelt das Stilemenue */
QPopupMenu *StilMenu;
/** ObjMenu enthaelt das Objektemenue */
QPopupMenu *ObjMenu;
/** itemMenu enthaelt das Objektemenue */
QPopupMenu *itemMenu;
/** pageMenu enthaelt das Seitenmenue */
QPopupMenu *pageMenu;
/** view_menu contains all items of the menubar entry "View" */
436,7 → 436,7
/** FontMenu enthaelt die Fonts */
QPopupMenu *FontMenu;
QPopupMenu *TypeStyleMenu;
QPopupMenu *AliMenu;
QPopupMenu *alignMenu;
QPopupMenu *recentMenu;
QPopupMenu *hymen;
QToolBar *WerkTools2;
451,7 → 451,7
int KeyMod;
int ShapeEdit;
int ShapeM;
int DistM;
int M_ItemAlignDist;
int PfadT;
int PfadS;
int PfadV;
461,12 → 461,12
int pgmv;
int Stm;
int Obm;
int Markers;
int FrameDr;
int Bilder;
int Ras;
int M_ViewShowMarkers;
int M_ViewDrawFrames;
int M_ViewShowImages;
int M_ViewShowGrid;
int uRas;
int Guide;
int M_ViewShowGuides;
int uGuide;
int viewTools;
int viewToolsP;
477,43 → 477,43
int viewLpal;
int viewSepal;
int viewBopal;
int fid1;
int fid2;
int fid2a;
int fid3;
int fid4;
int M_FileClose;
int M_FileImportGetText;
int M_FileImportPages;
int M_FileExportSaveText;
int M_FileSave;
int fid5;
int fid51;
int fid6;
int fid7;
int fid8;
int M_FileCollect;
int M_FileDocInfo;
int M_FileDocSetup;
int M_FileExportSavePageAsEPS;
int fid9;
int fid10;
int fid11;
int M_FileExportSaveAsPDF;
int M_FileExport;
int fid12;
int fid13;
int fid14;
int M_FileOpen;
int M_OpenRecentFile;
int edUndo;
int edid1;
int edid2;
int edid3;
int edid4;
int edid5;
int edid6;
int edid6a;
int Loesch;
int tman;
int jman;
int M_EditCut;
int M_EditCopy;
int M_EditPaste;
int M_EditDelete;
int M_EditSelectAll;
int M_EditParaStyles;
int M_EditLineStyles;
int M_ItemDelete;
int M_EditTemplates;
int M_EditJavascripts;
int tip;
int Gr;
int UnGr;
int LockOb;
int M_ItemGroup;
int M_ItemUngroup;
int M_ItemLock;
int exmn;
int hyph;
int ORaise;
int OLower;
int OBack;
int OFront;
int M_ItemRaise;
int M_ItemLower;
int M_ItemSendToBack;
int M_ItemBringToFront;
bool tipsOn;
QPopupMenu *helpMenu;
QPopupMenu *toolMenu;
/branches/Version13x/Scribus/scribus-api/scribus___scribusdoc_h.html
486,7 → 486,7
bool Raster;
/** Flag fuer Rasterbenutzung */
bool useRaster;
/** Flag fuer Bilder */
/** Flag fuer M_ViewShowImages */
bool ShowPic;
/** Im Dokument benutzte Farben */
CListe PageColors;
/branches/Version13x/Scribus/scribus-api/ScribusApp.html
61,7 → 61,7
</LI>
<LI>void &nbsp;<b><A HREF="#ref16">applyNewMaster</A></b> (QString name)
</LI>
<LI>void &nbsp;<b><A HREF="#ref17">UpdateRecent</A></b> (QString fn)
<LI>void &nbsp;<b><A HREF="#ref17">updateRecent</A></b> (QString fn)
</LI>
<LI>void &nbsp;<b><A HREF="#ref18">InitPlugs</A></b> (<A HREF="SplashScreen.html">SplashScreen</A> *spl)
</LI>
177,7 → 177,7
</LI>
<LI>void &nbsp;<b><A HREF="#ref109">slotFileOpen</A></b> ()
</LI>
<LI>void &nbsp;<b><A HREF="#ref110">LoadRecent</A></b> (int id)
<LI>void &nbsp;<b><A HREF="#ref110">loadRecent</A></b> (int id)
</LI>
<LI>bool &nbsp;<b><A HREF="#ref111">slotDocOpen</A></b> ()
</LI>
475,7 → 475,7
</ul><h4>Private Members</h4><ul><LI>QPopupMenu *<b><A HREF="#ref235">fileMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref236">editMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref237">StilMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref238">ObjMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref238">itemMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref239">pageMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref240">viewMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref241">ColorMenu</A></b></LI>
484,7 → 484,7
<LI>QPopupMenu *<b><A HREF="#ref244">ShapeMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref245">FontMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref246">TypeStyleMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref247">AliMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref247">alignMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref248">recentMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref249">hymen</A></b></LI>
<LI>QToolBar *<b><A HREF="#ref250">WerkTools2</A></b></LI>
499,7 → 499,7
<LI>int <b><A HREF="#ref259">KeyMod</A></b></LI>
<LI>int <b><A HREF="#ref260">ShapeEdit</A></b></LI>
<LI>int <b><A HREF="#ref261">ShapeM</A></b></LI>
<LI>int <b><A HREF="#ref262">DistM</A></b></LI>
<LI>int <b><A HREF="#ref262">M_ItemAlignDist</A></b></LI>
<LI>int <b><A HREF="#ref263">PfadT</A></b></LI>
<LI>int <b><A HREF="#ref264">PfadS</A></b></LI>
<LI>int <b><A HREF="#ref265">PfadV</A></b></LI>
509,12 → 509,12
<LI>int <b><A HREF="#ref269">pgmv</A></b></LI>
<LI>int <b><A HREF="#ref270">Stm</A></b></LI>
<LI>int <b><A HREF="#ref271">Obm</A></b></LI>
<LI>int <b><A HREF="#ref272">Markers</A></b></LI>
<LI>int <b><A HREF="#ref273">FrameDr</A></b></LI>
<LI>int <b><A HREF="#ref274">Bilder</A></b></LI>
<LI>int <b><A HREF="#ref275">Ras</A></b></LI>
<LI>int <b><A HREF="#ref272">M_ViewShowMarkers</A></b></LI>
<LI>int <b><A HREF="#ref273">M_ViewDrawFrames</A></b></LI>
<LI>int <b><A HREF="#ref274">M_ViewShowImages</A></b></LI>
<LI>int <b><A HREF="#ref275">M_ViewShowGrid</A></b></LI>
<LI>int <b><A HREF="#ref276">uRas</A></b></LI>
<LI>int <b><A HREF="#ref277">Guide</A></b></LI>
<LI>int <b><A HREF="#ref277">M_ViewShowGuides</A></b></LI>
<LI>int <b><A HREF="#ref278">uGuide</A></b></LI>
<LI>int <b><A HREF="#ref279">viewTools</A></b></LI>
<LI>int <b><A HREF="#ref280">viewToolsP</A></b></LI>
525,43 → 525,43
<LI>int <b><A HREF="#ref285">viewLpal</A></b></LI>
<LI>int <b><A HREF="#ref286">viewSepal</A></b></LI>
<LI>int <b><A HREF="#ref287">viewBopal</A></b></LI>
<LI>int <b><A HREF="#ref288">fid1</A></b></LI>
<LI>int <b><A HREF="#ref289">fid2</A></b></LI>
<LI>int <b><A HREF="#ref290">fid2a</A></b></LI>
<LI>int <b><A HREF="#ref291">fid3</A></b></LI>
<LI>int <b><A HREF="#ref292">fid4</A></b></LI>
<LI>int <b><A HREF="#ref288">M_FileClose</A></b></LI>
<LI>int <b><A HREF="#ref289">M_FileImportGetText</A></b></LI>
<LI>int <b><A HREF="#ref290">M_FileImportPages</A></b></LI>
<LI>int <b><A HREF="#ref291">M_FileExportSaveText</A></b></LI>
<LI>int <b><A HREF="#ref292">M_FileSave</A></b></LI>
<LI>int <b><A HREF="#ref293">fid5</A></b></LI>
<LI>int <b><A HREF="#ref294">fid51</A></b></LI>
<LI>int <b><A HREF="#ref295">fid6</A></b></LI>
<LI>int <b><A HREF="#ref296">fid7</A></b></LI>
<LI>int <b><A HREF="#ref297">fid8</A></b></LI>
<LI>int <b><A HREF="#ref294">M_FileCollect</A></b></LI>
<LI>int <b><A HREF="#ref295">M_FileDocInfo</A></b></LI>
<LI>int <b><A HREF="#ref296">M_FileDocSetup</A></b></LI>
<LI>int <b><A HREF="#ref297">M_FileExportSavePageAsEPS</A></b></LI>
<LI>int <b><A HREF="#ref298">fid9</A></b></LI>
<LI>int <b><A HREF="#ref299">fid10</A></b></LI>
<LI>int <b><A HREF="#ref300">fid11</A></b></LI>
<LI>int <b><A HREF="#ref299">M_FileExportSaveAsPDF</A></b></LI>
<LI>int <b><A HREF="#ref300">M_FileExport</A></b></LI>
<LI>int <b><A HREF="#ref301">fid12</A></b></LI>
<LI>int <b><A HREF="#ref302">fid13</A></b></LI>
<LI>int <b><A HREF="#ref303">fid14</A></b></LI>
<LI>int <b><A HREF="#ref302">M_FileOpen</A></b></LI>
<LI>int <b><A HREF="#ref303">M_OpenRecentFile</A></b></LI>
<LI>int <b><A HREF="#ref304">edUndo</A></b></LI>
<LI>int <b><A HREF="#ref305">edid1</A></b></LI>
<LI>int <b><A HREF="#ref306">edid2</A></b></LI>
<LI>int <b><A HREF="#ref307">edid3</A></b></LI>
<LI>int <b><A HREF="#ref308">edid4</A></b></LI>
<LI>int <b><A HREF="#ref309">edid5</A></b></LI>
<LI>int <b><A HREF="#ref310">edid6</A></b></LI>
<LI>int <b><A HREF="#ref311">edid6a</A></b></LI>
<LI>int <b><A HREF="#ref312">Loesch</A></b></LI>
<LI>int <b><A HREF="#ref313">tman</A></b></LI>
<LI>int <b><A HREF="#ref314">jman</A></b></LI>
<LI>int <b><A HREF="#ref305">M_EditCut</A></b></LI>
<LI>int <b><A HREF="#ref306">M_EditCopy</A></b></LI>
<LI>int <b><A HREF="#ref307">M_EditPaste</A></b></LI>
<LI>int <b><A HREF="#ref308">M_EditDelete</A></b></LI>
<LI>int <b><A HREF="#ref309">M_EditSelectAll</A></b></LI>
<LI>int <b><A HREF="#ref310">M_EditParaStyles</A></b></LI>
<LI>int <b><A HREF="#ref311">M_EditLineStyles</A></b></LI>
<LI>int <b><A HREF="#ref312">M_ItemDelete</A></b></LI>
<LI>int <b><A HREF="#ref313">M_EditTemplates</A></b></LI>
<LI>int <b><A HREF="#ref314">M_EditJavascripts</A></b></LI>
<LI>int <b><A HREF="#ref315">tip</A></b></LI>
<LI>int <b><A HREF="#ref316">Gr</A></b></LI>
<LI>int <b><A HREF="#ref317">UnGr</A></b></LI>
<LI>int <b><A HREF="#ref318">LockOb</A></b></LI>
<LI>int <b><A HREF="#ref316">M_ItemGroup</A></b></LI>
<LI>int <b><A HREF="#ref317">M_ItemUngroup</A></b></LI>
<LI>int <b><A HREF="#ref318">M_ItemLock</A></b></LI>
<LI>int <b><A HREF="#ref319">exmn</A></b></LI>
<LI>int <b><A HREF="#ref320">hyph</A></b></LI>
<LI>int <b><A HREF="#ref321">ORaise</A></b></LI>
<LI>int <b><A HREF="#ref322">OLower</A></b></LI>
<LI>int <b><A HREF="#ref323">OBack</A></b></LI>
<LI>int <b><A HREF="#ref324">OFront</A></b></LI>
<LI>int <b><A HREF="#ref321">M_ItemRaise</A></b></LI>
<LI>int <b><A HREF="#ref322">M_ItemLower</A></b></LI>
<LI>int <b><A HREF="#ref323">M_ItemSendToBack</A></b></LI>
<LI>int <b><A HREF="#ref324">M_ItemBringToFront</A></b></LI>
<LI>bool <b><A HREF="#ref325">tipsOn</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref326">helpMenu</A></b></LI>
<LI>QPopupMenu *<b><A HREF="#ref327">toolMenu</A></b></LI>
598,8 → 598,8
<br></td><td align="right"><h3><strong>setTBvals</strong></h3></td></tr></table><p></p><A NAME="SavePrefs"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>SavePrefs</strong> ()
<br></td><td align="right"><h3><strong>SavePrefs</strong></h3></td></tr></table><p></p><A NAME="ShowSubs"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>ShowSubs</strong> ()
<br></td><td align="right"><h3><strong>ShowSubs</strong></h3></td></tr></table><p></p><A NAME="applyNewMaster"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>applyNewMaster</strong> (QString name)
<br></td><td align="right"><h3><strong>applyNewMaster</strong></h3></td></tr></table><p></p><A NAME="UpdateRecent"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>UpdateRecent</strong> (QString fn)
<br></td><td align="right"><h3><strong>UpdateRecent</strong></h3></td></tr></table><p></p><A NAME="InitPlugs"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>InitPlugs</strong> (<A HREF="SplashScreen.html">SplashScreen</A> *spl)
<br></td><td align="right"><h3><strong>applyNewMaster</strong></h3></td></tr></table><p></p><A NAME="updateRecent"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>updateRecent</strong> (QString fn)
<br></td><td align="right"><h3><strong>updateRecent</strong></h3></td></tr></table><p></p><A NAME="InitPlugs"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>InitPlugs</strong> (<A HREF="SplashScreen.html">SplashScreen</A> *spl)
<br></td><td align="right"><h3><strong>InitPlugs</strong></h3></td></tr></table><p></p><A NAME="InitHyphenator"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>InitHyphenator</strong> ()
<br></td><td align="right"><h3><strong>InitHyphenator</strong></h3></td></tr></table><p></p><A NAME="FinalizePlugs"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>FinalizePlugs</strong> ()
<br></td><td align="right"><h3><strong>FinalizePlugs</strong></h3></td></tr></table><p></p><A NAME="DLLName"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>DLLName</strong> (QString name, QString *PName, int *typ, void **Zeig)
692,8 → 692,8
<br></td><td align="right"><h3><strong>slotFileNew</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="slotDocMerge"></A><A NAME="ref107"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>slotDocMerge</strong> ()
<br></td><td align="right"><h3><strong>slotDocMerge</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="LadeSeite"></A><A NAME="ref108"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>LadeSeite</strong> (QString fileName, int Nr)
<br></td><td align="right"><h3><strong>LadeSeite</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="slotFileOpen"></A><A NAME="ref109"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>slotFileOpen</strong> ()
<br></td><td align="right"><h3><strong>slotFileOpen</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="LoadRecent"></A><A NAME="ref110"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>LoadRecent</strong> (int id)
<br></td><td align="right"><h3><strong>LoadRecent</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="slotDocOpen"></A><A NAME="ref111"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>slotDocOpen</strong> ()
<br></td><td align="right"><h3><strong>slotFileOpen</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="loadRecent"></A><A NAME="ref110"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>loadRecent</strong> (int id)
<br></td><td align="right"><h3><strong>loadRecent</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="slotDocOpen"></A><A NAME="ref111"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>slotDocOpen</strong> ()
<br></td><td align="right"><h3><strong>slotDocOpen</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="LadeDoc"></A><A NAME="ref112"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>LadeDoc</strong> (QString fileName)
<br></td><td align="right"><h3><strong>LadeDoc</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="slotAutoSaved"></A><A NAME="ref113"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>slotAutoSaved</strong> ()
<br></td><td align="right"><h3><strong>slotAutoSaved</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="slotFileSave"></A><A NAME="ref114"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>slotFileSave</strong> ()
822,8 → 822,8
<br></td><td align="right"><h3><strong>TextScale</strong></h3></td></tr></table><p> <small>[signal]</small></p><A NAME="fileMenu"></A><A NAME="ref235"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>fileMenu</strong>
</td><td align="right"><h3><strong>fileMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="editMenu"></A><A NAME="ref236"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>editMenu</strong>
</td><td align="right"><h3><strong>editMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="StilMenu"></A><A NAME="ref237"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>StilMenu</strong>
</td><td align="right"><h3><strong>StilMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="ObjMenu"></A><A NAME="ref238"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>ObjMenu</strong>
</td><td align="right"><h3><strong>ObjMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="pageMenu"></A><A NAME="ref239"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>pageMenu</strong>
</td><td align="right"><h3><strong>StilMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="itemMenu"></A><A NAME="ref238"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>itemMenu</strong>
</td><td align="right"><h3><strong>itemMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="pageMenu"></A><A NAME="ref239"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>pageMenu</strong>
</td><td align="right"><h3><strong>pageMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="viewMenu"></A><A NAME="ref240"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>viewMenu</strong>
</td><td align="right"><h3><strong>viewMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="ColorMenu"></A><A NAME="ref241"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>ColorMenu</strong>
</td><td align="right"><h3><strong>ColorMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="SizeTMenu"></A><A NAME="ref242"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>SizeTMenu</strong>
831,8 → 831,8
</td><td align="right"><h3><strong>ShadeMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="ShapeMenu"></A><A NAME="ref244"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>ShapeMenu</strong>
</td><td align="right"><h3><strong>ShapeMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="FontMenu"></A><A NAME="ref245"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>FontMenu</strong>
</td><td align="right"><h3><strong>FontMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="TypeStyleMenu"></A><A NAME="ref246"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>TypeStyleMenu</strong>
</td><td align="right"><h3><strong>TypeStyleMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="AliMenu"></A><A NAME="ref247"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>AliMenu</strong>
</td><td align="right"><h3><strong>AliMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="recentMenu"></A><A NAME="ref248"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>recentMenu</strong>
</td><td align="right"><h3><strong>TypeStyleMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="alignMenu"></A><A NAME="ref247"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>alignMenu</strong>
</td><td align="right"><h3><strong>alignMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="recentMenu"></A><A NAME="ref248"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>recentMenu</strong>
</td><td align="right"><h3><strong>recentMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="hymen"></A><A NAME="ref249"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>hymen</strong>
</td><td align="right"><h3><strong>hymen</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="WerkTools2"></A><A NAME="ref250"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QToolBar * <strong>WerkTools2</strong>
</td><td align="right"><h3><strong>WerkTools2</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="WerkTools"></A><A NAME="ref251"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="WerkToolB.html">WerkToolB</A>* <strong>WerkTools</strong>
846,8 → 846,8
</td><td align="right"><h3><strong>DatNeu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="KeyMod"></A><A NAME="ref259"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>KeyMod</strong>
</td><td align="right"><h3><strong>KeyMod</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="ShapeEdit"></A><A NAME="ref260"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>ShapeEdit</strong>
</td><td align="right"><h3><strong>ShapeEdit</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="ShapeM"></A><A NAME="ref261"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>ShapeM</strong>
</td><td align="right"><h3><strong>ShapeM</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="DistM"></A><A NAME="ref262"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>DistM</strong>
</td><td align="right"><h3><strong>DistM</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="PfadT"></A><A NAME="ref263"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>PfadT</strong>
</td><td align="right"><h3><strong>ShapeM</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemAlignDist"></A><A NAME="ref262"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemAlignDist</strong>
</td><td align="right"><h3><strong>M_ItemAlignDist</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="PfadT"></A><A NAME="ref263"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>PfadT</strong>
</td><td align="right"><h3><strong>PfadT</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="PfadS"></A><A NAME="ref264"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>PfadS</strong>
</td><td align="right"><h3><strong>PfadS</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="PfadV"></A><A NAME="ref265"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>PfadV</strong>
</td><td align="right"><h3><strong>PfadV</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="PfadTP"></A><A NAME="ref266"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>PfadTP</strong>
856,13 → 856,13
</td><td align="right"><h3><strong>pgmm</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="pgmv"></A><A NAME="ref269"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>pgmv</strong>
</td><td align="right"><h3><strong>pgmv</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="Stm"></A><A NAME="ref270"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>Stm</strong>
</td><td align="right"><h3><strong>Stm</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="Obm"></A><A NAME="ref271"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>Obm</strong>
</td><td align="right"><h3><strong>Obm</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="Markers"></A><A NAME="ref272"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>Markers</strong>
</td><td align="right"><h3><strong>Markers</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="FrameDr"></A><A NAME="ref273"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>FrameDr</strong>
</td><td align="right"><h3><strong>FrameDr</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="Bilder"></A><A NAME="ref274"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>Bilder</strong>
</td><td align="right"><h3><strong>Bilder</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="Ras"></A><A NAME="ref275"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>Ras</strong>
</td><td align="right"><h3><strong>Ras</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="uRas"></A><A NAME="ref276"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>uRas</strong>
</td><td align="right"><h3><strong>uRas</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="Guide"></A><A NAME="ref277"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>Guide</strong>
</td><td align="right"><h3><strong>Guide</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="uGuide"></A><A NAME="ref278"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>uGuide</strong>
</td><td align="right"><h3><strong>Obm</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ViewShowMarkers"></A><A NAME="ref272"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ViewShowMarkers</strong>
</td><td align="right"><h3><strong>M_ViewShowMarkers</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ViewDrawFrames"></A><A NAME="ref273"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ViewDrawFrames</strong>
</td><td align="right"><h3><strong>M_ViewDrawFrames</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ViewShowImages"></A><A NAME="ref274"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ViewShowImages</strong>
</td><td align="right"><h3><strong>M_ViewShowImages</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ViewShowGrid"></A><A NAME="ref275"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ViewShowGrid</strong>
</td><td align="right"><h3><strong>M_ViewShowGrid</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="uRas"></A><A NAME="ref276"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>uRas</strong>
</td><td align="right"><h3><strong>uRas</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ViewShowGuides"></A><A NAME="ref277"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ViewShowGuides</strong>
</td><td align="right"><h3><strong>M_ViewShowGuides</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="uGuide"></A><A NAME="ref278"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>uGuide</strong>
</td><td align="right"><h3><strong>uGuide</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="viewTools"></A><A NAME="ref279"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>viewTools</strong>
</td><td align="right"><h3><strong>viewTools</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="viewToolsP"></A><A NAME="ref280"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>viewToolsP</strong>
</td><td align="right"><h3><strong>viewToolsP</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="viewMpal"></A><A NAME="ref281"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>viewMpal</strong>
873,43 → 873,43
</td><td align="right"><h3><strong>viewLpal</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="viewSepal"></A><A NAME="ref286"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>viewSepal</strong>
</td><td align="right"><h3><strong>viewSepal</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="viewBopal"></A><A NAME="ref287"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>viewBopal</strong>
</td><td align="right"><h3><strong>viewBopal</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid1"></A><A NAME="ref288"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid1</strong>
</td><td align="right"><h3><strong>fid1</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid2"></A><A NAME="ref289"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid2</strong>
</td><td align="right"><h3><strong>fid2</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid2a"></A><A NAME="ref290"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid2a</strong>
</td><td align="right"><h3><strong>fid2a</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid3"></A><A NAME="ref291"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid3</strong>
</td><td align="right"><h3><strong>fid3</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid4"></A><A NAME="ref292"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid4</strong>
</td><td align="right"><h3><strong>fid4</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid5"></A><A NAME="ref293"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid5</strong>
</td><td align="right"><h3><strong>fid5</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid51"></A><A NAME="ref294"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid51</strong>
</td><td align="right"><h3><strong>fid51</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid6"></A><A NAME="ref295"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid6</strong>
</td><td align="right"><h3><strong>fid6</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid7"></A><A NAME="ref296"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid7</strong>
</td><td align="right"><h3><strong>fid7</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid8"></A><A NAME="ref297"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid8</strong>
</td><td align="right"><h3><strong>fid8</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid9"></A><A NAME="ref298"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid9</strong>
</td><td align="right"><h3><strong>fid9</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid10"></A><A NAME="ref299"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid10</strong>
</td><td align="right"><h3><strong>fid10</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid11"></A><A NAME="ref300"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid11</strong>
</td><td align="right"><h3><strong>fid11</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid12"></A><A NAME="ref301"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid12</strong>
</td><td align="right"><h3><strong>fid12</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid13"></A><A NAME="ref302"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid13</strong>
</td><td align="right"><h3><strong>fid13</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid14"></A><A NAME="ref303"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid14</strong>
</td><td align="right"><h3><strong>fid14</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edUndo"></A><A NAME="ref304"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edUndo</strong>
</td><td align="right"><h3><strong>edUndo</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edid1"></A><A NAME="ref305"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edid1</strong>
</td><td align="right"><h3><strong>edid1</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edid2"></A><A NAME="ref306"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edid2</strong>
</td><td align="right"><h3><strong>edid2</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edid3"></A><A NAME="ref307"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edid3</strong>
</td><td align="right"><h3><strong>edid3</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edid4"></A><A NAME="ref308"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edid4</strong>
</td><td align="right"><h3><strong>edid4</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edid5"></A><A NAME="ref309"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edid5</strong>
</td><td align="right"><h3><strong>edid5</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edid6"></A><A NAME="ref310"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edid6</strong>
</td><td align="right"><h3><strong>edid6</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edid6a"></A><A NAME="ref311"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edid6a</strong>
</td><td align="right"><h3><strong>edid6a</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="Loesch"></A><A NAME="ref312"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>Loesch</strong>
</td><td align="right"><h3><strong>Loesch</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="tman"></A><A NAME="ref313"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>tman</strong>
</td><td align="right"><h3><strong>tman</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="jman"></A><A NAME="ref314"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>jman</strong>
</td><td align="right"><h3><strong>jman</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="tip"></A><A NAME="ref315"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>tip</strong>
</td><td align="right"><h3><strong>tip</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="Gr"></A><A NAME="ref316"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>Gr</strong>
</td><td align="right"><h3><strong>Gr</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="UnGr"></A><A NAME="ref317"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>UnGr</strong>
</td><td align="right"><h3><strong>UnGr</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="LockOb"></A><A NAME="ref318"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>LockOb</strong>
</td><td align="right"><h3><strong>LockOb</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="exmn"></A><A NAME="ref319"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>exmn</strong>
</td><td align="right"><h3><strong>fid1</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileImportGetText"></A><A NAME="ref289"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileImportGetText</strong>
</td><td align="right"><h3><strong>M_FileImportGetText</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileImportPages"></A><A NAME="ref290"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileImportPages</strong>
</td><td align="right"><h3><strong>M_FileImportPages</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileExportSaveText"></A><A NAME="ref291"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileExportSaveText</strong>
</td><td align="right"><h3><strong>M_FileExportSaveText</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileSave"></A><A NAME="ref292"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileSave</strong>
</td><td align="right"><h3><strong>M_FileSave</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid5"></A><A NAME="ref293"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid5</strong>
</td><td align="right"><h3><strong>fid5</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileCollect"></A><A NAME="ref294"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileCollect</strong>
</td><td align="right"><h3><strong>M_FileCollect</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileDocInfo"></A><A NAME="ref295"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileDocInfo</strong>
</td><td align="right"><h3><strong>M_FileDocInfo</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileDocSetup"></A><A NAME="ref296"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileDocSetup</strong>
</td><td align="right"><h3><strong>M_FileDocSetup</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileExportSavePageAsEPS"></A><A NAME="ref297"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileExportSavePageAsEPS</strong>
</td><td align="right"><h3><strong>M_FileExportSavePageAsEPS</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid9"></A><A NAME="ref298"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid9</strong>
</td><td align="right"><h3><strong>fid9</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileExportSaveAsPDF"></A><A NAME="ref299"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileExportSaveAsPDF</strong>
</td><td align="right"><h3><strong>M_FileExportSaveAsPDF</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileExport"></A><A NAME="ref300"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileExport</strong>
</td><td align="right"><h3><strong>M_FileExport</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="fid12"></A><A NAME="ref301"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>fid12</strong>
</td><td align="right"><h3><strong>fid12</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_FileOpen"></A><A NAME="ref302"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_FileOpen</strong>
</td><td align="right"><h3><strong>M_FileOpen</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_OpenRecentFile"></A><A NAME="ref303"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_OpenRecentFile</strong>
</td><td align="right"><h3><strong>M_OpenRecentFile</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="edUndo"></A><A NAME="ref304"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>edUndo</strong>
</td><td align="right"><h3><strong>edUndo</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditCut"></A><A NAME="ref305"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditCut</strong>
</td><td align="right"><h3><strong>M_EditCut</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditCopy"></A><A NAME="ref306"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditCopy</strong>
</td><td align="right"><h3><strong>M_EditCopy</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditPaste"></A><A NAME="ref307"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditPaste</strong>
</td><td align="right"><h3><strong>M_EditPaste</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditDelete"></A><A NAME="ref308"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditDelete</strong>
</td><td align="right"><h3><strong>M_EditDelete</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditSelectAll"></A><A NAME="ref309"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditSelectAll</strong>
</td><td align="right"><h3><strong>M_EditSelectAll</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditParaStyles"></A><A NAME="ref310"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditParaStyles</strong>
</td><td align="right"><h3><strong>M_EditParaStyles</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditLineStyles"></A><A NAME="ref311"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditLineStyles</strong>
</td><td align="right"><h3><strong>M_EditLineStyles</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemDelete"></A><A NAME="ref312"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemDelete</strong>
</td><td align="right"><h3><strong>M_ItemDelete</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditTemplates"></A><A NAME="ref313"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditTemplates</strong>
</td><td align="right"><h3><strong>M_EditTemplates</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_EditJavascripts"></A><A NAME="ref314"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_EditJavascripts</strong>
</td><td align="right"><h3><strong>M_EditJavascripts</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="tip"></A><A NAME="ref315"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>tip</strong>
</td><td align="right"><h3><strong>tip</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemGroup"></A><A NAME="ref316"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemGroup</strong>
</td><td align="right"><h3><strong>M_ItemGroup</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemUngroup"></A><A NAME="ref317"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemUngroup</strong>
</td><td align="right"><h3><strong>M_ItemUngroup</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemLock"></A><A NAME="ref318"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemLock</strong>
</td><td align="right"><h3><strong>M_ItemLock</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="exmn"></A><A NAME="ref319"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>exmn</strong>
</td><td align="right"><h3><strong>exmn</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="hyph"></A><A NAME="ref320"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>hyph</strong>
</td><td align="right"><h3><strong>hyph</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="ORaise"></A><A NAME="ref321"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>ORaise</strong>
</td><td align="right"><h3><strong>ORaise</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="OLower"></A><A NAME="ref322"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>OLower</strong>
</td><td align="right"><h3><strong>OLower</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="OBack"></A><A NAME="ref323"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>OBack</strong>
</td><td align="right"><h3><strong>OBack</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="OFront"></A><A NAME="ref324"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>OFront</strong>
</td><td align="right"><h3><strong>OFront</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="tipsOn"></A><A NAME="ref325"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>tipsOn</strong>
</td><td align="right"><h3><strong>hyph</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemRaise"></A><A NAME="ref321"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemRaise</strong>
</td><td align="right"><h3><strong>M_ItemRaise</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemLower"></A><A NAME="ref322"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemLower</strong>
</td><td align="right"><h3><strong>M_ItemLower</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemSendToBack"></A><A NAME="ref323"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemSendToBack</strong>
</td><td align="right"><h3><strong>M_ItemSendToBack</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="M_ItemBringToFront"></A><A NAME="ref324"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>M_ItemBringToFront</strong>
</td><td align="right"><h3><strong>M_ItemBringToFront</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="tipsOn"></A><A NAME="ref325"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>tipsOn</strong>
</td><td align="right"><h3><strong>tipsOn</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="helpMenu"></A><A NAME="ref326"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>helpMenu</strong>
</td><td align="right"><h3><strong>helpMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="toolMenu"></A><A NAME="ref327"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>toolMenu</strong>
</td><td align="right"><h3><strong>toolMenu</strong></h3></td></tr></table><p> <small>[private]</small></p><A NAME="extraMenu"></A><A NAME="ref328"></A><table width="100%"><tr bgcolor="#eeeeee"><td>QPopupMenu * <strong>extraMenu</strong>
/branches/Version13x/Scribus/scribus/fpoint.h
18,7 → 18,7
#ifndef FPOINT_H
#define FPOINT_H
 
#include "qpoint.h"
#include <qpoint.h>
/**
*@author Franz Schmid
*/
/branches/Version13x/Scribus/scribus/Makefile.am
1,13 → 1,14
bin_PROGRAMS = scribus
 
scribus_SOURCES = art_kmisc.c art_render_misc.c art_render_pattern.c art_rgb.c art_rgb_affine_private.c art_rgb_svp.c art_rgba_affine.c gdk-pixbuf-xlib-drawable.c gdk-pixbuf-xlib-render.c gdk-pixbuf-xlib.c gdk-pixbuf-xlibrgb.c charselect.cpp filewatcher.cpp tabtools.cpp tabguides.cpp tabtypography.cpp arrowchooser.cpp polygonwidget.cpp prefsdialogbase.cpp fileloader.cpp gradienteditor.cpp gtgettext.cpp gtdialogs.cpp gtstyle.cpp gtframestyle.cpp gtparagraphstyle.cpp gtfont.cpp gtwriter.cpp gtaction.cpp gtmeasure.cpp undomanager.cpp undostate.cpp undoobject.cpp undogui.cpp prefsfile.cpp prefscontext.cpp prefsreader.cpp prefstable.cpp measurements.cpp langmgr.cpp tabruler.cpp insertTable.cpp pageselector.cpp shadebutton.cpp alignselect.cpp styleselect.cpp search.cpp tabmanager.cpp fparser.cpp autoform.cpp story.cpp vgradient.cpp scpainter.cpp fontcombo.cpp scpreview.cpp lineformats.cpp multiline.cpp splash.cpp mergedoc.cpp bookpalette.cpp rc4.c md5.c cupsoptions.cpp guidemanager.cpp scribuswin.cpp hyphenator.cpp hyphen.c hyask.cpp hnjalloc.c hysettings.cpp seiten.cpp fpointarray.cpp fpoint.cpp annota.cpp buttonicon.cpp javadocs.cpp selfield.cpp editor.cpp page.cpp layers.cpp polyprops.cpp mpalette.cpp werktoolb.cpp keymanager.cpp navigator.cpp annot.cpp bookmwin.cpp cmsprefs.cpp customfdialog.cpp picsearch.cpp picstatus.cpp newtemp.cpp applytemplate.cpp muster.cpp scfonts_ttf.cpp scrap.cpp scfonts.cpp frameedit.cpp spalette.cpp edit1format.cpp editformats.cpp druck.cpp colorchart.cpp util.cpp cmykcolor.cpp cmykfw.cpp scribusXml.cpp linecombo.cpp linkbutton.cpp helpbrowser.cpp mspinbox.cpp movepage.cpp delpages.cpp inspage.cpp pdfopts.cpp tree.cpp missing.cpp fontprefs.cpp fmitem.cpp align.cpp serializer.cpp reformdoc.cpp docinfo.cpp mdup.cpp cpalette.cpp dcolor.cpp query.cpp colorm.cpp vruler.cpp hruler.cpp pageitem.cpp newfile.cpp scribusview.cpp scribusdoc.cpp scribus.cpp main.cpp units.cpp
SOURCES = art_kmisc.c art_render_misc.c art_render_pattern.c art_rgb.c art_rgb_affine_private.c art_rgb_svp.c art_rgba_affine.c gdk-pixbuf-xlib-drawable.c gdk-pixbuf-xlib-render.c gdk-pixbuf-xlib.c gdk-pixbuf-xlibrgb.c charselect.cpp filewatcher.cpp tabtools.cpp tabguides.cpp tabtypography.cpp arrowchooser.cpp polygonwidget.cpp prefsdialogbase.cpp fileloader.cpp gradienteditor.cpp gtgettext.cpp gtdialogs.cpp gtstyle.cpp gtframestyle.cpp gtparagraphstyle.cpp gtfont.cpp gtwriter.cpp gtaction.cpp gtmeasure.cpp undomanager.cpp undostate.cpp undoobject.cpp undogui.cpp measurements.cpp langmgr.cpp tabruler.cpp insertTable.cpp pageselector.cpp shadebutton.cpp alignselect.cpp styleselect.cpp search.cpp tabmanager.cpp fparser.cpp autoform.cpp story.cpp vgradient.cpp scpainter.cpp libpdf/pdflib.cpp libpostscript/pslib.cpp plugins/libchar/charselect.cpp libprefs/prefs.cpp libabout/about.cpp fontcombo.cpp scpreview.cpp lineformats.cpp multiline.cpp splash.cpp mergedoc.cpp bookpalette.cpp rc4.c md5.c cupsoptions.cpp guidemanager.cpp scribuswin.cpp hyphenator.cpp hyphen.c hyask.cpp hnjalloc.c hysettings.cpp seiten.cpp fpointarray.cpp fpoint.cpp annota.cpp buttonicon.cpp javadocs.cpp selfield.cpp editor.cpp page.cpp layers.cpp polyprops.cpp mpalette.cpp werktoolb.cpp keymanager.cpp navigator.cpp annot.cpp bookmwin.cpp cmsprefs.cpp customfdialog.cpp picsearch.cpp picstatus.cpp newtemp.cpp applytemplate.cpp muster.cpp scfonts_ttf.cpp scrap.cpp scfonts.cpp frameedit.cpp spalette.cpp edit1format.cpp editformats.cpp druck.cpp colorchart.cpp util.cpp cmykcolor.cpp cmykfw.cpp scribusXml.cpp linecombo.cpp linkbutton.cpp helpbrowser.cpp mspinbox.cpp movepage.cpp delpages.cpp inspage.cpp pdfopts.cpp tree.cpp missing.cpp fontprefs.cpp fmitem.cpp align.cpp serializer.cpp reformdoc.cpp docinfo.cpp mdup.cpp cpalette.cpp dcolor.cpp query.cpp colorm.cpp vruler.cpp hruler.cpp pageback.cpp pageitem.cpp newfile.cpp scribusview.cpp scribusdoc.cpp scribus.cpp main.cpp units.cpp
scribus_SOURCES = art_kmisc.c art_render_misc.c art_render_pattern.c art_rgb.c art_rgb_affine_private.c art_rgb_svp.c art_rgba_affine.c gdk-pixbuf-xlib-drawable.c gdk-pixbuf-xlib-render.c gdk-pixbuf-xlib.c gdk-pixbuf-xlibrgb.c charselect.cpp filewatcher.cpp tabtools.cpp tabguides.cpp tabtypography.cpp arrowchooser.cpp polygonwidget.cpp prefsdialogbase.cpp fileloader.cpp gradienteditor.cpp gtgettext.cpp gtdialogs.cpp gtstyle.cpp gtframestyle.cpp gtparagraphstyle.cpp gtfont.cpp gtwriter.cpp gtaction.cpp gtmeasure.cpp undomanager.cpp undostate.cpp undoobject.cpp undogui.cpp prefsfile.cpp prefscontext.cpp prefsreader.cpp prefstable.cpp measurements.cpp langmgr.cpp tabruler.cpp insertTable.cpp pageselector.cpp shadebutton.cpp alignselect.cpp styleselect.cpp search.cpp tabmanager.cpp fparser.cpp autoform.cpp story.cpp vgradient.cpp scpainter.cpp fontcombo.cpp scpreview.cpp lineformats.cpp multiline.cpp splash.cpp mergedoc.cpp bookpalette.cpp rc4.c md5.c cupsoptions.cpp guidemanager.cpp scribuswin.cpp hyphenator.cpp hyphen.c hyask.cpp hnjalloc.c hysettings.cpp seiten.cpp fpointarray.cpp fpoint.cpp annota.cpp buttonicon.cpp javadocs.cpp selfield.cpp editor.cpp page.cpp layers.cpp polyprops.cpp mpalette.cpp werktoolb.cpp keymanager.cpp navigator.cpp annot.cpp bookmwin.cpp cmsprefs.cpp customfdialog.cpp picsearch.cpp picstatus.cpp newtemp.cpp applytemplate.cpp muster.cpp scfonts_ttf.cpp scrap.cpp scfonts.cpp frameedit.cpp spalette.cpp edit1format.cpp editformats.cpp druck.cpp colorchart.cpp util.cpp cmykcolor.cpp cmykfw.cpp scribusXml.cpp linecombo.cpp linkbutton.cpp helpbrowser.cpp mspinbox.cpp movepage.cpp delpages.cpp inspage.cpp pdfopts.cpp tree.cpp missing.cpp fontprefs.cpp fmitem.cpp align.cpp serializer.cpp reformdoc.cpp docinfo.cpp mdup.cpp cpalette.cpp dcolor.cpp query.cpp colorm.cpp vruler.cpp hruler.cpp pageitem.cpp newfile.cpp scribusview.cpp scribusdoc.cpp scribus.cpp main.cpp units.cpp scraction.cpp menumanager.cpp scmenu.cpp
SOURCES = art_kmisc.c art_render_misc.c art_render_pattern.c art_rgb.c art_rgb_affine_private.c art_rgb_svp.c art_rgba_affine.c gdk-pixbuf-xlib-drawable.c gdk-pixbuf-xlib-render.c gdk-pixbuf-xlib.c gdk-pixbuf-xlibrgb.c charselect.cpp filewatcher.cpp tabtools.cpp tabguides.cpp tabtypography.cpp arrowchooser.cpp polygonwidget.cpp prefsdialogbase.cpp fileloader.cpp gradienteditor.cpp gtgettext.cpp gtdialogs.cpp gtstyle.cpp gtframestyle.cpp gtparagraphstyle.cpp gtfont.cpp gtwriter.cpp gtaction.cpp gtmeasure.cpp undomanager.cpp undostate.cpp undoobject.cpp undogui.cpp measurements.cpp langmgr.cpp tabruler.cpp insertTable.cpp pageselector.cpp shadebutton.cpp alignselect.cpp styleselect.cpp search.cpp tabmanager.cpp fparser.cpp autoform.cpp story.cpp vgradient.cpp scpainter.cpp libpdf/pdflib.cpp libpostscript/pslib.cpp plugins/libchar/charselect.cpp libprefs/prefs.cpp libabout/about.cpp fontcombo.cpp scpreview.cpp lineformats.cpp multiline.cpp splash.cpp mergedoc.cpp bookpalette.cpp rc4.c md5.c cupsoptions.cpp guidemanager.cpp scribuswin.cpp hyphenator.cpp hyphen.c hyask.cpp hnjalloc.c hysettings.cpp seiten.cpp fpointarray.cpp fpoint.cpp annota.cpp buttonicon.cpp javadocs.cpp selfield.cpp editor.cpp page.cpp layers.cpp polyprops.cpp mpalette.cpp werktoolb.cpp keymanager.cpp navigator.cpp annot.cpp bookmwin.cpp cmsprefs.cpp customfdialog.cpp picsearch.cpp picstatus.cpp newtemp.cpp applytemplate.cpp muster.cpp scfonts_ttf.cpp scrap.cpp scfonts.cpp frameedit.cpp spalette.cpp edit1format.cpp editformats.cpp druck.cpp colorchart.cpp util.cpp cmykcolor.cpp cmykfw.cpp scribusXml.cpp linecombo.cpp linkbutton.cpp helpbrowser.cpp mspinbox.cpp movepage.cpp delpages.cpp inspage.cpp pdfopts.cpp tree.cpp missing.cpp fontprefs.cpp fmitem.cpp align.cpp serializer.cpp reformdoc.cpp docinfo.cpp mdup.cpp cpalette.cpp dcolor.cpp query.cpp colorm.cpp vruler.cpp hruler.cpp pageback.cpp pageitem.cpp newfile.cpp scribusview.cpp scribusdoc.cpp scribus.cpp main.cpp units.cpp scraction.cpp menumanager.cpp scmenu.cpp
 
INTERFACES =
TRANSLATIONS =
 
SUBDIRS = icons libabout libprefs plugins libpostscript libpdf profiles dicts templates po qm doc manpages
SUBDIRS = dicts doc icons libabout libpdf libpostscript libprefs manpages plugins po profiles qm templates
 
EXTRA_DIST = main.cpp scribus.cpp scribus.h scribusdoc.cpp scribusdoc.h scribusview.cpp scribusview.h newfile.h newfile.cpp pageitem.cpp pageitem.h hruler.cpp hruler.h vruler.cpp vruler.h colorm.cpp colorm.h query.cpp query.h dcolor.cpp dcolor.h cpalette.cpp cpalette.h mdup.cpp mdup.h docinfo.cpp docinfo.h reformdoc.cpp reformdoc.h serializer.cpp serializer.h align.cpp align.h fmitem.cpp fmitem.h fontprefs.cpp fontprefs.h missing.cpp missing.h tree.cpp tree.h pdfopts.cpp pdfopts.h inspage.cpp inspage.h delpages.cpp delpages.h movepage.cpp movepage.h mspinbox.cpp mspinbox.h helpbrowser.cpp helpbrowser.h icons5.h linkbutton.cpp linkbutton.h icons6.h linecombo.cpp linecombo.h scribusXml.cpp scribusXml.h cmykfw.cpp cmykfw.h cmykcolor.cpp cmykcolor.h util.cpp colorchart.cpp colorchart.h druck.cpp druck.h editformats.cpp editformats.h edit1format.cpp edit1format.h spalette.cpp spalette.h frameedit.cpp frameedit.h scfonts.cpp scfonts.h scrap.cpp scrap.h scfonts_ttf.cpp scfonts_ttf.h muster.cpp muster.h applytemplate.cpp applytemplate.h newtemp.cpp newtemp.h picstatus.cpp picstatus.h picsearch.cpp picsearch.h customfdialog.cpp customfdialog.h cmsprefs.cpp cmsprefs.h bookmwin.cpp bookmwin.h annot.cpp annot.h navigator.cpp navigator.h keymanager.cpp keymanager.h werktoolb.cpp werktoolb.h mpalette.h mpalette.cpp polyprops.cpp polyprops.h layers.cpp layers.h page.cpp page.h editor.cpp editor.h selfield.cpp selfield.h javadocs.cpp javadocs.h buttonicon.cpp buttonicon.h annota.cpp annota.h fpoint.cpp fpoint.h fpointarray.cpp fpointarray.h seiten.cpp seiten.h hysettings.cpp hysettings.h hnjalloc.c hnjalloc.h hyask.cpp hyask.h hyphen.c hyphen.h hyphenator.cpp hyphenator.h scribuswin.cpp scribuswin.h guidemanager.cpp guidemanager.h cupsoptions.cpp cupsoptions.h md5.c md5.h rc4.c rc4.h mergedoc.cpp mergedoc.h bookpalette.cpp bookpalette.h splash.h fontcombo.h scpainter.cpp scpainter.h vgradient.cpp vgradient.h story.cpp story.h autoform.cpp autoform.h fparser.cpp fparser.h tabmanager.cpp tabmanager.h search.cpp search.h styleselect.cpp styleselect.h alignselect.cpp alignselect.h shadebutton.cpp shadebutton.h pageselector.cpp color.h gtaction.cpp gtaction.h gtwriter.cpp gtwriter.h gtfont.cpp gtfont.h gtdialogs.cpp gtdialogs.h gtstyle.cpp gtstyle.h gtframestyle.cpp gtframestyle.h gtparagraphstyle.cpp gtparagraphstyle.h gtmeasure.cpp gtmeasure.h undomanager.cpp undomanager.h undostate.cpp undostate.h undoobject.cpp undoobject.h undogui.cpp undogui.h prefsfile.cpp prefsfile.h prefscontext.cpp prefscontext.h prefsreader.cpp prefsreader.h prefstable.cpp prefstable.h langmgr.h langmgr.cpp polygonwidget.cpp polygonwidget.h fileloader.cpp fileloader.h prefsdialogbase.cpp prefsdialogbase.h gradienteditor.cpp gradienteditor.h pageselector.h insertTable.cpp insertTable.h tabtools.cpp tabtools.h tabguides.cpp tabguides.h tabtypography.cpp tabtypography.h arrowchooser.cpp arrowchooser.h charselect.cpp charselect.h filewatcher.cpp filewatcher.h art_kmisc.c art_kmisc.h art_render_misc.c art_render_misc.h art_render_pattern.c art_render_pattern.h art_rgb.c art_rgb.h art_rgb_affine_private.c art_rgb_affine_private.h art_rgb_svp.c art_rgb_svp.h art_rgba_affine.c art_rgba_affine.h gdk-pixbuf-xlib-drawable.c gdk-pixbuf-xlib-private.h gdk-pixbuf-xlib-render.c gdk-pixbuf-xlib.c gdk-pixbuf-xlib.h gdk-pixbuf-xlibrgb.c gdk-pixbuf-xlibrgb.h LoremIpsum.txt rgbscribus.txt rgbscribusgreys.txt rgbscribusgnome.txt rgbsvg.txt units.h units.cpp scribusstructs.h
EXTRA_DIST = main.cpp scribus.cpp scribus.h scribusdoc.cpp scribusdoc.h scribusview.cpp scribusview.h newfile.h newfile.cpp pageitem.cpp pageitem.h hruler.cpp hruler.h vruler.cpp vruler.h colorm.cpp colorm.h query.cpp query.h dcolor.cpp dcolor.h cpalette.cpp cpalette.h mdup.cpp mdup.h docinfo.cpp docinfo.h reformdoc.cpp reformdoc.h serializer.cpp serializer.h align.cpp align.h fmitem.cpp fmitem.h fontprefs.cpp fontprefs.h missing.cpp missing.h tree.cpp tree.h pdfopts.cpp pdfopts.h inspage.cpp inspage.h delpages.cpp delpages.h movepage.cpp movepage.h mspinbox.cpp mspinbox.h helpbrowser.cpp helpbrowser.h icons5.h linkbutton.cpp linkbutton.h icons6.h linecombo.cpp linecombo.h scribusXml.cpp scribusXml.h cmykfw.cpp cmykfw.h cmykcolor.cpp cmykcolor.h util.cpp colorchart.cpp colorchart.h druck.cpp druck.h editformats.cpp editformats.h edit1format.cpp edit1format.h spalette.cpp spalette.h frameedit.cpp frameedit.h scfonts.cpp scfonts.h scrap.cpp scrap.h scfonts_ttf.cpp scfonts_ttf.h muster.cpp muster.h applytemplate.cpp applytemplate.h newtemp.cpp newtemp.h picstatus.cpp picstatus.h picsearch.cpp picsearch.h customfdialog.cpp customfdialog.h cmsprefs.cpp cmsprefs.h bookmwin.cpp bookmwin.h annot.cpp annot.h navigator.cpp navigator.h keymanager.cpp keymanager.h werktoolb.cpp werktoolb.h mpalette.h mpalette.cpp polyprops.cpp polyprops.h layers.cpp layers.h page.cpp page.h editor.cpp editor.h selfield.cpp selfield.h javadocs.cpp javadocs.h buttonicon.cpp buttonicon.h annota.cpp annota.h fpoint.cpp fpoint.h fpointarray.cpp fpointarray.h seiten.cpp seiten.h hysettings.cpp hysettings.h hnjalloc.c hnjalloc.h hyask.cpp hyask.h hyphen.c hyphen.h hyphenator.cpp hyphenator.h scribuswin.cpp scribuswin.h guidemanager.cpp guidemanager.h cupsoptions.cpp cupsoptions.h md5.c md5.h rc4.c rc4.h mergedoc.cpp mergedoc.h bookpalette.cpp bookpalette.h splash.h fontcombo.h scpainter.cpp scpainter.h vgradient.cpp vgradient.h story.cpp story.h autoform.cpp autoform.h fparser.cpp fparser.h tabmanager.cpp tabmanager.h search.cpp search.h styleselect.cpp styleselect.h alignselect.cpp alignselect.h shadebutton.cpp shadebutton.h pageselector.cpp color.h gtaction.cpp gtaction.h gtwriter.cpp gtwriter.h gtfont.cpp gtfont.h gtdialogs.cpp gtdialogs.h gtstyle.cpp gtstyle.h gtframestyle.cpp gtframestyle.h gtparagraphstyle.cpp gtparagraphstyle.h gtmeasure.cpp gtmeasure.h undomanager.cpp undomanager.h undostate.cpp undostate.h undoobject.cpp undoobject.h undogui.cpp undogui.h prefsfile.cpp prefsfile.h prefscontext.cpp prefscontext.h prefsreader.cpp prefsreader.h prefstable.cpp prefstable.h langmgr.h langmgr.cpp polygonwidget.cpp polygonwidget.h fileloader.cpp fileloader.h prefsdialogbase.cpp prefsdialogbase.h gradienteditor.cpp gradienteditor.h pageselector.h insertTable.cpp insertTable.h tabtools.cpp tabtools.h tabguides.cpp tabguides.h tabtypography.cpp tabtypography.h arrowchooser.cpp arrowchooser.h charselect.cpp charselect.h filewatcher.cpp filewatcher.h art_kmisc.c art_kmisc.h art_render_misc.c art_render_misc.h art_render_pattern.c art_render_pattern.h art_rgb.c art_rgb.h art_rgb_affine_private.c art_rgb_affine_private.h art_rgb_svp.c art_rgb_svp.h art_rgba_affine.c art_rgba_affine.h gdk-pixbuf-xlib-drawable.c gdk-pixbuf-xlib-private.h gdk-pixbuf-xlib-render.c gdk-pixbuf-xlib.c gdk-pixbuf-xlib.h gdk-pixbuf-xlibrgb.c gdk-pixbuf-xlibrgb.h LoremIpsum.txt rgbscribus.txt rgbscribusgreys.txt rgbscribusgnome.txt rgbsvg.txt units.h units.cpp scribusstructs.h scraction.cpp scraction.h menumanager.cpp menumanager.h scmenu.cpp scmenu.h
 
install-data-local:
$(mkinstalldirs) $(prefix)/share/scribus/samples/
79,6 → 80,10
$(INSTALL_DATA) $(srcdir)/missing.h $(prefix)/include/scribus/missing.h
$(INSTALL_DATA) $(srcdir)/units.h $(prefix)/include/scribus/units.h
$(INSTALL_DATA) $(srcdir)/scribusstructs.h $(prefix)/include/scribus/scribusstructs.h
$(INSTALL_DATA) $(srcdir)/tabtools.h $(prefix)/include/scribus/tabtools.h
$(INSTALL_DATA) $(srcdir)/scraction.h $(prefix)/include/scribus/scraction.h
$(INSTALL_DATA) $(srcdir)/menumanager.h $(prefix)/include/scribus/menumanager.h
$(INSTALL_DATA) $(srcdir)/scmenu.h $(prefix)/include/scribus/scmenu.h
 
uninstall-local:
-rm -f $(prefix)/share/scribus/samples/LoremIpsum.txt
144,6 → 149,10
-rm -f $(prefix)/include/scribus/missing.h
-rm -f $(prefix)/include/scribus/gradienteditor.h
-rm -f $(prefix)/include/scribus/scribusstructs.h
-rm -f $(prefix)/include/scribus/tabtools.h
-rm -f $(prefix)/include/scribus/scraction.h
-rm -f $(prefix)/include/scribus/menumanager.h
-rm -f $(prefix)/include/scribus/scmenu.h
 
scribus_LDADD = $(LIBJPEG) $(LIBART_LIBS) $(LIBFREETYPE_LIBS) $(LIBFONTCONFIG_LIBS) $(LIBCUPS) $(LIBLCMS) $(LIBDL) $(LIBDL2) $(LIBTIFF) -lm $(LIB_QT) -lXext -lX11 $(LIBSOCKET)
 
/branches/Version13x/Scribus/scribus/story.cpp
1472,7 → 1472,7
/* Setting up Menu Bar */
fmenu = new QPopupMenu();
fmenu->insertItem(loadIcon("editdelete.png"), tr("&New"), this, SLOT(Do_new()), CTRL+Key_N);
fid52 = fmenu->insertItem(loadIcon("reload16.png"), tr("&Reload Text from Frame"), this, SLOT(slotFileRevert()));
M_FileRevert = fmenu->insertItem(loadIcon("reload16.png"), tr("&Reload Text from Frame"), this, SLOT(slotFileRevert()));
fmenu->insertSeparator();
fmenu->insertItem(loadIcon("DateiSave16.png"), tr("&Save to File..."), this, SLOT(SaveTextFile()));
fmenu->insertItem(loadIcon("DateiOpen16.png"), tr("&Load from File..."), this, SLOT(LoadTextFile()));
1611,7 → 1611,7
statusBar()->addWidget(ButtonGroup2, 1, true);
setCentralWidget( vb );
/* Final polishment */
fmenu->setItemEnabled(fid52, 0);
fmenu->setItemEnabled(M_FileRevert, 0);
emenu->setItemEnabled(Mcopy, 0);
emenu->setItemEnabled(Mcut, 0);
emenu->setItemEnabled(Mpaste, 0);
2106,7 → 2106,7
emenu->setItemEnabled(Mcopy, 0);
emenu->setItemEnabled(Mcut, 0);
emenu->setItemEnabled(Mdel, 0);
fmenu->setItemEnabled(fid52, 0);
fmenu->setItemEnabled(M_FileRevert, 0);
TextChanged = false;
updateProps(0, 0);
updateStatus();
2220,7 → 2220,7
ScApp->view->DrawNew();
TextChanged = false;
emenu->setItemEnabled(Mupdt, 0);
fmenu->setItemEnabled(fid52, 0);
fmenu->setItemEnabled(M_FileRevert, 0);
DatUpdt->setEnabled(false);
DatRel->setEnabled(false);
emit DocChanged();
2476,7 → 2476,7
TextChanged = true;
firstSet = true;
emenu->setItemEnabled(Mupdt, 1);
fmenu->setItemEnabled(fid52, 1);
fmenu->setItemEnabled(M_FileRevert, 1);
if (Editor->tBuffer.length() != 0)
emenu->setItemEnabled(Mpaste, 1);
else
/branches/Version13x/Scribus/scribus/icons/acrobat.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/branches/Version13x/Scribus/scribus/icons/DateiPrint.xpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/branches/Version13x/Scribus/scribus/scribusstructs.h
9,6 → 9,7
#include <qvaluelist.h>
#include <qvaluevector.h>
#include <qstring.h>
#include <qaction.h>
#include <vector>
 
#include "scfonts.h"
16,6 → 17,7
#include "fpointarray.h"
#include "vgradient.h"
#include "pageitem.h"
#include "scraction.h"
 
/* Struktur fuer Pageitem Text */
struct ScText
/branches/Version13x/Scribus/scribus/scribus.cpp
27,6 → 27,9
#include <qtextcodec.h>
#include <qcursor.h>
#include <qvbox.h>
#include <qpixmap.h>
#include <qkeysequence.h>
 
#include <cstdio>
#include <cstdlib>
#include <cmath>
35,6 → 38,8
#include <iostream>
#include <signal.h>
#include <string>
 
 
#include "scribus.h"
#include "scribus.moc"
#include "newfile.h"
106,6 → 111,8
#include "units.h"
#include "hruler.h"
#include "vruler.h"
#include "scraction.h"
#include "menumanager.h"
 
extern QPixmap loadIcon(QString nam);
extern bool overwrite(QWidget *parent, QString filename);
136,7 → 143,6
ScribusApp* ScApp;
PrefsFile* prefsFile;
 
 
ScribusApp::ScribusApp()
{} // ScribusApp::ScribusApp()
 
149,13 → 155,18
ExternalApp = 0;
guiLanguage = newGuiLanguage;
initSplash(showSplash);
 
setUsesBigPixmaps(true);
ScApp = this;
CurrStED = NULL;
setCaption( tr("Scribus " VERSION));
setKeyCompression(false);
setIcon(loadIcon("AppIcon.png"));
MenuItemsFile.clear();
scrActions.clear();
scrActions.setAutoDelete(true);
scrDLLActions.clear();
scrRecentFileActions.clear();
scrRecentFileActions.setAutoDelete(true);
scrMenuMgr = new MenuManager(this->menuBar());
 
PrefsPfad = getPreferencesLocation();
prefsFile = new PrefsFile(QDir::convertSeparators(PrefsPfad + "/prefs13.xml"));
164,7 → 175,6
initMenuBar();
initStatusBar();
initToolBars();
 
qApp->processEvents();
 
BuFromApp = false;
225,7 → 235,7
splashScreen->setStatus( tr("Initializing Plugins"));
qApp->processEvents();
initPlugs();
connect(fileWatcher, SIGNAL(fileDeleted(QString )), this, SLOT(RemoveRecent(QString)));
connect(fileWatcher, SIGNAL(fileDeleted(QString )), this, SLOT(removeRecent(QString)));
connect(this, SIGNAL(TextIFont(QString)), this, SLOT(AdjustFontMenu(QString)));
connect(this, SIGNAL(TextISize(int)), this, SLOT(setFSizeMenu(int)));
connect(this, SIGNAL(TextISize(int)), Mpal, SLOT(setSize(int)));
264,17 → 274,17
void ScribusApp::initToolBars()
{
WerkTools2 = new QToolBar( tr("File"), this);
DatNeu = new QToolButton(loadIcon("DateiNeu.xpm"), tr("Create a new Document"), QString::null, this, SLOT(slotFileNew()), WerkTools2);
DatOpe = new QToolButton(loadIcon("DateiOpen.xpm"), tr("Open a Document"), QString::null, this, SLOT(slotDocOpen()), WerkTools2);
DatSav = new QToolButton(loadIcon("DateiSave2.png"), tr("Save the current Document"), QString::null, this, SLOT(slotFileSave()), WerkTools2);
DatClo = new QToolButton(loadIcon("DateiClose.png"), tr("Close the current Document"), QString::null, this, SLOT(slotFileClose()), WerkTools2);
DatPri = new QToolButton(loadIcon("DateiPrint.xpm"), tr("Print the current Document"), QString::null, this, SLOT(slotFilePrint()), WerkTools2);
DatPDF = new QToolButton(loadIcon("acrobat.png"), tr("Save the current Document as PDF"), QString::null, this, SLOT(SaveAsPDF()), WerkTools2);
DatSav->setEnabled(false);
DatClo->setEnabled(false);
DatPri->setEnabled(false);
DatPDF->setEnabled(false);
DatOpe->setPopup(recentMenu);
scrActions["fileNew"]->addTo(WerkTools2);
scrActions["fileOpen"]->addTo(WerkTools2);
scrActions["fileSave"]->addTo(WerkTools2);
scrActions["fileClose"]->addTo(WerkTools2);
scrActions["filePrint"]->addTo(WerkTools2);
scrActions["fileExportAsPDF"]->addTo(WerkTools2);
scrActions["fileClose"]->setEnabled(false);
scrActions["filePrint"]->setEnabled(false);
scrActions["fileSave"]->setEnabled(false);
scrActions["fileExportAsPDF"]->setEnabled(false);
 
editToolBar = new QToolBar(tr("Edit"), this);
UndoWidget* uWidget = new UndoWidget(editToolBar, "uWidget");
816,7 → 826,7
if ( (QMessageBox::question( this, tr("Migrate Old Scribus Settings?"),
tr("Scribus has detected existing Scribus 1.2 preferences files.\n"
"Do you want to migrate them to the new Scribus version?"),
QMessageBox::Yes, QMessageBox::No, QMessageBox::NoButton))==QMessageBox::Yes )
QMessageBox::Yes | QMessageBox::Default, QMessageBox::No, QMessageBox::NoButton))==QMessageBox::Yes )
{
if (existsOldPR && !existsNewPR)
copyFile(oldPR, newPR);
841,161 → 851,219
\param prefsLocation Location of user preferences
\retval None
*/
void ScribusApp::convertToXMLPreferences(QString prefsLocation)
void ScribusApp::convertToXMLPreferences(const QString prefsLocation)
{
 
}
 
void ScribusApp::initActions()
{
//File Menu
scrActions.insert("fileNew", new ScrAction(QIconSet(loadIcon("DateiNeu16.png"), loadIcon("DateiNeu.xpm")), tr("&New"), CTRL+Key_N, this, "fileNew"));
scrActions.insert("fileOpen", new ScrAction(QIconSet(loadIcon("DateiOpen16.png"), loadIcon("DateiOpen.xpm")), tr("&Open..."), CTRL+Key_O, this, "fileOpen"));
scrActions.insert("fileClose", new ScrAction(QIconSet(loadIcon("DateiClos16.png"), loadIcon("DateiClose.png")), tr("&Close"), CTRL+Key_W, this, "fileClose"));
scrActions.insert("fileSave", new ScrAction(QIconSet(loadIcon("DateiSave16.png"), loadIcon("DateiSave2.png")), tr("&Save"), CTRL+Key_S, this, "fileSave"));
scrActions.insert("fileSaveAs", new ScrAction(QPixmap(loadIcon("filesaveas.png")), tr("Save &As..."), QKeySequence(), this, "fileSaveAs"));
scrActions.insert("fileRevert", new ScrAction(QPixmap(loadIcon("revert.png")), tr("Re&vert to Saved"), QKeySequence(), this, "fileRevert"));
scrActions.insert("fileCollect", new ScrAction(tr("Collect for O&utput..."), QKeySequence(), this, "fileCollect"));
//File Import Menu
scrActions.insert("fileImportText", new ScrAction(tr("Get Text..."), QKeySequence(), this, "fileImportText"));
scrActions.insert("fileImportAppendText", new ScrAction(tr("Append &Text..."), QKeySequence(), this, "fileImportAppendText"));
scrActions.insert("fileImportImage", new ScrAction(tr("Get Image..."), QKeySequence(), this, "fileImportImage"));
scrActions.insert("fileImportEPS", new ScrAction(tr("Import EPS..."), QKeySequence(), this, "fileImportEPS"));
scrActions.insert("fileImportPage", new ScrAction(tr("Import Page(s)..."), QKeySequence(), this, "fileImportPage"));
scrActions.insert("fileImportOOorgDraw", new ScrAction(tr("Import OpenOffice.org Draw..."), QKeySequence(), this, "fileImportOOorgDraw"));
scrActions.insert("fileImportSVG", new ScrAction(tr("Import SVG..."), QKeySequence(), this, "fileImportSVG"));
//File Export Menu
scrActions.insert("fileExportText", new ScrAction(tr("Save &Text..."), QKeySequence(), this, "fileExportText"));
scrActions.insert("fileExportAsEPS", new ScrAction(tr("Save Page as &EPS..."), QKeySequence(), this, "fileExportAsEPS"));
scrActions.insert("fileExportAsPDF", new ScrAction(loadIcon("acrobat.png"), tr("Save as P&DF..."), QKeySequence(), this, "fileExportAsPDF"));
scrActions.insert("fileExportAsImage", new ScrAction(tr("Save as &Image..."), QKeySequence(), this, "fileExportAsImage"));
scrActions.insert("fileExportAsSVG", new ScrAction(tr("Save Page as &SVG..."), QKeySequence(), this, "fileExportAsSVG"));
//Rest of File Menu
scrActions.insert("fileDocInfo", new ScrAction(loadIcon("documentinfo.png"), tr("Document &Information..."), CTRL+Key_I, this, "fileDocSetup"));
scrActions.insert("fileDocSetup", new ScrAction(tr("Document &Setup..."), QKeySequence(), this, "fileDocSetup"));
scrActions.insert("filePrint", new ScrAction(QIconSet(loadIcon("DateiPrint16.png"), loadIcon("DateiPrint.xpm")), tr("&Print..."), CTRL+Key_P, this, "filePrint"));
scrActions.insert("fileQuit", new ScrAction(QPixmap(loadIcon("exit.png")), tr("&Quit"), CTRL+Key_Q, this, "fileQuit"));
//Connect our signals and slots
//File Menu
connect( scrActions["fileNew"], SIGNAL(activated()) , this, SLOT(slotFileNew()) );
connect( scrActions["fileOpen"], SIGNAL(activated()) , this, SLOT(slotDocOpen()) );
connect( scrActions["fileClose"], SIGNAL(activated()) , this, SLOT(slotFileClose()) );
connect( scrActions["filePrint"], SIGNAL(activated()) , this, SLOT(slotFilePrint()) );
connect( scrActions["fileSave"], SIGNAL(activated()) , this, SLOT(slotFileSave()) );
connect( scrActions["fileSave"], SIGNAL(activated()) , this, SLOT(slotFileSave()) );
connect( scrActions["fileSaveAs"], SIGNAL(activated()) , this, SLOT(slotFileSaveAs()) );
connect( scrActions["fileDocInfo"], SIGNAL(activated()) , this, SLOT(InfoDoc()) );
connect( scrActions["fileDocSetup"], SIGNAL(activated()) , this, SLOT(SetupDoc()) );
connect( scrActions["fileRevert"], SIGNAL(activated()) , this, SLOT(slotFileRevert()) );
connect( scrActions["fileCollect"], SIGNAL(activated()) , this, SLOT(Collect()) );
connect( scrActions["fileQuit"], SIGNAL(activated()) , this, SLOT(slotFileQuit()) );
//File Import Menu
connect( scrActions["fileImportText"], SIGNAL(activated()) , this, SLOT(slotFileOpen()) );
connect( scrActions["fileImportAppendText"], SIGNAL(activated()) , this, SLOT(slotFileAppend()) );
connect( scrActions["fileImportImage"], SIGNAL(activated()) , this, SLOT(slotFileOpen()) );
connect( scrActions["fileImportPage"], SIGNAL(activated()) , this, SLOT(slotDocMerge()) );
//File Export Menu
connect( scrActions["fileExportText"], SIGNAL(activated()) , this, SLOT(SaveText()) );
connect( scrActions["fileExportAsEPS"], SIGNAL(activated()) , this, SLOT(SaveAsEps()) );
connect( scrActions["fileExportAsPDF"], SIGNAL(activated()) , this, SLOT(SaveAsPDF()) );
//The rest are plugins
}
 
void ScribusApp::initMenuBar()
{
int MenID;
QFont tmp;
recentMenu = new QPopupMenu();
RecentDocs.clear();
fileMenu=new QPopupMenu();
M_NewFile = fileMenu->insertItem(loadIcon("DateiNeu16.png"), tr("&New"), this, SLOT(slotFileNew()), CTRL+Key_N);
fid13 = fileMenu->insertItem(loadIcon("DateiOpen16.png"), tr("&Open..."), this, SLOT(slotDocOpen()), CTRL+Key_O);
fid14 = fileMenu->insertItem( tr("Open &Recent"), recentMenu);
SetKeyEntry(0, tr("New"), M_NewFile, CTRL+Key_N);
SetKeyEntry(1, tr("Open..."), fid13, CTRL+Key_O);
fileMenu->insertSeparator();
fid1 = fileMenu->insertItem(loadIcon("DateiClos16.png"), tr("&Close"), this, SLOT(slotFileClose()), CTRL+Key_W);
SetKeyEntry(2, tr("Close"), fid1, CTRL+Key_W);
fileMenu->setItemEnabled(fid1, 0);
MenuItemsFile.append(fid1);
fid4 = fileMenu->insertItem(loadIcon("DateiSave16.png"), tr("&Save"), this, SLOT(slotFileSave()), CTRL+Key_S);
SetKeyEntry(3, tr("Save"), fid4, CTRL+Key_S);
fileMenu->setItemEnabled(fid4, 0);
M_SaveAs = fileMenu->insertItem( loadIcon("filesaveas.png"), tr("Save &As..."), this, SLOT(slotFileSaveAs()));
SetKeyEntry(4, tr("Save as..."), M_SaveAs, 0);
fileMenu->setItemEnabled(M_SaveAs, 0);
fid52 = fileMenu->insertItem(loadIcon("revert.png"), tr("Re&vert to Saved"), this, SLOT(slotFileRevert()));
fileMenu->setItemEnabled(fid52, 0);
fid51 = fileMenu->insertItem( tr("Collect for O&utput..."), this, SLOT(Collect()));
fileMenu->setItemEnabled(fid51, 0);
MenuItemsFile.append(fid51);
fileMenu->insertSeparator();
importMenu = new QPopupMenu();
fid2 = importMenu->insertItem( tr("&Get Text/Picture..."), this, SLOT(slotFileOpen()));
importMenu->setItemEnabled(fid2, 0);
fid2aa = importMenu->insertItem( tr("Append &Text..."), this, SLOT(slotFileAppend()));
importMenu->setItemEnabled(fid2aa, 0);
fid2a = importMenu->insertItem( tr("Import &Page(s)..."), this, SLOT(slotDocMerge()));
importMenu->setItemEnabled(fid2a, 0);
fileMenu->insertItem( tr("&Import"), importMenu);
exportMenu = new QPopupMenu();
fid3 = exportMenu->insertItem( tr("Save &Text..."), this, SLOT(SaveText()));
exportMenu->setItemEnabled(fid3, 0);
fid8 = exportMenu->insertItem( tr("Save Page as &EPS..."), this, SLOT(SaveAsEps()));
exportMenu->setItemEnabled(fid8, 0);
fid10 = exportMenu->insertItem( tr("Save as P&DF..."), this, SLOT(SaveAsPDF()));
exportMenu->setItemEnabled(fid10, 0);
fid11 = fileMenu->insertItem( tr("&Export"), exportMenu);
fileMenu->setItemEnabled(fid11, 0);
fileMenu->insertSeparator();
fid6 = fileMenu->insertItem(loadIcon("documentinfo.png"), tr("Document &Information..."), this, SLOT(InfoDoc()), CTRL+Key_I);
fileMenu->setItemEnabled(fid6, 0);
MenuItemsFile.append(fid6);
SetKeyEntry(5, tr("Document Info..."), fid6, CTRL+Key_I);
fid7 = fileMenu->insertItem( tr("Document &Setup..."), this, SLOT(SetupDoc()));
fileMenu->setItemEnabled(fid7, 0);
MenuItemsFile.append(fid7);
SetKeyEntry(6, tr("Document Setup..."), fid7, 0);
M_Print = fileMenu->insertItem(loadIcon("DateiPrint16.png"), tr("&Print..."), this, SLOT(slotFilePrint()), CTRL+Key_P);
fileMenu->setItemEnabled(M_Print, 0);
MenuItemsFile.append(M_Print);
SetKeyEntry(7, tr("Print..."), M_Print, CTRL+Key_P);
fileMenu->insertSeparator();
MenID = fileMenu->insertItem(loadIcon("exit.png"), tr("&Quit"), this, SLOT(slotFileQuit()), CTRL+Key_Q);
SetKeyEntry(8, tr("Quit"), MenID, CTRL+Key_Q);
 
initActions();
scrMenuMgr->createMenu("File", tr("&File"));
scrMenuMgr->addMenuItem(scrActions["fileNew"], "File");
scrMenuMgr->addMenuItem(scrActions["fileOpen"], "File");
recentFileMenuName="FileOpenRecent";
scrMenuMgr->createMenu(recentFileMenuName, tr("Open &Recent"), "File");
scrMenuMgr->addMenuSeparator("File");
scrMenuMgr->addMenuItem(scrActions["fileClose"], "File");
scrMenuMgr->addMenuItem(scrActions["fileSave"], "File");
scrMenuMgr->addMenuItem(scrActions["fileSaveAs"], "File");
scrMenuMgr->addMenuItem(scrActions["fileRevert"], "File");
scrMenuMgr->addMenuItem(scrActions["fileCollect"], "File");
scrMenuMgr->addMenuSeparator("File");
scrMenuMgr->createMenu("FileImport", tr("&Import"), "File");
scrMenuMgr->addMenuItem(scrActions["fileImportText"], "FileImport");
scrMenuMgr->addMenuItem(scrActions["fileImportAppendText"], "FileImport");
scrMenuMgr->addMenuItem(scrActions["fileImportImage"], "FileImport");
scrMenuMgr->addMenuItem(scrActions["fileImportPage"], "FileImport");
scrMenuMgr->createMenu("FileExport", tr("&Export"), "File");
scrMenuMgr->addMenuItem(scrActions["fileExportText"], "FileExport");
scrMenuMgr->addMenuItem(scrActions["fileExportAsEPS"], "FileExport");
scrMenuMgr->addMenuItem(scrActions["fileExportAsPDF"], "FileExport");
scrMenuMgr->addMenuSeparator("File");
scrMenuMgr->addMenuItem(scrActions["fileDocInfo"], "File");
scrMenuMgr->addMenuItem(scrActions["fileDocSetup"], "File");
scrMenuMgr->addMenuItem(scrActions["filePrint"], "File");
scrMenuMgr->addMenuSeparator("File");
scrMenuMgr->addMenuItem(scrActions["fileQuit"], "File");
 
/*
SetKeyEntry(0, tr("New"), M_FileNew, CTRL+Key_N);
SetKeyEntry(1, tr("Open..."), M_FileOpen, CTRL+Key_O);
SetKeyEntry(2, tr("Close"), M_FileClose, CTRL+Key_W);
SetKeyEntry(3, tr("Save"), M_FileSave, CTRL+Key_S);
SetKeyEntry(4, tr("Save as..."), M_FileSaveAs, 0);
SetKeyEntry(6, tr("Document Setup..."), M_FileDocSetup, 0);
SetKeyEntry(8, tr("Quit"), M_FileQuit, CTRL+Key_Q);
*/
scrActions["fileClose"]->setEnabled(false);
scrActions["fileSave"]->setEnabled(false);
scrActions["fileSaveAs"]->setEnabled(false);
scrActions["fileRevert"]->setEnabled(false);
scrActions["fileCollect"]->setEnabled(false);
scrActions["fileImportText"]->setEnabled(false);
scrActions["fileImportImage"]->setEnabled(false);
scrActions["fileImportAppendText"]->setEnabled(false);
scrActions["fileImportPage"]->setEnabled(false);
scrActions["fileExportText"]->setEnabled(false);
scrActions["fileExportAsEPS"]->setEnabled(false);
scrActions["fileExportAsPDF"]->setEnabled(false);
scrMenuMgr->setMenuEnabled("FileExport", false);
scrActions["fileDocInfo"]->setEnabled(false);
scrActions["fileDocSetup"]->setEnabled(false);
scrActions["filePrint"]->setEnabled(false);
editMenu = new QPopupMenu();
edUndo = editMenu->insertItem( tr("&Undo"), this, SLOT(UnDoAction()), CTRL+Key_Z);
edRedo = editMenu->insertItem(tr("&Redo"), this, SLOT(RedoAction()), CTRL+SHIFT+Key_Z);
editMenu->insertSeparator();
edid1 = editMenu->insertItem(loadIcon("editcut.png"), tr("Cu&t"), this , SLOT(slotEditCut()), CTRL+Key_X);
edid2 = editMenu->insertItem(loadIcon("editcopy.png"), tr("&Copy"), this , SLOT(slotEditCopy()), CTRL+Key_C);
edid3 = editMenu->insertItem(loadIcon("editpaste.png"), tr("&Paste"), this , SLOT(slotEditPaste()), CTRL+Key_V);
edid4 = editMenu->insertItem(loadIcon("editdelete.png"), tr("C&lear"), this, SLOT(DeleteText()));
edid5 = editMenu->insertItem( tr("Select &All"), this, SLOT(SelectAll()), CTRL+Key_A);
SetKeyEntry(9, tr("Cut"), edid1, CTRL+Key_X);
SetKeyEntry(10, tr("Copy"), edid2, CTRL+Key_C);
SetKeyEntry(11, tr("Paste"), edid3, CTRL+Key_V);
SetKeyEntry(12, tr("Clear"), edid4, 0);
SetKeyEntry(13, tr("Select all"), edid5, CTRL+Key_A);
M_EditCut = editMenu->insertItem(loadIcon("editcut.png"), tr("Cu&t"), this , SLOT(slotEditCut()), CTRL+Key_X);
M_EditCopy = editMenu->insertItem(loadIcon("editcopy.png"), tr("&Copy"), this , SLOT(slotEditCopy()), CTRL+Key_C);
M_EditPaste = editMenu->insertItem(loadIcon("editpaste.png"), tr("&Paste"), this , SLOT(slotEditPaste()), CTRL+Key_V);
M_EditDelete = editMenu->insertItem(loadIcon("editdelete.png"), tr("C&lear"), this, SLOT(DeleteText()));
M_EditSelectAll = editMenu->insertItem( tr("Select &All"), this, SLOT(SelectAll()), CTRL+Key_A);
SetKeyEntry(9, tr("Cut"), M_EditCut, CTRL+Key_X);
SetKeyEntry(10, tr("Copy"), M_EditCopy, CTRL+Key_C);
SetKeyEntry(11, tr("Paste"), M_EditPaste, CTRL+Key_V);
SetKeyEntry(12, tr("Clear"), M_EditDelete, 0);
SetKeyEntry(13, tr("Select all"), M_EditSelectAll, CTRL+Key_A);
editMenu->insertSeparator();
Sear = editMenu->insertItem(loadIcon("find16.png"), tr("&Search/Replace..."), this, SLOT(SearchText()));
M_EditSearchReplace = editMenu->insertItem(loadIcon("find16.png"), tr("&Search/Replace..."), this, SLOT(SearchText()));
editMenu->insertSeparator();
MenID = editMenu->insertItem( tr("C&olors..."), this , SLOT(slotEditColors()));
SetKeyEntry(14, tr("Colors..."), MenID, 0);
edid6 = editMenu->insertItem( tr("&Paragraph Styles..."), this , SLOT(slotEditStyles()));
edid6a = editMenu->insertItem( tr("&Line Styles..."), this , SLOT(slotEditLineStyles()));
SetKeyEntry(15, tr("Styles..."), edid6, 0);
tman = editMenu->insertItem( tr("&Templates..."), this, SLOT(ManageTemp()));
SetKeyEntry(16, tr("Templates..."), tman, 0);
jman = editMenu->insertItem( tr("&Javascripts..."), this, SLOT(ManageJava()));
M_EditParaStyles = editMenu->insertItem( tr("&Paragraph Styles..."), this , SLOT(slotEditStyles()));
M_EditLineStyles = editMenu->insertItem( tr("&Line Styles..."), this , SLOT(slotEditLineStyles()));
SetKeyEntry(15, tr("Styles..."), M_EditParaStyles, 0);
M_EditTemplates = editMenu->insertItem( tr("&Templates..."), this, SLOT(ManageTemp()));
SetKeyEntry(16, tr("Templates..."), M_EditTemplates, 0);
M_EditJavascripts = editMenu->insertItem( tr("&Javascripts..."), this, SLOT(ManageJava()));
MenID = editMenu->insertItem( tr("P&references..."), this , SLOT(slotPrefsOrg()));
MenID = editMenu->insertItem( tr("&Fonts..."), this , SLOT(slotFontOrg()));
SetKeyEntry(17, tr("Fonts..."), MenID, 0);
editMenu->setItemEnabled(edUndo, 0);
editMenu->setItemEnabled(edRedo, 0);
editMenu->setItemEnabled(edid1, 0);
editMenu->setItemEnabled(edid2, 0);
editMenu->setItemEnabled(edid3, 0);
editMenu->setItemEnabled(edid4, 0);
editMenu->setItemEnabled(edid5, 0);
editMenu->setItemEnabled(edid6, 0);
editMenu->setItemEnabled(edid6a, 0);
editMenu->setItemEnabled(Sear, 0);
editMenu->setItemEnabled(tman, 0);
editMenu->setItemEnabled(jman, 0);
editMenu->setItemEnabled(M_EditCut, 0);
editMenu->setItemEnabled(M_EditCopy, 0);
editMenu->setItemEnabled(M_EditPaste, 0);
editMenu->setItemEnabled(M_EditDelete, 0);
editMenu->setItemEnabled(M_EditSelectAll, 0);
editMenu->setItemEnabled(M_EditParaStyles, 0);
editMenu->setItemEnabled(M_EditLineStyles, 0);
editMenu->setItemEnabled(M_EditSearchReplace, 0);
editMenu->setItemEnabled(M_EditTemplates, 0);
editMenu->setItemEnabled(M_EditJavascripts, 0);
StilMenu = new QPopupMenu();
ObjMenu = new QPopupMenu();
itemMenu = new QPopupMenu();
SetKeyEntry(19, tr("Select New Font"), 0, 0);
ODup = ObjMenu->insertItem( tr("D&uplicate"), this, SLOT(ObjektDup()), CTRL+Key_D);
SetKeyEntry(20, tr("Duplicate"), ODup, CTRL+Key_D);
OMDup = ObjMenu->insertItem( tr("&Multiple Duplicate"), this, SLOT(ObjektDupM()));
SetKeyEntry(21, tr("Multiple Duplicate"), OMDup, 0);
Loesch = ObjMenu->insertItem( tr("&Delete"), this, SLOT(DeleteObjekt()), CTRL+Key_K);
SetKeyEntry(22, tr("Delete"), Loesch, CTRL+Key_K);
ObjMenu->insertSeparator();
Gr = ObjMenu->insertItem( tr("&Group"), this, SLOT(GroupObj()), CTRL+Key_G);
SetKeyEntry(23, tr("Group"), Gr, CTRL+Key_G);
UnGr = ObjMenu->insertItem( tr("&Ungroup"), this, SLOT(UnGroupObj()),CTRL+Key_U);
SetKeyEntry(24, tr("Un-group"), UnGr, CTRL+Key_U);
LockOb = ObjMenu->insertItem( tr("&Lock"), this, SLOT(ToggleObjLock()), CTRL+Key_F);
ObjMenu->insertSeparator();
OBack = ObjMenu->insertItem( tr("Send to &Back"), this, SLOT(Objekt2Back()));
SetKeyEntry(25, tr("Send to Back"), OBack, 0);
OFront = ObjMenu->insertItem( tr("Bring to &Front"), this, SLOT(Objekt2Front()));
SetKeyEntry(26, tr("Bring to Front"), OFront, 0);
OLower = ObjMenu->insertItem( tr("&Lower"), this, SLOT(ObjektLower()));
SetKeyEntry(27, tr("Lower"), OLower, 0);
ORaise = ObjMenu->insertItem( tr("&Raise"), this, SLOT(ObjektRaise()));
SetKeyEntry(28, tr("Raise"), ORaise, 0);
DistM = ObjMenu->insertItem( tr("Distribute/&Align..."), this, SLOT(ObjektAlign()));
SetKeyEntry(29, tr("Distribute/Align..."), DistM, 0);
ObjMenu->insertSeparator();
M_ItemDuplicate = itemMenu->insertItem( tr("D&uplicate"), this, SLOT(ObjektDup()), CTRL+Key_D);
SetKeyEntry(20, tr("Duplicate"), M_ItemDuplicate, CTRL+Key_D);
M_ItemMultiDuplicate = itemMenu->insertItem( tr("&Multiple Duplicate"), this, SLOT(ObjektDupM()));
SetKeyEntry(21, tr("Multiple Duplicate"), M_ItemMultiDuplicate, 0);
M_ItemDelete = itemMenu->insertItem( tr("&Delete"), this, SLOT(DeleteObjekt()), CTRL+Key_K);
SetKeyEntry(22, tr("Delete"), M_ItemDelete, CTRL+Key_K);
itemMenu->insertSeparator();
M_ItemGroup = itemMenu->insertItem( tr("&Group"), this, SLOT(GroupObj()), CTRL+Key_G);
SetKeyEntry(23, tr("Group"), M_ItemGroup, CTRL+Key_G);
M_ItemUngroup = itemMenu->insertItem( tr("&Ungroup"), this, SLOT(UnGroupObj()),CTRL+Key_U);
SetKeyEntry(24, tr("Ungroup"), M_ItemUngroup, CTRL+Key_U);
M_ItemLock = itemMenu->insertItem( tr("&Lock"), this, SLOT(ToggleObjLock()), CTRL+Key_F);
itemMenu->insertSeparator();
M_ItemSendToBack = itemMenu->insertItem( tr("Send to &Back"), this, SLOT(Objekt2Back()));
SetKeyEntry(25, tr("Send to Back"), M_ItemSendToBack, 0);
M_ItemBringToFront = itemMenu->insertItem( tr("Bring to &Front"), this, SLOT(Objekt2Front()));
SetKeyEntry(26, tr("Bring to Front"), M_ItemBringToFront, 0);
M_ItemLower = itemMenu->insertItem( tr("&Lower"), this, SLOT(ObjektLower()));
SetKeyEntry(27, tr("Lower"), M_ItemLower, 0);
M_ItemRaise = itemMenu->insertItem( tr("&Raise"), this, SLOT(ObjektRaise()));
SetKeyEntry(28, tr("Raise"), M_ItemRaise, 0);
M_ItemAlignDist = itemMenu->insertItem( tr("Distribute/&Align..."), this, SLOT(ObjektAlign()));
SetKeyEntry(29, tr("Distribute/Align..."), M_ItemAlignDist, 0);
itemMenu->insertSeparator();
ShapeMenu = new QPopupMenu();
SCustom = new Autoforms(0);
ShapeMenu->insertItem(SCustom);
connect(SCustom, SIGNAL(FormSel(int, int, double *)), this, SLOT(MakeFrame(int, int, double *)));
ShapeEdit = ShapeMenu->insertItem( tr("&Edit Shape"), this, SLOT(ToggleFrameEdit()));
ShapeM = ObjMenu->insertItem( tr("&Shape"), ShapeMenu);
PfadT = ObjMenu->insertItem( tr("&Attach Text to Path"), this, SLOT(Pfadtext()));
PfadDT = ObjMenu->insertItem( tr("&Detach Text from Path"), this, SLOT(noPfadtext()));
PfadV = ObjMenu->insertItem( tr("&Combine Polygons"), this, SLOT(UniteOb()));
PfadS = ObjMenu->insertItem( tr("Split &Polygons"), this, SLOT(SplitUniteOb()));
PfadTP = ObjMenu->insertItem( tr("C&onvert to Outlines"), this, SLOT(TraceText()));
ObjMenu->setItemEnabled(ShapeM, 0);
ObjMenu->setItemEnabled(DistM, 0);
ObjMenu->setItemEnabled(Gr, 0);
ObjMenu->setItemEnabled(UnGr, 0);
ObjMenu->setItemEnabled(PfadT, 0);
ObjMenu->setItemEnabled(PfadDT, 0);
ObjMenu->setItemEnabled(PfadV, 0);
ObjMenu->setItemEnabled(PfadS, 0);
ObjMenu->setItemEnabled(LockOb, 0);
ObjMenu->setItemEnabled(PfadTP, 0);
ShapeM = itemMenu->insertItem( tr("&Shape"), ShapeMenu);
PfadT = itemMenu->insertItem( tr("&Attach Text to Path"), this, SLOT(Pfadtext()));
PfadDT = itemMenu->insertItem( tr("&Detach Text from Path"), this, SLOT(noPfadtext()));
PfadV = itemMenu->insertItem( tr("&Combine Polygons"), this, SLOT(UniteOb()));
PfadS = itemMenu->insertItem( tr("Split &Polygons"), this, SLOT(SplitUniteOb()));
PfadTP = itemMenu->insertItem( tr("C&onvert to Outlines"), this, SLOT(TraceText()));
itemMenu->setItemEnabled(ShapeM, 0);
itemMenu->setItemEnabled(M_ItemAlignDist, 0);
itemMenu->setItemEnabled(M_ItemGroup, 0);
itemMenu->setItemEnabled(M_ItemUngroup, 0);
itemMenu->setItemEnabled(PfadT, 0);
itemMenu->setItemEnabled(PfadDT, 0);
itemMenu->setItemEnabled(PfadV, 0);
itemMenu->setItemEnabled(PfadS, 0);
itemMenu->setItemEnabled(M_ItemLock, 0);
itemMenu->setItemEnabled(PfadTP, 0);
pageMenu = new QPopupMenu();
MenID = pageMenu->insertItem( tr("&Insert..."), this, SLOT(slotNewPageM()));
SetKeyEntry(30, tr("Insert..."), MenID, 0);
1025,28 → 1093,28
MenID = viewMenu->insertItem( tr("&Thumbnails"), this, SLOT(slotZoom20()));
SetKeyEntry(39, tr("Thumbnails"), MenID, 0);
viewMenu->insertSeparator();
Markers = viewMenu->insertItem( tr("Show &Margins"), this, SLOT(ToggleMarks()));
SetKeyEntry(40, tr("Hide Margins"), Markers, 0);
viewMenu->setItemChecked(Markers, true);
FrameDr = viewMenu->insertItem( tr("Show &Frames"), this, SLOT(ToggleFrames()));
SetKeyEntry(41, tr("Hide Frames"), FrameDr, 0);
viewMenu->setItemChecked(FrameDr, true);
Bilder = viewMenu->insertItem( tr("Show &Images"), this, SLOT(TogglePics()));
viewMenu->setItemChecked(Bilder, true);
SetKeyEntry(42, tr("Hide Images"), Bilder, 0);
Ras = viewMenu->insertItem( tr("Show &Grid"), this, SLOT(ToggleRaster()));
SetKeyEntry(43, tr("Show Grid"), Ras, 0);
viewMenu->setItemChecked(Ras, false);
Guide = viewMenu->insertItem( tr("Show G&uides"), this, SLOT(ToggleGuides()));
viewMenu->setItemChecked(Guide, true);
Base = viewMenu->insertItem( tr("Show &Baseline Grid"), this, SLOT(ToggleBase()));
viewMenu->setItemChecked(Base, false);
textLinks = viewMenu->insertItem( tr("Show &Text Chain"), this, SLOT(ToggleTextLinks()));
viewMenu->setItemChecked(textLinks, false);
M_ViewShowMarkers = viewMenu->insertItem( tr("Show &Margins"), this, SLOT(ToggleMarks()));
SetKeyEntry(40, tr("Hide Margins"), M_ViewShowMarkers, 0);
viewMenu->setItemChecked(M_ViewShowMarkers, true);
M_ViewDrawFrames = viewMenu->insertItem( tr("Show &Frames"), this, SLOT(ToggleFrames()));
SetKeyEntry(41, tr("Hide Frames"), M_ViewDrawFrames, 0);
viewMenu->setItemChecked(M_ViewDrawFrames, true);
M_ViewShowImages = viewMenu->insertItem( tr("Show &Images"), this, SLOT(TogglePics()));
viewMenu->setItemChecked(M_ViewShowImages, true);
SetKeyEntry(42, tr("Hide Images"), M_ViewShowImages, 0);
M_ViewShowGrid = viewMenu->insertItem( tr("Show &Grid"), this, SLOT(ToggleRaster()));
SetKeyEntry(43, tr("Show Grid"), M_ViewShowGrid, 0);
viewMenu->setItemChecked(M_ViewShowGrid, false);
M_ViewShowGuides = viewMenu->insertItem( tr("Show G&uides"), this, SLOT(ToggleGuides()));
viewMenu->setItemChecked(M_ViewShowGuides, true);
M_ViewShowBaseline = viewMenu->insertItem( tr("Show &Baseline Grid"), this, SLOT(ToggleBase()));
viewMenu->setItemChecked(M_ViewShowBaseline, false);
M_ViewShowTextChain = viewMenu->insertItem( tr("Show &Text Chain"), this, SLOT(ToggleTextLinks()));
viewMenu->setItemChecked(M_ViewShowTextChain, false);
viewMenu->insertSeparator();
uRas = viewMenu->insertItem( tr("Sn&ap to Grid"), this, SLOT(ToggleURaster()));
SetKeyEntry(44, tr("Snap to Grid"), uRas, 0);
uGuide = viewMenu->insertItem( tr("Sna&p to Guides"), this, SLOT(ToggleUGuides()));
M_ViewSnapToGrid = viewMenu->insertItem( tr("Sn&ap to Grid"), this, SLOT(ToggleURaster()));
SetKeyEntry(44, tr("Snap to Grid"), M_ViewSnapToGrid, 0);
M_ViewSnapToGuides = viewMenu->insertItem( tr("Sna&p to Guides"), this, SLOT(ToggleUGuides()));
toolMenu=new QPopupMenu();
viewMpal = toolMenu->insertItem( tr("&Properties"), this, SLOT(ToggleMpal()));
SetKeyEntry(46, tr("Properties"), viewMpal, 0);
1068,8 → 1136,8
hyph = extraMenu->insertItem( tr("&Hyphenate Text"), this, SLOT(doHyphenate()));
extraMenu->setItemEnabled(hyph, 0);
SetKeyEntry(50, tr("Hyphenate Text"), hyph, 0);
cSelect = extraMenu->insertItem( tr("Insert Special"), this, SLOT(slotCharSelect()));
extraMenu->setItemEnabled(cSelect, 0);
M_ExtraCharSelect = extraMenu->insertItem( tr("Insert Special"), this, SLOT(slotCharSelect()));
extraMenu->setItemEnabled(M_ExtraCharSelect, 0);
 
windowsMenu = new QPopupMenu();
windowsMenu->setCheckable( true );
1089,10 → 1157,11
/* editMenu->insertItem( tr("Test"), this, SLOT(slotTest()));
editMenu->insertItem( tr("Test2"), this, SLOT(slotTest2()));
*/
menuBar()->insertItem( tr("&File"), fileMenu);
scrMenuMgr->addMenuToMenuBar("File");
menuBar()->insertItem( tr("&Edit"), editMenu);
Stm = menuBar()->insertItem( tr("St&yle"), StilMenu);
Obm = menuBar()->insertItem( tr("&Item"), ObjMenu);
Obm = menuBar()->insertItem( tr("&Item"), itemMenu);
pgmm = menuBar()->insertItem( tr("&Page"), pageMenu);
menuBar()->setItemEnabled(Stm, 0);
menuBar()->setItemEnabled(Obm, 0);
1106,12 → 1175,12
menuBar()->setItemEnabled(WinMen, 0);
menuBar()->insertSeparator();
menuBar()->insertItem( tr("&Help"), helpMenu);
AliMenu = new QPopupMenu();
AliMenu->insertItem( tr("&Left"));
AliMenu->insertItem( tr("&Center"));
AliMenu->insertItem( tr("&Right"));
AliMenu->insertItem( tr("&Block"));
AliMenu->insertItem( tr("&Forced"));
alignMenu = new QPopupMenu();
alignMenu->insertItem( tr("&Left"));
alignMenu->insertItem( tr("&Center"));
alignMenu->insertItem( tr("&Right"));
alignMenu->insertItem( tr("&Block"));
alignMenu->insertItem( tr("&Forced"));
ColorMenu = new QPopupMenu();
ColorMenC = new QComboBox(false);
ColorMenC->setEditable(false);
1139,7 → 1208,6
TypeStyleMenu = new QPopupMenu();
TypeStyleMenu->insertItem( tr("Normal"));
tmp = qApp->font();
tmp = qApp->font();
tmp.setUnderline(true);
TypeStyleMenu->insertItem(new FmItem( tr("Underline"), tmp));
tmp = qApp->font();
1152,11 → 1220,11
 
SetKeyEntry(61, tr("Attach Text to Path"), PfadT, 0);
SetKeyEntry(62, tr("Show Layers"), viewLpal, 0);
SetKeyEntry(63, tr("Javascripts..."), jman, 0);
SetKeyEntry(63, tr("Javascripts..."), M_EditJavascripts, 0);
SetKeyEntry(64, tr("Undo"), edUndo, CTRL+Key_Z);
SetKeyEntry(65, tr("Redo"), edRedo, CTRL+SHIFT+Key_Z);
SetKeyEntry(66, tr("Show Page Palette"), viewSepal, 0);
SetKeyEntry(67, tr("Lock/Unlock"), LockOb, CTRL+Key_F);
SetKeyEntry(67, tr("Lock/Unlock"), M_ItemLock, CTRL+Key_F);
 
connect(editMenu, SIGNAL(aboutToShow()), this, SLOT(refreshUndoRedoItems()));
connect(UndoManager::instance(), SIGNAL(newAction(UndoObject*, UndoState*)),
1163,13 → 1231,13
this, SLOT(refreshUndoRedoItems()));
connect(UndoManager::instance(), SIGNAL(undoRedoDone()), this, SLOT(refreshUndoRedoItems()));
connect(toolMenu, SIGNAL(aboutToShow()), this, SLOT(refreshUndoRedoItems()));
connect(recentMenu, SIGNAL(activated(int)), this, SLOT(LoadRecent(int)));
connect(ColorMenC, SIGNAL(activated(int)), this, SLOT(setItemFarbe(int)));
connect(ShadeMenu, SIGNAL(activated(int)), this, SLOT(setItemShade(int)));
connect(FontMenu, SIGNAL(activated(int)), this, SLOT(setItemFont(int)));
connect(SizeTMenu, SIGNAL(activated(int)), this, SLOT(setItemFSize(int)));
connect(TypeStyleMenu, SIGNAL(activated(int)), this, SLOT(setItemTypeStyle(int)));
connect(AliMenu, SIGNAL(activated(int)), this, SLOT(setItemTextAli(int)));
connect(alignMenu, SIGNAL(activated(int)), this, SLOT(setItemTextAli(int)));
}
 
void ScribusApp::initStatusBar()
2461,8 → 2529,8
doc->AutoSaveTime = Prefs.AutoSaveTime;
if (doc->AutoSave)
doc->ASaveTimer->start(Prefs.AutoSaveTime);
DatSav->setEnabled(false);
fileMenu->setItemEnabled(fid4, 0);
scrActions["fileSave"]->setEnabled(false);
 
UndoManager::instance()->switchStack(doc->DocName);
 
return true;
2539,13 → 2607,13
wsp->setScrollBarsEnabled(false);
else
wsp->setScrollBarsEnabled(true);
viewMenu->setItemChecked(Markers, doc->guidesSettings.marginsShown);
viewMenu->setItemChecked(FrameDr, doc->guidesSettings.framesShown);
viewMenu->setItemChecked(Ras, doc->guidesSettings.gridShown);
viewMenu->setItemChecked(Guide, doc->guidesSettings.guidesShown);
viewMenu->setItemChecked(Base, doc->guidesSettings.baseShown);
viewMenu->setItemChecked(Bilder, doc->guidesSettings.showPic);
viewMenu->setItemChecked(textLinks, doc->guidesSettings.linkShown);
viewMenu->setItemChecked(M_ViewShowMarkers, doc->guidesSettings.marginsShown);
viewMenu->setItemChecked(M_ViewDrawFrames, doc->guidesSettings.framesShown);
viewMenu->setItemChecked(M_ViewShowGrid, doc->guidesSettings.gridShown);
viewMenu->setItemChecked(M_ViewShowGuides, doc->guidesSettings.guidesShown);
viewMenu->setItemChecked(M_ViewShowBaseline, doc->guidesSettings.baseShown);
viewMenu->setItemChecked(M_ViewShowImages, doc->guidesSettings.showPic);
viewMenu->setItemChecked(M_ViewShowTextChain, doc->guidesSettings.linkShown);
// if (!doc->TemplateMode)
// Sepal->Rebuild();
// Tpal->BuildTree(view);
2767,13 → 2835,13
FProg->reset();
}
}
viewMenu->setItemChecked(Markers, doc->guidesSettings.marginsShown);
viewMenu->setItemChecked(FrameDr, doc->guidesSettings.framesShown);
viewMenu->setItemChecked(Ras, doc->guidesSettings.gridShown);
viewMenu->setItemChecked(Guide, doc->guidesSettings.guidesShown);
viewMenu->setItemChecked(Base, doc->guidesSettings.baseShown);
viewMenu->setItemChecked(Bilder, doc->guidesSettings.showPic);
viewMenu->setItemChecked(textLinks, doc->guidesSettings.linkShown);
viewMenu->setItemChecked(M_ViewShowMarkers, doc->guidesSettings.marginsShown);
viewMenu->setItemChecked(M_ViewDrawFrames, doc->guidesSettings.framesShown);
viewMenu->setItemChecked(M_ViewShowGrid, doc->guidesSettings.gridShown);
viewMenu->setItemChecked(M_ViewShowGuides, doc->guidesSettings.guidesShown);
viewMenu->setItemChecked(M_ViewShowBaseline, doc->guidesSettings.baseShown);
viewMenu->setItemChecked(M_ViewShowImages, doc->guidesSettings.showPic);
viewMenu->setItemChecked(M_ViewShowTextChain, doc->guidesSettings.linkShown);
for (uint b=0; b<doc->Items.count(); ++b)
{
if (doc->Items.at(b)->PType == 2)
2847,7 → 2915,7
doc->EditClip = !doc->EditClip;
ToggleFrameEdit();
}
DatClo->setEnabled(true);
scrActions["fileClose"]->setEnabled(true);
if (doc->TemplateMode)
{
for (uint a=0; a<5; ++a)
2854,35 → 2922,28
{
pageMenu->setItemEnabled(pageMenu->idAt(a), 0);
}
editMenu->setItemEnabled(tman, 0);
DatNeu->setEnabled(false);
DatSav->setEnabled(doc->isModified());
DatOpe->setEnabled(false);
DatClo->setEnabled(false);
fileMenu->setItemEnabled(fid1, 0);
fileMenu->setItemEnabled(fid4, doc->isModified());
fileMenu->setItemEnabled(fid52, 0);
fileMenu->setItemEnabled(M_NewFile, 0);
fileMenu->setItemEnabled(fid13, 0);
fileMenu->setItemEnabled(fid14, 0);
editMenu->setItemEnabled(M_EditTemplates, 0);
scrActions["fileNew"]->setEnabled(false);
scrActions["fileSave"]->setEnabled(doc->isModified());
scrActions["fileOpen"]->setEnabled(false);
scrActions["fileClose"]->setEnabled(false);
scrActions["fileRevert"]->setEnabled(false);
scrMenuMgr->setMenuEnabled("FileOpenRecent", false);
Sepal->DisablePal();
}
else
{
menuBar()->setItemEnabled(pgmm, 1);
editMenu->setItemEnabled(tman, 1);
DatNeu->setEnabled(true);
DatOpe->setEnabled(true);
DatClo->setEnabled(true);
DatSav->setEnabled(doc->isModified());
fileMenu->setItemEnabled(fid1, 1);
fileMenu->setItemEnabled(fid4, ActWin->MenuStat[2]);
fileMenu->setItemEnabled(M_SaveAs, ActWin->MenuStat[3]);
fileMenu->setItemEnabled(fid51, ActWin->MenuStat[3]);
fileMenu->setItemEnabled(fid52, 0);
fileMenu->setItemEnabled(M_NewFile, 1);
fileMenu->setItemEnabled(fid13, 1);
fileMenu->setItemEnabled(fid14, 1);
editMenu->setItemEnabled(M_EditTemplates, 1);
scrActions["fileNew"]->setEnabled(true);
scrActions["fileOpen"]->setEnabled(true);
scrActions["fileClose"]->setEnabled(true);
scrActions["fileSave"]->setEnabled(doc->isModified());
//CB TODO Huh? Why different to the above?, fileMenu->setItemEnabled(M_FileSave, ActWin->MenuStat[2]);
scrActions["fileSaveAs"]->setEnabled(ActWin->MenuStat[3]);
scrActions["fileCollect"]->setEnabled(ActWin->MenuStat[3]);
scrActions["fileRevert"]->setEnabled(false);
scrMenuMgr->setMenuEnabled("FileOpenRecent", true);
if (doc->Pages.count() > 1)
{
pageMenu->setItemEnabled(pgmd, 1);
2895,8 → 2956,8
}
if (doc->isModified())
slotDocCh(false);
fileMenu->setItemEnabled(M_SaveAs, 1);
fileMenu->setItemEnabled(fid51, 1);
scrActions["fileSaveAs"]->setEnabled(true);
scrActions["fileCollect"]->setEnabled(true);
Sepal->EnablePal();
}
}
2904,34 → 2965,37
void ScribusApp::HaveNewDoc()
{
int a;
DatPri->setEnabled(true);
DatPDF->setEnabled(true);
DatSav->setEnabled(false);
QValueList<int>::iterator itm;
for (itm = MenuItemsFile.begin(); itm != MenuItemsFile.end(); ++itm )
{
fileMenu->setItemEnabled((*itm), 1);
}
fileMenu->setItemEnabled(M_SaveAs, 1);
fileMenu->setItemEnabled(fid11, 1);
fileMenu->setItemEnabled(fid4, 0);
fileMenu->setItemEnabled(fid52, 0);
exportMenu->setItemEnabled(fid8, 1);
importMenu->setItemEnabled(fid2a, 1);
exportMenu->setItemEnabled(fid10, 1);
editMenu->setItemEnabled(edid1, 0);
editMenu->setItemEnabled(edid2, 0);
scrActions["filePrint"]->setEnabled(true);
scrActions["fileSave"]->setEnabled(false);
scrActions["fileClose"]->setEnabled(true);
scrActions["fileDocSetup"]->setEnabled(true);
scrActions["fileDocInfo"]->setEnabled(true);
scrActions["fileRevert"]->setEnabled(false);
scrActions["fileCollect"]->setEnabled(true);
scrActions["fileSaveAs"]->setEnabled(true);
scrMenuMgr->setMenuEnabled("FileExport", true);
scrActions["fileExportAsEPS"]->setEnabled(true);
scrActions["fileExportAsPDF"]->setEnabled(true);
scrActions["fileImportPage"]->setEnabled(true);
 
if (scrDLLActions["PrintPreview"])
scrDLLActions["PrintPreview"]->setEnabled(true);
if (scrDLLActions["SaveAsTemplate"])
scrDLLActions["SaveAsTemplate"]->setEnabled(true);
editMenu->setItemEnabled(M_EditCut, 0);
editMenu->setItemEnabled(M_EditCopy, 0);
if (Buffer2 != "")
editMenu->setItemEnabled(edid3, 1);
editMenu->setItemEnabled(M_EditPaste, 1);
else
editMenu->setItemEnabled(edid3, 0);
editMenu->setItemEnabled(edid5, 1);
editMenu->setItemEnabled(edid6, 1);
editMenu->setItemEnabled(edid6a, 1);
editMenu->setItemEnabled(M_EditPaste, 0);
editMenu->setItemEnabled(M_EditSelectAll, 1);
editMenu->setItemEnabled(M_EditParaStyles, 1);
editMenu->setItemEnabled(M_EditLineStyles, 1);
menuBar()->setItemEnabled(ViMen, 1);
menuBar()->setItemEnabled(WinMen, 1);
viewMenu->setItemChecked(uGuide, doc->SnapGuides);
viewMenu->setItemChecked(uRas, doc->useRaster);
viewMenu->setItemChecked(M_ViewSnapToGuides, doc->SnapGuides);
viewMenu->setItemChecked(M_ViewSnapToGrid, doc->useRaster);
menuBar()->setItemEnabled(pgmm, 1);
menuBar()->setItemEnabled(exmn, 1);
WerkTools->setEnabled(true);
2941,8 → 3005,8
setter = 1;
pageMenu->setItemEnabled(pgmd, setter);
pageMenu->setItemEnabled(pgmv, setter);
editMenu->setItemEnabled(tman, 1);
editMenu->setItemEnabled(jman, 1);
editMenu->setItemEnabled(M_EditTemplates, 1);
editMenu->setItemEnabled(M_EditJavascripts, 1);
ColorList::Iterator it;
QPixmap pm = QPixmap(15, 15);
a = 0;
3053,8 → 3117,8
PageItem *b = NULL;
if (Nr != -1)
b = view->SelItem.at(0);
ObjMenu->setItemEnabled(PfadDT, 0);
extraMenu->setItemEnabled(cSelect, 0);
itemMenu->setItemEnabled(PfadDT, 0);
extraMenu->setItemEnabled(M_ExtraCharSelect, 0);
view->HR->ItemPosValid = false;
view->HR->repX = false;
view->HR->repaint();
3061,19 → 3125,19
switch (Nr)
{
case -1:
importMenu->changeItem(fid2, tr("Get Text/Picture..."));
importMenu->setItemEnabled(fid2, 0);
importMenu->setItemEnabled(fid2aa, 0);
exportMenu->setItemEnabled(fid3, 0);
scrActions["fileImportText"]->setEnabled(false);
scrActions["fileImportImage"]->setEnabled(false);
scrActions["fileImportAppendText"]->setEnabled(false);
scrActions["fileExportText"]->setEnabled(false);
menuBar()->setItemEnabled(Stm, 0);
menuBar()->setItemEnabled(Obm, 0);
ObjMenu->setItemEnabled(ShapeM, 0);
ObjMenu->setItemEnabled(PfadTP, 0);
ObjMenu->setItemEnabled(LockOb, 0);
editMenu->setItemEnabled(edid1, 0);
editMenu->setItemEnabled(edid2, 0);
editMenu->setItemEnabled(edid4, 0);
editMenu->setItemEnabled(Sear, 0);
itemMenu->setItemEnabled(ShapeM, 0);
itemMenu->setItemEnabled(PfadTP, 0);
itemMenu->setItemEnabled(M_ItemLock, 0);
editMenu->setItemEnabled(M_EditCut, 0);
editMenu->setItemEnabled(M_EditCopy, 0);
editMenu->setItemEnabled(M_EditDelete, 0);
editMenu->setItemEnabled(M_EditSearchReplace, 0);
extraMenu->setItemEnabled(hyph, 0);
StilMenu->clear();
WerkTools->KetteAus->setEnabled(false);
3085,21 → 3149,21
// Tpal->slotShowSelect(doc->currentPage->PageNr, -1);
break;
case 2:
importMenu->changeItem(fid2, tr("Get Picture..."));
importMenu->setItemEnabled(fid2aa, 0);
importMenu->setItemEnabled(fid2, 1);
editMenu->setItemEnabled(edid1, 1);
editMenu->setItemEnabled(edid2, 1);
editMenu->setItemEnabled(edid4, 0);
editMenu->setItemEnabled(Sear, 0);
scrActions["fileImportAppendText"]->setEnabled(false);
scrActions["fileImportText"]->setEnabled(false);
scrActions["fileImportImage"]->setEnabled(true);
editMenu->setItemEnabled(M_EditCut, 1);
editMenu->setItemEnabled(M_EditCopy, 1);
editMenu->setItemEnabled(M_EditDelete, 0);
editMenu->setItemEnabled(M_EditSearchReplace, 0);
extraMenu->setItemEnabled(hyph, 0);
menuBar()->setItemEnabled(Stm, 1);
menuBar()->setItemEnabled(Obm, 1);
if ((b->isTableItem) && (b->isSingleSel))
ObjMenu->setItemEnabled(ShapeM, 0);
itemMenu->setItemEnabled(ShapeM, 0);
else
ObjMenu->setItemEnabled(ShapeM, 1);
ObjMenu->setItemEnabled(PfadTP, 0);
itemMenu->setItemEnabled(ShapeM, 1);
itemMenu->setItemEnabled(PfadTP, 0);
StilMenu->clear();
StilMenu->insertItem( tr("&Color"), ColorMenu);
if (b->isRaster)
3111,30 → 3175,30
WerkTools->Rotiere->setEnabled(true);
break;
case 4:
importMenu->changeItem(fid2, tr("&Get Text..."));
importMenu->setItemEnabled(fid2, 1);
importMenu->setItemEnabled(fid2aa, 1);
exportMenu->setItemEnabled(fid3, 1);
editMenu->setItemEnabled(edid1, 1);
editMenu->setItemEnabled(edid2, 1);
editMenu->setItemEnabled(edid4, 0);
scrActions["fileImportText"]->setEnabled(true);
scrActions["fileImportImage"]->setEnabled(false);
scrActions["fileImportAppendText"]->setEnabled(true);
scrActions["fileExportText"]->setEnabled(true);
editMenu->setItemEnabled(M_EditCut, 1);
editMenu->setItemEnabled(M_EditCopy, 1);
editMenu->setItemEnabled(M_EditDelete, 0);
if (b->itemText.count() == 0)
editMenu->setItemEnabled(Sear, 0);
editMenu->setItemEnabled(M_EditSearchReplace, 0);
else
editMenu->setItemEnabled(Sear, 1);
editMenu->setItemEnabled(M_EditSearchReplace, 1);
extraMenu->setItemEnabled(hyph, 1);
menuBar()->setItemEnabled(Stm, 1);
menuBar()->setItemEnabled(Obm, 1);
if ((b->isTableItem) && (b->isSingleSel))
ObjMenu->setItemEnabled(ShapeM, 0);
itemMenu->setItemEnabled(ShapeM, 0);
else
ObjMenu->setItemEnabled(ShapeM, 1);
ObjMenu->setItemEnabled(PfadTP, 1);
itemMenu->setItemEnabled(ShapeM, 1);
itemMenu->setItemEnabled(PfadTP, 1);
StilMenu->clear();
StilMenu->insertItem( tr("&Font"), FontMenu);
StilMenu->insertItem( tr("&Size"), SizeTMenu);
StilMenu->insertItem( tr("&Effects"), TypeStyleMenu);
StilMenu->insertItem( tr("&Alignment"), AliMenu);
StilMenu->insertItem( tr("&Alignment"), alignMenu);
StilMenu->insertItem( tr("&Color"), ColorMenu);
StilMenu->insertItem( tr("&Shade"), ShadeMenu);
StilMenu->insertItem( tr("&Tabulators..."), this, SLOT(EditTabs()));
3157,8 → 3221,8
if (doc->appMode == EditMode)
{
setTBvals(b);
editMenu->setItemEnabled(edid5, 1);
extraMenu->setItemEnabled(cSelect, 1);
editMenu->setItemEnabled(M_EditSelectAll, 1);
extraMenu->setItemEnabled(M_ExtraCharSelect, 1);
view->HR->ItemPos = b->Xpos;
view->HR->ItemEndPos = b->Xpos+b->Width;
if (b->Pcolor2 != "None")
3202,20 → 3266,20
doc->docParagraphStyles[0].textAlignment = b->textAlignment;
break;
case 8:
importMenu->changeItem(fid2, tr("Get Text..."));
importMenu->setItemEnabled(fid2, 1);
importMenu->setItemEnabled(fid2aa, 1);
exportMenu->setItemEnabled(fid3, 1);
editMenu->setItemEnabled(edid1, 1);
editMenu->setItemEnabled(edid2, 1);
editMenu->setItemEnabled(edid4, 0);
editMenu->setItemEnabled(Sear, 0);
scrActions["fileImportText"]->setEnabled(true);
scrActions["fileImportImage"]->setEnabled(false);
scrActions["fileImportAppendText"]->setEnabled(true);
scrActions["fileExportText"]->setEnabled(true);
editMenu->setItemEnabled(M_EditCut, 1);
editMenu->setItemEnabled(M_EditCopy, 1);
editMenu->setItemEnabled(M_EditDelete, 0);
editMenu->setItemEnabled(M_EditSearchReplace, 0);
extraMenu->setItemEnabled(hyph, 0);
menuBar()->setItemEnabled(Stm, 1);
menuBar()->setItemEnabled(Obm, 1);
ObjMenu->setItemEnabled(ShapeM, 0);
ObjMenu->setItemEnabled(PfadDT, 1);
ObjMenu->setItemEnabled(PfadTP, 0);
itemMenu->setItemEnabled(ShapeM, 0);
itemMenu->setItemEnabled(PfadDT, 1);
itemMenu->setItemEnabled(PfadTP, 0);
StilMenu->clear();
StilMenu->insertItem( tr("Font"), FontMenu);
StilMenu->insertItem( tr("Size"), SizeTMenu);
3246,14 → 3310,14
}
break;
default:
importMenu->changeItem(fid2, tr("Get Text/Picture..."));
importMenu->setItemEnabled(fid2, 0);
importMenu->setItemEnabled(fid2aa, 0);
exportMenu->setItemEnabled(fid3, 0);
editMenu->setItemEnabled(edid1, 1);
editMenu->setItemEnabled(edid2, 1);
editMenu->setItemEnabled(edid4, 0);
editMenu->setItemEnabled(Sear, 0);
scrActions["fileImportText"]->setEnabled(false);
scrActions["fileImportImage"]->setEnabled(false);
scrActions["fileImportAppendText"]->setEnabled(false);
scrActions["fileExportText"]->setEnabled(false);
editMenu->setItemEnabled(M_EditCut, 1);
editMenu->setItemEnabled(M_EditCopy, 1);
editMenu->setItemEnabled(M_EditDelete, 0);
editMenu->setItemEnabled(M_EditSearchReplace, 0);
extraMenu->setItemEnabled(hyph, 0);
menuBar()->setItemEnabled(Stm, 1);
menuBar()->setItemEnabled(Obm, 1);
3261,7 → 3325,7
StilMenu->insertItem( tr("&Color"), ColorMenu);
StilMenu->insertItem( tr("&Shade"), ShadeMenu);
if (Nr == 6)
ObjMenu->setItemEnabled(ShapeM, 1);
itemMenu->setItemEnabled(ShapeM, 1);
WerkTools->KetteAus->setEnabled(false);
WerkTools->KetteEin->setEnabled(false);
if (Nr != 5)
3274,9 → 3338,9
Mpal->RotationGroup->setButton(doc->RotMode);
if (view->SelItem.count() > 1)
{
ObjMenu->setItemEnabled(DistM, 1);
ObjMenu->setItemEnabled(PfadTP, 0);
editMenu->setItemEnabled(Sear, 0);
itemMenu->setItemEnabled(M_ItemAlignDist, 1);
itemMenu->setItemEnabled(PfadTP, 0);
editMenu->setItemEnabled(M_EditSearchReplace, 0);
bool hPoly = true;
bool isGroup = true;
int firstElem = -1;
3294,8 → 3358,8
else
isGroup = false;
}
ObjMenu->setItemEnabled(Gr, !isGroup);
ObjMenu->setItemEnabled(PfadV, hPoly);
itemMenu->setItemEnabled(M_ItemGroup, !isGroup);
itemMenu->setItemEnabled(PfadV, hPoly);
if (view->SelItem.count() == 2)
{
if (((b->PType == 4) || (view->SelItem.at(1)->PType == 4)) && ((b->PType == 7) || (view->SelItem.at(1)->PType == 7)))
3302,73 → 3366,73
{
PageItem* bx = view->SelItem.at(1);
if ((b->NextBox == 0) && (b->BackBox == 0) && (bx->NextBox == 0) && (bx->BackBox == 0) && (b->Groups.count() == 0))
ObjMenu->setItemEnabled(PfadT, 1);
itemMenu->setItemEnabled(PfadT, 1);
}
}
}
else
{
ObjMenu->setItemEnabled(DistM, 0);
ObjMenu->setItemEnabled(Gr, 0);
ObjMenu->setItemEnabled(PfadT, 0);
ObjMenu->setItemEnabled(PfadV, 0);
itemMenu->setItemEnabled(M_ItemAlignDist, 0);
itemMenu->setItemEnabled(M_ItemGroup, 0);
itemMenu->setItemEnabled(PfadT, 0);
itemMenu->setItemEnabled(PfadV, 0);
}
if (view->SelItem.count() != 0)
{
Mpal->Textflow->setChecked(b->Textflow);
ObjMenu->setItemEnabled(LockOb, 1);
itemMenu->setItemEnabled(M_ItemLock, 1);
if (b->Groups.count() != 0)
ObjMenu->setItemEnabled(UnGr, 1);
itemMenu->setItemEnabled(M_ItemUngroup, 1);
else
{
ObjMenu->setItemEnabled(UnGr, 0);
itemMenu->setItemEnabled(M_ItemUngroup, 0);
if ((b->PType == 6) && (b->Segments.count() != 0))
ObjMenu->setItemEnabled(PfadS, 1);
itemMenu->setItemEnabled(PfadS, 1);
else
ObjMenu->setItemEnabled(PfadS, 0);
itemMenu->setItemEnabled(PfadS, 0);
}
if (b->Locked)
{
ObjMenu->setItemEnabled(DistM, 0);
ObjMenu->setItemEnabled(ShapeM, 0);
ObjMenu->setItemEnabled(PfadTP, 0);
ObjMenu->setItemEnabled(PfadS, 0);
ObjMenu->setItemEnabled(PfadT, 0);
ObjMenu->setItemEnabled(PfadDT, 0);
ObjMenu->setItemEnabled(PfadV, 0);
ObjMenu->setItemEnabled(Loesch, 0);
ObjMenu->setItemEnabled(OBack, 0);
ObjMenu->setItemEnabled(OFront, 0);
ObjMenu->setItemEnabled(ORaise, 0);
ObjMenu->setItemEnabled(OLower, 0);
editMenu->setItemEnabled(edid1, 0);
editMenu->setItemEnabled(edid4, 0);
itemMenu->setItemEnabled(M_ItemAlignDist, 0);
itemMenu->setItemEnabled(ShapeM, 0);
itemMenu->setItemEnabled(PfadTP, 0);
itemMenu->setItemEnabled(PfadS, 0);
itemMenu->setItemEnabled(PfadT, 0);
itemMenu->setItemEnabled(PfadDT, 0);
itemMenu->setItemEnabled(PfadV, 0);
itemMenu->setItemEnabled(M_ItemDelete, 0);
itemMenu->setItemEnabled(M_ItemSendToBack, 0);
itemMenu->setItemEnabled(M_ItemBringToFront, 0);
itemMenu->setItemEnabled(M_ItemRaise, 0);
itemMenu->setItemEnabled(M_ItemLower, 0);
editMenu->setItemEnabled(M_EditCut, 0);
editMenu->setItemEnabled(M_EditDelete, 0);
WerkTools->Rotiere->setEnabled(false);
ObjMenu->changeItem(LockOb, tr("Un&lock"));
itemMenu->changeItem(M_ItemLock, tr("Un&lock"));
}
else
{
ObjMenu->changeItem(LockOb, tr("&Lock"));
itemMenu->changeItem(M_ItemLock, tr("&Lock"));
if ((b->isTableItem) && (b->isSingleSel))
{
ObjMenu->setItemEnabled(PfadTP, 0);
ObjMenu->setItemEnabled(ODup, 0);
ObjMenu->setItemEnabled(OMDup, 0);
ObjMenu->setItemEnabled(Loesch, 0);
ObjMenu->setItemEnabled(OBack, 0);
ObjMenu->setItemEnabled(OFront, 0);
ObjMenu->setItemEnabled(ORaise, 0);
ObjMenu->setItemEnabled(OLower, 0);
itemMenu->setItemEnabled(PfadTP, 0);
itemMenu->setItemEnabled(M_ItemDuplicate, 0);
itemMenu->setItemEnabled(M_ItemMultiDuplicate, 0);
itemMenu->setItemEnabled(M_ItemDelete, 0);
itemMenu->setItemEnabled(M_ItemSendToBack, 0);
itemMenu->setItemEnabled(M_ItemBringToFront, 0);
itemMenu->setItemEnabled(M_ItemRaise, 0);
itemMenu->setItemEnabled(M_ItemLower, 0);
}
else
{
ObjMenu->setItemEnabled(ODup, 1);
ObjMenu->setItemEnabled(OMDup, 1);
ObjMenu->setItemEnabled(Loesch, 1);
ObjMenu->setItemEnabled(OBack, 1);
ObjMenu->setItemEnabled(OFront, 1);
ObjMenu->setItemEnabled(ORaise, 1);
ObjMenu->setItemEnabled(OLower, 1);
itemMenu->setItemEnabled(M_ItemDuplicate, 1);
itemMenu->setItemEnabled(M_ItemMultiDuplicate, 1);
itemMenu->setItemEnabled(M_ItemDelete, 1);
itemMenu->setItemEnabled(M_ItemSendToBack, 1);
itemMenu->setItemEnabled(M_ItemBringToFront, 1);
itemMenu->setItemEnabled(M_ItemRaise, 1);
itemMenu->setItemEnabled(M_ItemLower, 1);
}
}
}
3396,33 → 3460,33
if (!doc->isModified())
doc->setModified();
ActWin->setCaption( doc->DocName + "*");
fileMenu->setItemEnabled(fid4, 1);
DatSav->setEnabled(true);
fileMenu->setItemEnabled(M_SaveAs, 1);
fileMenu->setItemEnabled(fid51, 1);
scrActions["fileSave"]->setEnabled(true);
scrActions["fileSaveAs"]->setEnabled(true);
scrActions["fileCollect"]->setEnabled(true);
if (!doc->TemplateMode)
{
DatClo->setEnabled(true);
scrActions["fileClose"]->setEnabled(true);
if (doc->hasName)
fileMenu->setItemEnabled(fid52, 1);
scrActions["fileRevert"]->setEnabled(true);
}
ActWin->MenuStat[0] = DatSav->isEnabled();
ActWin->MenuStat[1] = fileMenu->isItemEnabled(fid1);
ActWin->MenuStat[2] = fileMenu->isItemEnabled(fid4);
ActWin->MenuStat[3] = fileMenu->isItemEnabled(M_SaveAs);
/*
ActWin->MenuStat[0] = scrActions["fileSave"]->isEnabled();
ActWin->MenuStat[1] = scrActions["fileClose"]->isEnabled();
ActWin->MenuStat[2] = fileMenu->isItemEnabled(M_FileSave);
ActWin->MenuStat[3] = fileMenu->isItemEnabled(M_FileSaveAs);
*/
if (view->SelItem.count() != 0)
{
PageItem* b = view->SelItem.at(0);
if (b->Locked)
ObjMenu->changeItem(LockOb, tr("Un&lock"));
itemMenu->changeItem(M_ItemLock, tr("Un&lock"));
else
ObjMenu->changeItem(LockOb, tr("&Lock"));
itemMenu->changeItem(M_ItemLock, tr("&Lock"));
}
}
 
void ScribusApp::UpdateRecent(QString fn)
void ScribusApp::updateRecent(QString fn)
{
recentMenu->clear();
if (RecentDocs.findIndex(fn) == -1)
{
RecentDocs.prepend(fn);
3433,16 → 3497,11
RecentDocs.remove(fn);
RecentDocs.prepend(fn);
}
uint max = QMIN(Prefs.RecentDCount, RecentDocs.count());
for (uint m = 0; m < max; ++m)
{
recentMenu->insertItem(RecentDocs[m]);
}
rebuildRecentFileMenu();
}
void ScribusApp::RemoveRecent(QString fn)
void ScribusApp::removeRecent(QString fn)
{
recentMenu->clear();
if (RecentDocs.findIndex(fn) != -1)
{
RecentDocs.remove(fn);
3449,34 → 3508,38
if (!fileWatcher->isActive())
fileWatcher->removeFile(fn);
}
uint max = QMIN(Prefs.RecentDCount, RecentDocs.count());
for (uint m = 0; m < max; ++m)
{
recentMenu->insertItem(RecentDocs[m]);
}
rebuildRecentFileMenu();
}
 
void ScribusApp::LoadRecent(int id)
void ScribusApp::loadRecent(QString fn)
{
QString fn = recentMenu->text(id);
QFileInfo fd(fn);
if (!fd.exists())
{
RecentDocs.remove(fn);
fileWatcher->removeFile(fn);
recentMenu->clear();
uint max = QMIN(Prefs.RecentDCount, RecentDocs.count());
for (uint m = 0; m < max; ++m)
{
recentMenu->insertItem(RecentDocs[m]);
}
rebuildRecentFileMenu();
return;
}
qApp->setOverrideCursor(QCursor(waitCursor), true);
LadeDoc(recentMenu->text(id));
LadeDoc(fn);
qApp->setOverrideCursor(QCursor(arrowCursor), true);
}
 
void ScribusApp::rebuildRecentFileMenu()
{
scrRecentFileActions.clear();
uint max = QMIN(Prefs.RecentDCount, RecentDocs.count());
for (uint m = 0; m < max; ++m)
{
QString strippedName=RecentDocs[m];
strippedName.remove(QDir::separator());
scrRecentFileActions.insert(strippedName, new ScrAction( ScrAction::RecentFile, RecentDocs[m], QKeySequence(), this, strippedName));
connect( scrRecentFileActions[strippedName], SIGNAL(activatedRecentFile(QString)), this, SLOT(loadRecent(QString)) );
scrMenuMgr->addMenuItem(scrRecentFileActions[strippedName], recentFileMenuName);
}
}
 
bool ScribusApp::slotDocOpen()
{
bool ret = false;
3493,12 → 3556,12
formats += tr("Documents (*.sla *.scd);;");
#endif
if (DLLexists(6))
formats += tr("Postscript-Files (*.eps *.EPS *.ps *.PS);;");
formats += tr("Postscript Files (*.eps *.EPS *.ps *.PS);;");
if (DLLexists(10))
#ifdef HAVE_LIBZ
formats += tr("SVG-Images (*.svg *.svgz);;");
formats += tr("SVG Images (*.svg *.svgz);;");
#else
formats += tr("SVG-Images (*.svg);;");
formats += tr("SVG Images (*.svg);;");
#endif
if (DLLexists(12))
formats += tr("OpenOffice.org Draw (*.sxd);;All Files (*)");
3962,7 → 4025,7
// ActWin->Last = BookPal->BView->Last;
doc->RePos = false;
doc->setUnModified();
UpdateRecent(FName);
updateRecent(FName);
FMess->setText( tr("Ready"));
ret = true;
for (uint p = 0; p < doc->Pages.count(); ++p)
3988,8 → 4051,7
connect(UndoManager::instance(), SIGNAL(undoRedoDone()), view, SLOT(DrawNew()));
if (doc->AutoSave)
doc->ASaveTimer->start(doc->AutoSaveTime);
DatSav->setEnabled(false);
fileMenu->setItemEnabled(fid4, 0);
scrActions["fileSave"]->setEnabled(false);
}
else
{
4115,8 → 4177,7
{
if (ActWin == sender())
{
fileMenu->setItemEnabled(fid4, 0);
DatSav->setEnabled(false);
scrActions["fileSave"]->setEnabled(false);
ActWin->setCaption(doc->DocName);
}
}
4205,10 → 4266,9
ActWin->setCaption(fn);
doc->setName(fn);
UndoManager::instance()->rename(fn);
fileMenu->setItemEnabled(fid4, 0);
fileMenu->setItemEnabled(fid52, 0);
DatSav->setEnabled(false);
UpdateRecent(fn);
scrActions["fileSave"]->setEnabled(false);
scrActions["fileRevert"]->setEnabled(false);
updateRecent(fn);
doc->hasName = true;
}
FMess->setText("");
4266,38 → 4326,44
BookPal->BView->Last = 0;
if ((wsp->windowList().isEmpty()) || (wsp->windowList().count() == 1))
{
QValueList<int>::iterator itm;
for (itm = MenuItemsFile.begin(); itm != MenuItemsFile.end(); ++itm)
{
fileMenu->setItemEnabled((*itm), 0);
}
importMenu->setItemEnabled(fid2, 0);
importMenu->setItemEnabled(fid2aa, 0);
exportMenu->setItemEnabled(fid3, 0);
fileMenu->setItemEnabled(fid4, 0);
fileMenu->setItemEnabled(M_SaveAs, 0);
fileMenu->setItemEnabled(fid52, 0);
fileMenu->setItemEnabled(fid11, 0);
exportMenu->setItemEnabled(fid8, 0);
importMenu->setItemEnabled(fid2a, 0);
exportMenu->setItemEnabled(fid10, 0);
scrActions["fileDocSetup"]->setEnabled(false);
scrActions["fileDocInfo"]->setEnabled(false);
scrActions["filePrint"]->setEnabled(false);
scrActions["fileSave"]->setEnabled(false);
scrActions["fileSaveAs"]->setEnabled(false);
scrActions["fileRevert"]->setEnabled(false);
scrActions["fileCollect"]->setEnabled(false);
scrActions["fileClose"]->setEnabled(false);
if (scrDLLActions["PrintPreview"])
scrDLLActions["PrintPreview"]->setEnabled(false);
if (scrDLLActions["SaveAsTemplate"])
scrDLLActions["SaveAsTemplate"]->setEnabled(false);
scrMenuMgr->setMenuEnabled("FileExport", false);
scrActions["fileExportAsPDF"]->setEnabled(false);
scrActions["fileExportText"]->setEnabled(false);
scrActions["fileExportAsEPS"]->setEnabled(false);
scrActions["fileImportText"]->setEnabled(false);
scrActions["fileImportImage"]->setEnabled(false);
scrActions["fileImportAppendText"]->setEnabled(false);
scrActions["fileImportPage"]->setEnabled(false);
 
editMenu->setItemEnabled(edUndo, 0);
editMenu->setItemEnabled(edRedo, 0);
editMenu->setItemEnabled(edid1, 0);
editMenu->setItemEnabled(edid2, 0);
editMenu->setItemEnabled(edid3, 0);
editMenu->setItemEnabled(edid4, 0);
editMenu->setItemEnabled(edid5, 0);
editMenu->setItemEnabled(edid6, 0);
editMenu->setItemEnabled(edid6a, 0);
editMenu->setItemEnabled(Sear, 0);
editMenu->setItemEnabled(M_EditCut, 0);
editMenu->setItemEnabled(M_EditCopy, 0);
editMenu->setItemEnabled(M_EditPaste, 0);
editMenu->setItemEnabled(M_EditDelete, 0);
editMenu->setItemEnabled(M_EditSelectAll, 0);
editMenu->setItemEnabled(M_EditParaStyles, 0);
editMenu->setItemEnabled(M_EditLineStyles, 0);
editMenu->setItemEnabled(M_EditSearchReplace, 0);
extraMenu->setItemEnabled(hyph, 0);
menuBar()->setItemEnabled(ViMen, 0);
menuBar()->setItemEnabled(WinMen, 0);
viewMenu->setItemChecked(uGuide, false);
viewMenu->setItemChecked(uRas, false);
editMenu->setItemEnabled(tman, 0);
editMenu->setItemEnabled(jman, 0);
viewMenu->setItemChecked(M_ViewSnapToGuides, false);
viewMenu->setItemChecked(M_ViewSnapToGrid, false);
editMenu->setItemEnabled(M_EditTemplates, 0);
editMenu->setItemEnabled(M_EditJavascripts, 0);
menuBar()->setItemEnabled(pgmm, 0);
menuBar()->setItemEnabled(exmn, 0);
menuBar()->setItemEnabled(Stm, 0);
4308,10 → 4374,7
Mpal->Cpal->SetColors(Prefs.DColors);
Mpal->Cpal->ChooseGrad(0);
FMess->setText( tr("Ready"));
DatPri->setEnabled(false);
DatPDF->setEnabled(false);
DatSav->setEnabled(false);
DatClo->setEnabled(false);
 
PrinterUsed = false;
#ifdef HAVE_CMS
CMSuse = false;
4576,7 → 4639,7
slotDocCh();
BuFromApp = true;
ClipB->setText(BufferI);
editMenu->setItemEnabled(edid3, 1);
editMenu->setItemEnabled(M_EditPaste, 1);
}
}
 
4648,7 → 4711,7
}
BuFromApp = true;
ClipB->setText(BufferI);
editMenu->setItemEnabled(edid3, 1);
editMenu->setItemEnabled(M_EditPaste, 1);
}
}
 
4823,7 → 4886,7
#else
cc = ClipB->text();
#endif
editMenu->setItemEnabled(edid3, 0);
editMenu->setItemEnabled(M_EditPaste, 0);
if (!cc.isNull())
{
if (!BuFromApp)
4834,12 → 4897,12
if (cc.startsWith("<SCRIBUSELEM"))
{
if (doc->appMode != EditMode)
editMenu->setItemEnabled(edid3, 1);
editMenu->setItemEnabled(M_EditPaste, 1);
}
else
{
if (doc->appMode == EditMode)
editMenu->setItemEnabled(edid3, 1);
editMenu->setItemEnabled(M_EditPaste, 1);
}
}
}
4871,16 → 4934,16
 
void ScribusApp::EnableTxEdit()
{
editMenu->setItemEnabled(edid1, 1);
editMenu->setItemEnabled(edid2, 1);
editMenu->setItemEnabled(edid4, 1);
editMenu->setItemEnabled(M_EditCut, 1);
editMenu->setItemEnabled(M_EditCopy, 1);
editMenu->setItemEnabled(M_EditDelete, 1);
}
 
void ScribusApp::DisableTxEdit()
{
editMenu->setItemEnabled(edid1, 0);
editMenu->setItemEnabled(edid2, 0);
editMenu->setItemEnabled(edid4, 0);
editMenu->setItemEnabled(M_EditCut, 0);
editMenu->setItemEnabled(M_EditCopy, 0);
editMenu->setItemEnabled(M_EditDelete, 0);
}
 
void ScribusApp::slotHelpAbout()
5386,7 → 5449,7
void ScribusApp::TogglePics()
{
doc->guidesSettings.showPic = !doc->guidesSettings.showPic;
viewMenu->setItemChecked(Bilder, doc->guidesSettings.showPic);
viewMenu->setItemChecked(M_ViewShowImages, doc->guidesSettings.showPic);
for (uint b=0; b<doc->Items.count(); ++b)
{
if (doc->Items.at(b)->PType == 2)
5428,12 → 5491,12
doc->guidesSettings.guidesShown = false;
doc->guidesSettings.baseShown = false;
doc->guidesSettings.linkShown = false;
viewMenu->setItemChecked(Markers, doc->guidesSettings.marginsShown);
viewMenu->setItemChecked(FrameDr, doc->guidesSettings.framesShown);
viewMenu->setItemChecked(Ras, doc->guidesSettings.gridShown);
viewMenu->setItemChecked(Guide, doc->guidesSettings.guidesShown);
viewMenu->setItemChecked(Base, doc->guidesSettings.baseShown);
viewMenu->setItemChecked(textLinks, doc->guidesSettings.linkShown);
viewMenu->setItemChecked(M_ViewShowMarkers, doc->guidesSettings.marginsShown);
viewMenu->setItemChecked(M_ViewDrawFrames, doc->guidesSettings.framesShown);
viewMenu->setItemChecked(M_ViewShowGrid, doc->guidesSettings.gridShown);
viewMenu->setItemChecked(M_ViewShowGuides, doc->guidesSettings.guidesShown);
viewMenu->setItemChecked(M_ViewShowBaseline, doc->guidesSettings.baseShown);
viewMenu->setItemChecked(M_ViewShowTextChain, doc->guidesSettings.linkShown);
}
view->DrawNew();
}
5442,7 → 5505,7
{
GuidesStat[0] = false;
doc->guidesSettings.marginsShown = !doc->guidesSettings.marginsShown;
viewMenu->setItemChecked(Markers, doc->guidesSettings.marginsShown);
viewMenu->setItemChecked(M_ViewShowMarkers, doc->guidesSettings.marginsShown);
view->DrawNew();
}
 
5450,7 → 5513,7
{
GuidesStat[0] = false;
doc->guidesSettings.framesShown = !doc->guidesSettings.framesShown;
viewMenu->setItemChecked(FrameDr, doc->guidesSettings.framesShown);
viewMenu->setItemChecked(M_ViewDrawFrames, doc->guidesSettings.framesShown);
view->DrawNew();
}
 
5458,7 → 5521,7
{
GuidesStat[0] = false;
doc->guidesSettings.gridShown = !doc->guidesSettings.gridShown;
viewMenu->setItemChecked(Ras, doc->guidesSettings.gridShown);
viewMenu->setItemChecked(M_ViewShowGrid, doc->guidesSettings.gridShown);
view->DrawNew();
}
 
5466,7 → 5529,7
{
GuidesStat[0] = false;
doc->guidesSettings.guidesShown = !doc->guidesSettings.guidesShown;
viewMenu->setItemChecked(Guide, doc->guidesSettings.guidesShown);
viewMenu->setItemChecked(M_ViewShowGuides, doc->guidesSettings.guidesShown);
view->DrawNew();
}
 
5474,7 → 5537,7
{
GuidesStat[0] = false;
doc->guidesSettings.baseShown = !doc->guidesSettings.baseShown;
viewMenu->setItemChecked(Base, doc->guidesSettings.baseShown);
viewMenu->setItemChecked(M_ViewShowBaseline, doc->guidesSettings.baseShown);
view->DrawNew();
}
 
5482,7 → 5545,7
{
GuidesStat[0] = false;
doc->guidesSettings.linkShown = !doc->guidesSettings.linkShown;
viewMenu->setItemChecked(textLinks, doc->guidesSettings.linkShown);
viewMenu->setItemChecked(M_ViewShowTextChain, doc->guidesSettings.linkShown);
view->DrawNew();
}
 
5489,13 → 5552,13
void ScribusApp::ToggleURaster()
{
doc->useRaster = !doc->useRaster;
viewMenu->setItemChecked(uRas, doc->useRaster);
viewMenu->setItemChecked(M_ViewSnapToGrid, doc->useRaster);
}
 
void ScribusApp::ToggleUGuides()
{
doc->SnapGuides = !doc->SnapGuides;
viewMenu->setItemChecked(uGuide, doc->SnapGuides);
viewMenu->setItemChecked(M_ViewSnapToGuides, doc->SnapGuides);
}
 
void ScribusApp::ToggleFrameEdit()
5531,7 → 5594,7
WerkTools->Measure->setEnabled(false);
WerkToolsP->PDFTool->setEnabled(false);
WerkToolsP->PDFaTool->setEnabled(false);
ObjMenu->setItemEnabled(Loesch, false);
itemMenu->setItemEnabled(M_ItemDelete, false);
if (view->SelItem.count() != 0)
{
PageItem* b = view->SelItem.at(0);
5566,7 → 5629,7
WerkTools->Textedit->setOn(false);
WerkTools->Textedit2->setOn(false);
WerkTools->Measure->setEnabled(true);
ObjMenu->setItemEnabled(Loesch, true);
itemMenu->setItemEnabled(M_ItemDelete, true);
ShapeMenu->setItemChecked(ShapeEdit, false);
if (HaveDoc)
{
5640,8 → 5703,8
view->PGS->PageCombo->setFocusPolicy(QWidget::ClickFocus);
delete doc->CurTimer;
doc->CurTimer = 0;
editMenu->setItemEnabled(edid4, 0);
extraMenu->setItemEnabled(cSelect, 0);
editMenu->setItemEnabled(M_EditDelete, 0);
extraMenu->setItemEnabled(M_ExtraCharSelect, 0);
view->slotDoCurs(false);
if (b != 0)
{
5667,14 → 5730,14
}
setTBvals(b);
}
editMenu->setItemEnabled(edid3, 0);
extraMenu->setItemEnabled(cSelect, 1);
editMenu->setItemEnabled(M_EditPaste, 0);
extraMenu->setItemEnabled(M_ExtraCharSelect, 1);
if (!Buffer2.isNull())
{
if (!Buffer2.startsWith("<SCRIBUSELEM"))
{
BuFromApp = false;
editMenu->setItemEnabled(edid3, 1);
editMenu->setItemEnabled(M_EditPaste, 1);
}
}
WerkTools->Select->setOn(false);
5690,17 → 5753,17
{
if (b->HasSel)
{
editMenu->setItemEnabled(edid1, 1);
editMenu->setItemEnabled(edid2, 1);
editMenu->setItemEnabled(edid4, 1);
editMenu->setItemEnabled(M_EditCut, 1);
editMenu->setItemEnabled(M_EditCopy, 1);
editMenu->setItemEnabled(M_EditDelete, 1);
}
else
{
editMenu->setItemEnabled(edid1, 0);
editMenu->setItemEnabled(edid2, 0);
editMenu->setItemEnabled(edid4, 0);
editMenu->setItemEnabled(M_EditCut, 0);
editMenu->setItemEnabled(M_EditCopy, 0);
editMenu->setItemEnabled(M_EditDelete, 0);
}
editMenu->setItemEnabled(Sear, 1);
editMenu->setItemEnabled(M_EditSearchReplace, 1);
view->RefreshItem(b);
}
}
6556,7 → 6619,7
 
void ScribusApp::setItemTextAli(int id)
{
int a = AliMenu->indexOf(id);
int a = alignMenu->indexOf(id);
setNewAbStyle(a);
}
 
6580,7 → 6643,7
Mpal->setAli(a);
for (int b = 0; b < 5; ++b)
{
AliMenu->setItemChecked(AliMenu->idAt(b), false);
alignMenu->setItemChecked(alignMenu->idAt(b), false);
}
}
 
7375,7 → 7438,7
PDef.Pname = Prefs.PrinterName;
PDef.Dname = Prefs.PrinterFile;
PDef.Command = Prefs.PrinterCommand;
recentMenu->clear();
uint max = QMIN(Prefs.RecentDCount, Prefs.RecentDocs.count());
for (uint m = 0; m < max; ++m)
{
7384,9 → 7447,9
{
RecentDocs.append(QString::fromUtf8(Prefs.RecentDocs[m]));
fileWatcher->addFile(QString::fromUtf8(Prefs.RecentDocs[m]));
recentMenu->insertItem(QString::fromUtf8(Prefs.RecentDocs[m]));
}
}
rebuildRecentFileMenu();
MaPal->move(Prefs.measurePalSettings.xPosition, Prefs.measurePalSettings.yPosition);
Mpal->move(Prefs.mPaletteSettings.xPosition, Prefs.mPaletteSettings.yPosition);
Tpal->move(Prefs.treePalSettings.xPosition, Prefs.treePalSettings.yPosition);
7874,21 → 7937,18
{
pageMenu->setItemEnabled(pageMenu->idAt(a), 0);
}
editMenu->setItemEnabled(tman, 0);
ActWin->MenuStat[0] = DatSav->isEnabled();
ActWin->MenuStat[1] = fileMenu->isItemEnabled(fid52);
ActWin->MenuStat[2] = fileMenu->isItemEnabled(fid4);
ActWin->MenuStat[3] = fileMenu->isItemEnabled(M_SaveAs);
DatNeu->setEnabled(false);
DatOpe->setEnabled(false);
DatClo->setEnabled(false);
fileMenu->setItemEnabled(M_NewFile, 0);
fileMenu->setItemEnabled(fid13, 0);
fileMenu->setItemEnabled(fid14, 0);
fileMenu->setItemEnabled(fid1, 0);
fileMenu->setItemEnabled(fid52, 0);
fileMenu->setItemEnabled(fid7, 0);
fileMenu->setItemEnabled(M_Print, 0);
editMenu->setItemEnabled(M_EditTemplates, 0);
ActWin->MenuStat[0] = scrActions["fileSave"]->isEnabled();
ActWin->MenuStat[1] = scrActions["fileRevert"]->isEnabled();
ActWin->MenuStat[2] = scrActions["fileSave"]->isEnabled();
ActWin->MenuStat[3] = scrActions["fileSaveAs"]->isEnabled();
scrActions["fileNew"]->setEnabled(false);
scrActions["fileOpen"]->setEnabled(false);
scrActions["fileClose"]->setEnabled(false);
scrMenuMgr->setMenuEnabled("FileOpenRecent", false);
scrActions["fileRevert"]->setEnabled(false);
scrActions["fileDocSetup"]->setEnabled(false);
scrActions["filePrint"]->setEnabled(false);
doc->TemplateMode = true;
Sepal->DisablePal();
dia->show();
7899,22 → 7959,19
void ScribusApp::ManTempEnd()
{
view->HideTemplate();
editMenu->setItemEnabled(tman, 1);
editMenu->setItemEnabled(M_EditTemplates, 1);
pageMenu->setItemEnabled(pageMenu->idAt(0), 1);
pageMenu->setItemEnabled(pageMenu->idAt(2), 1);
pageMenu->setItemEnabled(pageMenu->idAt(4), 1);
DatNeu->setEnabled(true);
DatSav->setEnabled(doc->isModified());
DatOpe->setEnabled(true);
DatClo->setEnabled(true);
fileMenu->setItemEnabled(M_NewFile, 1);
fileMenu->setItemEnabled(fid13, 1);
fileMenu->setItemEnabled(fid14, 1);
fileMenu->setItemEnabled(fid1, 1);
fileMenu->setItemEnabled(fid52, 1);
fileMenu->setItemEnabled(fid4, doc->isModified());
fileMenu->setItemEnabled(fid7, 1);
fileMenu->setItemEnabled(M_Print, 1);
scrActions["fileNew"]->setEnabled(true);
scrActions["fileOpen"]->setEnabled(true);
scrActions["fileClose"]->setEnabled(false);
scrActions["fileSave"]->setEnabled(doc->isModified());
scrMenuMgr->setMenuEnabled("FileOpenRecent", true);
scrActions["fileRevert"]->setEnabled(true);
scrActions["fileDocSetup"]->setEnabled(true);
scrActions["filePrint"]->setEnabled(true);
 
int setter = doc->Pages.count() > 1 ? 1 : 0;
pageMenu->setItemEnabled(pgmd, setter);
pageMenu->setItemEnabled(pgmv, setter);
8045,12 → 8102,12
if (t == 1)
{
bb->Locked = true;
ObjMenu->changeItem(LockOb, tr("Un&lock"));
itemMenu->changeItem(M_ItemLock, tr("Un&lock"));
}
else
{
bb->Locked = false;
ObjMenu->changeItem(LockOb, tr("&Lock"));
itemMenu->changeItem(M_ItemLock, tr("&Lock"));
}
}
}
8065,9 → 8122,9
view->getGroupRect(&x, &y, &w, &h);
view->updateContents(QRect(static_cast<int>(x-5), static_cast<int>(y-5), static_cast<int>(w+10), static_cast<int>(h+10)));
slotDocCh();
ObjMenu->setItemEnabled(PfadT, false);
ObjMenu->setItemEnabled(Gr, false);
ObjMenu->setItemEnabled(UnGr, true);
itemMenu->setItemEnabled(PfadT, false);
itemMenu->setItemEnabled(M_ItemGroup, false);
itemMenu->setItemEnabled(M_ItemUngroup, true);
}
 
void ScribusApp::UnGroupObj()
8137,24 → 8194,10
 
void ScribusApp::RunImportPlug(int id)
{
if (importMenu->indexOf(id) > 2)
{
if (HaveDoc)
doc->OpenNodes = Tpal->buildReopenVals();
CallDLLbyMenu(id);
if (HaveDoc)
{
Tpal->BuildTree(view);
Tpal->reopenTree(doc->OpenNodes);
Mpal->updateCList();
}
}
}
 
void ScribusApp::RunExportPlug(int id)
{
if (exportMenu->indexOf(id) > 2)
CallDLLbyMenu(id);
}
 
void ScribusApp::RunHelpPlug(int id)
8172,7 → 8215,7
sdem2 demo2;
for (it = PluginMap.begin(); it != PluginMap.end(); ++it)
{
if (it.data().Typ > 3)
if (it.data().Typ == 4 || it.data().Typ == 5)
{
dlerror();
demo2 = (sdem2)dlsym(it.data().Zeiger, "CleanUpPlug");
8212,14 → 8255,10
pda.Name = "";
pda.Typ = 0;
pda.MenuID = 0;
if (DLLName(d[dc], &nam, &ty, &pda.Zeiger, &id))
if (DLLName(d[dc], &nam, &ty, &pda.Zeiger, &id, &pda.actName, &pda.actKeySequence, &pda.actMenu, &pda.actMenuAfterName, &pda.actEnabledOnStartup))
{
if (ty == 1)
menid = extraMenu->insertItem(nam);
if (ty == 2)
menid = importMenu->insertItem(nam);
if (ty == 3)
menid = exportMenu->insertItem(nam);
if (ty == 4)
menid = helpMenu->insertItem(nam);
pda.Name = nam;
8227,18 → 8266,59
pda.Typ = ty;
if (ty < 5)
pda.MenuID = menid;
if (ty==6 || ty==7)
{
//Add in ScrAction based plugin linkage
//Insert DLL Action into Dictionary with values from plugin interface
scrDLLActions.insert(pda.actName, new ScrAction(id, pda.Name, QKeySequence(pda.actKeySequence), this, pda.actName));
if (scrDLLActions[pda.actName])
{
scrDLLActions[pda.actName]->setEnabled(pda.actEnabledOnStartup);
//Connect DLL Action's activated signal with ID to Scribus DLL loader
connect( scrDLLActions[pda.actName], SIGNAL(activatedDLL(int)) , this, SLOT(callDLLBySlot(int)) );
//Get the menu manager to add the DLL's menu item to the right menu, after the chosen existing item
if (QString(pda.actMenuAfterName).length()==0)
scrMenuMgr->addMenuItem(scrDLLActions[pda.actName], pda.actMenu);
else
scrMenuMgr->addMenuItemAfter(scrDLLActions[pda.actName], pda.actMenu, pda.actMenuAfterName);
}
}
PluginMap.insert(id, pda);
if (splashScreen != NULL)
splashScreen->setStatus( tr("Loading:")+" "+nam);
}
}
 
connect(extraMenu, SIGNAL(activated(int)), this, SLOT(RunPlug(int)));
connect(importMenu, SIGNAL(activated(int)), this, SLOT(RunImportPlug(int)));
connect(exportMenu, SIGNAL(activated(int)), this, SLOT(RunExportPlug(int)));
//CB TODO connect(importMenu, SIGNAL(activated(int)), this, SLOT(RunImportPlug(int)));
//CB TODO connect(exportMenu, SIGNAL(activated(int)), this, SLOT(RunExportPlug(int)));
connect(helpMenu, SIGNAL(activated(int)), this, SLOT(RunHelpPlug(int)));
}
}
 
void ScribusApp::callDLLBySlot(int pluginID)
{
//Run old type 2 Import pre call code
if (PluginMap[pluginID].Typ==7)
{
if (HaveDoc)
doc->OpenNodes = Tpal->buildReopenVals();
}
CallDLL(pluginID);
//Run old type 2 Import post call code
if (PluginMap[pluginID].Typ==7)
{
if (HaveDoc)
{
Tpal->BuildTree(view);
Tpal->reopenTree(doc->OpenNodes);
Mpal->updateCList();
}
}
}
 
void ScribusApp::CallDLLbyMenu(int id)
{
QMap<int, PlugData>::Iterator it;
8262,7 → 8342,7
typedef void (*sdem)(QWidget *d, ScribusApp *plug);
sdem demo;
QString pfad = PLUGINDIR;
if (pda.Typ < 4)
if (pda.Typ != 4 && pda.Typ !=5)
{
pfad += pda.Datei;
mo = dlopen(pfad, RTLD_LAZY | RTLD_GLOBAL);
8283,7 → 8363,7
return;
}
(*demo)(this, this);
if (pda.Typ < 4)
if (pda.Typ != 4 && pda.Typ != 5)
dlclose(mo);
if (HaveDoc)
view->DrawNew();
8294,7 → 8374,7
return PluginMap.contains(ident);
}
 
bool ScribusApp::DLLName(QString name, QString *PName, int *typ, void **Zeig, int *idNr)
bool ScribusApp::DLLName(QString name, QString *PName, int *typ, void **Zeig, int *idNr, QString *actName, QString *actKeySequence, QString *actMenu, QString *actMenuAfterName, bool *actEnabledOnStartup)
{
void *mo;
const char *error;
8301,9 → 8381,11
typedef QString (*sdem0)();
typedef int (*sdem1)();
typedef void (*sdem2)(QWidget *d, ScribusApp *plug);
typedef bool (*sdem3)();
sdem0 demo;
sdem1 demo1;
sdem2 demo2;
sdem3 demo3;
QString pfad = PLUGINDIR;
pfad += name;
mo = dlopen(pfad, RTLD_LAZY | RTLD_GLOBAL);
8336,7 → 8418,58
return false;
}
*idNr = (*demo1)();
if (*typ < 4)
//ScrAction based plugins
if (*typ==6 || *typ==7)
{
demo = (sdem0)dlsym(mo, "actionName");
if ((error = dlerror()) != NULL)
{
dlclose(mo);
return false;
}
*actName = (*demo)();
dlerror();
demo = (sdem0)dlsym(mo, "actionKeySequence");
if ((error = dlerror()) != NULL)
{
dlclose(mo);
return false;
}
*actKeySequence = (*demo)();
dlerror();
demo = (sdem0)dlsym(mo, "actionMenu");
if ((error = dlerror()) != NULL)
{
dlclose(mo);
return false;
}
*actMenu = (*demo)();
dlerror();
demo = (sdem0)dlsym(mo, "actionMenuAfterName");
if ((error = dlerror()) != NULL)
{
dlclose(mo);
return false;
}
*actMenuAfterName = (*demo)();
dlerror();
demo3 = (sdem3)dlsym(mo, "actionEnabledOnStartup");
if ((error = dlerror()) != NULL)
{
dlclose(mo);
return false;
}
*actEnabledOnStartup = (*demo3)();
}
else
{
*actName=QString::null;
*actKeySequence=QString::null;
*actMenu=QString::null;
*actMenuAfterName=QString::null;
*actEnabledOnStartup=false;
}
if (*typ != 4 && *typ!=5)
dlclose(mo);
else
{
8349,6 → 8482,7
}
(*demo2)(this, this);
}
 
return true;
}
 
8548,10 → 8682,12
void ScribusApp::SetShortCut()
{
uint a;
/*
for (a = 0; a < 9; ++a)
{
fileMenu->setAccel(Prefs.KeyActions[a].KeyID, Prefs.KeyActions[a].MenuID);
}
*/
for (a = 9; a < 17; ++a)
{
editMenu->setAccel(Prefs.KeyActions[a].KeyID, Prefs.KeyActions[a].MenuID);
8559,7 → 8695,7
editMenu->setAccel(Prefs.KeyActions[19].KeyID, Prefs.KeyActions[19].MenuID);
for (a = 20; a < 30; ++a)
{
ObjMenu->setAccel(Prefs.KeyActions[a].KeyID, Prefs.KeyActions[a].MenuID);
itemMenu->setAccel(Prefs.KeyActions[a].KeyID, Prefs.KeyActions[a].MenuID);
}
for (a = 30; a < 34; ++a)
{
8581,15 → 8717,15
{
helpMenu->setAccel(Prefs.KeyActions[a].KeyID, Prefs.KeyActions[a].MenuID);
}
ObjMenu->setAccel(Prefs.KeyActions[61].KeyID, Prefs.KeyActions[61].MenuID);
itemMenu->setAccel(Prefs.KeyActions[61].KeyID, Prefs.KeyActions[61].MenuID);
toolMenu->setAccel(Prefs.KeyActions[62].KeyID, Prefs.KeyActions[62].MenuID);
editMenu->setAccel(Prefs.KeyActions[63].KeyID, Prefs.KeyActions[63].MenuID);
editMenu->setAccel(Prefs.KeyActions[64].KeyID, Prefs.KeyActions[64].MenuID);
editMenu->setAccel(Prefs.KeyActions[65].KeyID, Prefs.KeyActions[65].MenuID);
toolMenu->setAccel(Prefs.KeyActions[66].KeyID, Prefs.KeyActions[66].MenuID);
ObjMenu->setAccel(Prefs.KeyActions[67].KeyID, Prefs.KeyActions[67].MenuID);
ObjMenu->setAccel(Prefs.KeyActions[68].KeyID, Prefs.KeyActions[68].MenuID);
fileMenu->setAccel(Prefs.KeyActions[18].KeyID, Prefs.KeyActions[18].MenuID);
itemMenu->setAccel(Prefs.KeyActions[67].KeyID, Prefs.KeyActions[67].MenuID);
itemMenu->setAccel(Prefs.KeyActions[68].KeyID, Prefs.KeyActions[68].MenuID);
//CB TODO fileMenu->setAccel(Prefs.KeyActions[18].KeyID, Prefs.KeyActions[18].MenuID);
}
 
void ScribusApp::PutScrap(QString t)
8974,9 → 9110,9
PageItem* b = view->SelItem.at(0);
view->ToggleLock();
if (b->Locked)
ObjMenu->changeItem(LockOb, tr("Un&lock"));
itemMenu->changeItem(M_ItemLock, tr("Un&lock"));
else
ObjMenu->changeItem(LockOb, tr("&Lock"));
itemMenu->changeItem(M_ItemLock, tr("&Lock"));
}
}
}
/branches/Version13x/Scribus/scribus/plugins/pixmapexport/export.cpp
6,7 → 6,10
#include <qdir.h>
#include <qcursor.h>
 
#include "scraction.h"
#include "menumanager.h"
 
 
QString Name()
{
return QObject::tr("Save as &Image...");
15,7 → 18,7
 
int Type()
{
return 3;
return 6;
}
 
int ID()
23,7 → 26,31
return 4;
}
 
QString actionName()
{
return "ExportAsImage";
}
 
QString actionKeySequence()
{
return "";
}
 
QString actionMenu()
{
return "FileExport";
}
 
QString actionMenuAfterName()
{
return "";
}
 
bool actionEnabledOnStartup()
{
return true;
}
 
void Run(QWidget *d, ScribusApp *plug)
{
bool res;
/branches/Version13x/Scribus/scribus/plugins/pixmapexport/export.h
1,10 → 1,12
#ifndef _SCRIBUS_PIXMAPEXPORT_H_
#define _SCRIBUS_PIXMAPEXPORT_H_
 
#include <scribus.h>
#include <qstring.h>
#include <qfiledialog.h>
#include "scribus.h"
 
class ScrAction;
 
/*! Calls the Plugin with the main Application window as parent
and the main Application Class as parameter */
extern "C" void Run(QWidget *d, ScribusApp *plug);
23,6 → 25,12
extern "C" int Type();
extern "C" int ID();
 
extern "C" QString actionName();
extern "C" QString actionKeySequence();
extern "C" QString actionMenu();
extern "C" QString actionMenuAfterName();
extern "C" bool actionEnabledOnStartup();
 
/*! Handles export. */
class ExportBitmap: public QObject
{
62,5 → 70,7
bool exportPage(uint pageNr, bool single);
};
 
ScrAction *fileNewFromTemplateAction;
 
#endif
 
/branches/Version13x/Scribus/scribus/plugins/svgimplugin/svgplugin.cpp
54,7 → 54,7
*/
int Type()
{
return 2;
return 7;
}
 
int ID()
62,6 → 62,31
return 10;
}
 
QString actionName()
{
return "ImportSVG";
}
 
QString actionKeySequence()
{
return "";
}
 
QString actionMenu()
{
return "FileImport";
}
 
QString actionMenuAfterName()
{
return "";
}
 
bool actionEnabledOnStartup()
{
return true;
}
 
/*!
\fn void Run(QWidget *d, ScribusApp *plug)
\author Franz Schmid
/branches/Version13x/Scribus/scribus/plugins/svgimplugin/svgplugin.h
19,6 → 19,12
extern "C" int Type();
extern "C" int ID();
 
extern "C" QString actionName();
extern "C" QString actionKeySequence();
extern "C" QString actionMenu();
extern "C" QString actionMenuAfterName();
extern "C" bool actionEnabledOnStartup();
 
class GradientHelper
{
public:
/branches/Version13x/Scribus/scribus/plugins/fileloader/oodraw/oodrawimp.cpp
64,7 → 64,7
*/
int Type()
{
return 2;
return 7;
}
 
int ID()
72,6 → 72,31
return 12;
}
 
QString actionName()
{
return "ImportOpenOfficeDraw";
}
 
QString actionKeySequence()
{
return "";
}
 
QString actionMenu()
{
return "FileImport";
}
 
QString actionMenuAfterName()
{
return "";
}
 
bool actionEnabledOnStartup()
{
return true;
}
 
void Run(QWidget *d, ScribusApp *plug)
{
QString fileName;
/branches/Version13x/Scribus/scribus/plugins/fileloader/oodraw/oodrawimp.h
26,6 → 26,12
extern "C" int Type();
extern "C" int ID();
 
extern "C" QString actionName();
extern "C" QString actionKeySequence();
extern "C" QString actionMenu();
extern "C" QString actionMenuAfterName();
extern "C" bool actionEnabledOnStartup();
 
class OODPlug : public QObject
{
Q_OBJECT
/branches/Version13x/Scribus/scribus/plugins/newfromtemplateplugin/nftemplate.cpp
1,13 → 1,17
/***************************************************************************
* Riku Leino, tsoots@gmail.com *
***************************************************************************/
#include "nftemplate.h"
#include "nftemplate.moc"
#include "nftdialog.h"
#include <qstring.h>
#include <qcursor.h>
#include <qdir.h>
#include <qwidget.h>
 
#include "nftemplate.h"
#include "nftemplate.moc"
#include "nftdialog.h"
#include "scraction.h"
#include "menumanager.h"
 
ScribusApp* Carrier;
QWidget* par;
 
18,7 → 22,7
 
int Type()
{
return 5;
return 6;
}
 
int ID()
26,20 → 30,54
return 3;
}
 
QString actionName()
{
return "NewFromTemplate";
}
 
QString actionKeySequence()
{
return "Ctrl+Shift+N";
}
 
QString actionMenu()
{
return "File";
}
 
QString actionMenuAfterName()
{
return "New";
}
 
bool actionEnabledOnStartup()
{
return true;
}
/*
void InitPlug(QWidget *d, ScribusApp *plug)
{
Carrier = plug;
par = d;
Nft = new MenuNFT(d);
int id = plug->fileMenu->insertItem(QObject::tr("New &from Template..."), -1, plug->fileMenu->indexOf(plug->M_NewFile)+1);
int id = plug->fileMenu->insertItem(QObject::tr("New &from Template..."), -1, plug->fileMenu->indexOf(plug->scrActions["fileNew"]->getMenuIndex())+1);
plug->fileMenu->connectItem(id, Nft, SLOT(RunNFTPlug()));
plug->fileMenu->setItemEnabled(id, 1);
}
 
*/
void CleanUpPlug()
{
}
 
void Run(QWidget *d, ScribusApp *plug)
{
Carrier = plug;
par = d;
Nft = new MenuNFT(d);
Nft->RunNFTPlug();
}
 
 
void MenuNFT::RunNFTPlug()
{
nftdialog* nftdia = new nftdialog(par, Carrier->getGuiLanguage(), Carrier->Prefs.TemplateDir);
51,7 → 89,7
Carrier->doc->DocName = nftdia->currentTemplate->name;
Carrier->ActWin->setCaption(QObject::tr("Template: ") + nftdia->currentTemplate->name);
QDir::setCurrent(Carrier->Prefs.DocDir);
Carrier->RemoveRecent(QDir::cleanDirPath(nftdia->currentTemplate->file));
Carrier->removeRecent(QDir::cleanDirPath(nftdia->currentTemplate->file));
qApp->restoreOverrideCursor();
}
delete nftdia;
/branches/Version13x/Scribus/scribus/plugins/newfromtemplateplugin/nftemplate.h
1,8 → 1,9
#ifndef MYPLUGIN_H
#define MYPLUGIN_H
 
#include <scribus.h>
#include "scribus.h"
#include "nftdialog.h"
class ScrAction;
 
/** Returns the Name of the Plugin.
* This name appears in the relevant Menue-Entrys */
16,13 → 17,21
* 4 = the Plugin is a resident Plugin */
extern "C" int Type();
 
/** Initializes the Plugin if it's a Plugin of Type 4 or 5 */
extern "C" void InitPlug(QWidget *d, ScribusApp *plug);
///** Initializes the Plugin if it's a Plugin of Type 4 or 5 */
//extern "C" void InitPlug(QWidget *d, ScribusApp *plug);
/** Type 6 plugin needs this again */
extern "C" void Run(QWidget *d, ScribusApp *plug);
 
/** Possible CleanUpOperations when closing the Plugin */
extern "C" void CleanUpPlug();
extern "C" int ID();
 
extern "C" QString actionName();
extern "C" QString actionKeySequence();
extern "C" QString actionMenu();
extern "C" QString actionMenuAfterName();
extern "C" bool actionEnabledOnStartup();
 
class MenuNFT : public QObject
{
Q_OBJECT
30,7 → 39,7
public:
MenuNFT(QWidget* parent) {};
~MenuNFT() {};
 
public slots:
void RunNFTPlug();
};
/branches/Version13x/Scribus/scribus/plugins/svgexplugin/svgexplugin.h
21,6 → 21,12
extern "C" int Type();
extern "C" int ID();
 
extern "C" QString actionName();
extern "C" QString actionKeySequence();
extern "C" QString actionMenu();
extern "C" QString actionMenuAfterName();
extern "C" bool actionEnabledOnStartup();
 
class SVGExPlug : public QObject
{
Q_OBJECT
/branches/Version13x/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
64,7 → 64,7
*/
int Type()
{
return 3;
return 6;
}
 
int ID()
72,6 → 72,31
return 9;
}
 
QString actionName()
{
return "ExportAsSVG";
}
 
QString actionKeySequence()
{
return "";
}
 
QString actionMenu()
{
return "FileExport";
}
 
QString actionMenuAfterName()
{
return "";
}
 
bool actionEnabledOnStartup()
{
return true;
}
 
/*!
\fn void Run(QWidget *d, ScribusApp *plug)
\author Franz Schmid
/branches/Version13x/Scribus/scribus/plugins/psimport/importps.h
16,6 → 16,12
extern "C" int Type();
extern "C" int ID();
 
extern "C" QString actionName();
extern "C" QString actionKeySequence();
extern "C" QString actionMenu();
extern "C" QString actionMenuAfterName();
extern "C" bool actionEnabledOnStartup();
 
class EPSPlug : public QObject
{
Q_OBJECT
/branches/Version13x/Scribus/scribus/plugins/psimport/importps.cpp
45,7 → 45,7
*/
int Type()
{
return 2;
return 7;
}
 
int ID()
53,6 → 53,32
return 6;
}
 
 
QString actionName()
{
return "ImportPS";
}
 
QString actionKeySequence()
{
return "";
}
 
QString actionMenu()
{
return "FileImport";
}
 
QString actionMenuAfterName()
{
return "";
}
 
bool actionEnabledOnStartup()
{
return true;
}
 
/*!
\fn void Run(QWidget *d, ScribusApp *plug)
\author Franz Schmid
/branches/Version13x/Scribus/scribus/plugins/saveastemplateplugin/satemplate.cpp
16,7 → 16,7
 
int Type()
{
return 5;
return 6;
}
 
int ID()
24,17 → 24,42
return 7;
}
 
QString actionName()
{
return "SaveAsTemplate";
}
 
QString actionKeySequence()
{
return "Ctrl+Shift+S";
}
 
QString actionMenu()
{
return "File";
}
 
QString actionMenuAfterName()
{
return "SaveAs";
}
 
bool actionEnabledOnStartup()
{
return false;
}
/*
void InitPlug(QWidget *d, ScribusApp *plug)
{
Carrier = plug;
par = d;
satm = new MenuSAT(d);
int id = plug->fileMenu->insertItem(QObject::tr("Save as &Template..."), -1, plug->fileMenu->indexOf(plug->M_SaveAs)+1);
int id = plug->fileMenu->insertItem(QObject::tr("Save as &Template..."), -1, plug->fileMenu->indexOf(plug->M_FileSaveAs)+1);
plug->fileMenu->connectItem(id, satm, SLOT(RunSATPlug()));
plug->fileMenu->setItemEnabled(id, 0);
plug->MenuItemsFile.append(id);
}
 
*/
void CleanUpPlug()
{}
 
96,7 → 121,7
Carrier->doc->setUnModified();
Carrier->ActWin->setCaption(currentFile);
}
Carrier->RemoveRecent(docPath);
Carrier->removeRecent(docPath);
QDir::setCurrent(currentDirPath);
delete satdia;
}
/branches/Version13x/Scribus/scribus/plugins/saveastemplateplugin/satemplate.h
19,13 → 19,19
* 4 = the Plugin is a resident Plugin */
extern "C" int Type();
 
/** Initializes the Plugin if it's a Plugin of Type 4 or 5 */
extern "C" void InitPlug(QWidget *d, ScribusApp *plug);
///** Initializes the Plugin if it's a Plugin of Type 4 or 5 */
//extern "C" void InitPlug(QWidget *d, ScribusApp *plug);
 
/** Possible CleanUpOperations when closing the Plugin */
extern "C" void CleanUpPlug();
extern "C" int ID();
 
extern "C" QString actionName();
extern "C" QString actionKeySequence();
extern "C" QString actionMenu();
extern "C" QString actionMenuAfterName();
extern "C" bool actionEnabledOnStartup();
 
class MenuSAT : public QObject
{
Q_OBJECT
/branches/Version13x/Scribus/scribus/plugins/printpreview/preview.cpp
24,6 → 24,8
#include <qtooltip.h>
#include <qfile.h>
#include "libpostscript/pslib.h"
#include "scraction.h"
#include "menumanager.h"
 
extern QPixmap loadIcon(QString nam);
extern void ReOrderText(ScribusDoc *doc, ScribusView *view);
53,7 → 55,7
*/
int Type()
{
return 5;
return 6;
}
 
int ID()
61,12 → 63,37
return 5;
}
 
QString actionName()
{
return "PrintPreview";
}
 
QString actionKeySequence()
{
return "Ctrl+Alt+P"; // KDE/X swallows Ctrl+Shift+P ???
}
 
QString actionMenu()
{
return "File";
}
 
QString actionMenuAfterName()
{
return "Print";
}
 
bool actionEnabledOnStartup()
{
return false;
}
/*
void InitPlug(QWidget *d, ScribusApp *plug)
{
Carrier = plug;
par = d;
Tes = new MenuPreview(d);
int id = plug->fileMenu->insertItem(QObject::tr("Print Previe&w"), -1, plug->fileMenu->indexOf(plug->M_Print)+1);
int id = plug->fileMenu->insertItem(QObject::tr("Print Previe&w"), -1, plug->fileMenu->indexOf(plug->M_FilePrint)+1);
plug->fileMenu->setAccel(Qt::CTRL+Qt::SHIFT+Qt::Key_P, id);
plug->fileMenu->connectItem(id, Tes, SLOT(RunPreview()));
plug->fileMenu->setItemEnabled(id, 0);
73,7 → 100,7
plug->MenuItemsFile.append(id);
plug->SetKeyEntry(18, QObject::tr("Print Preview"), id, Qt::CTRL+Qt::SHIFT+Qt::Key_P);
}
 
*/
void CleanUpPlug()
{}
 
86,9 → 113,14
\param plug ScribusApp *
\retval None
*/
/*
void Run(QWidget *d, ScribusApp *plug)
{} */
{
Carrier = plug;
par = d;
Tes = new MenuPreview(d);
Tes->RunPreview();
}
 
void MenuPreview::RunPreview()
{
/branches/Version13x/Scribus/scribus/plugins/printpreview/preview.h
12,6 → 12,8
#include "scribus.h"
#include "pageselector.h"
 
 
 
/** Returns the Name of the Plugin.
* This name appears in the relevant Menue-Entrys */
extern "C" QString Name();
21,13 → 23,21
* 3 = the Plugins is a export Plugin, which appears in the Export Menue */
extern "C" int Type();
 
/** Initializes the Plugin if it's a Plugin of Type 4 or 5 */
extern "C" void InitPlug(QWidget *d, ScribusApp *plug);
///** Initializes the Plugin if it's a Plugin of Type 4 or 5 */
//extern "C" void InitPlug(QWidget *d, ScribusApp *plug);
/** Type 6 plugin needs this again */
extern "C" void Run(QWidget *d, ScribusApp *plug);
 
/** Possible CleanUpOperations when closing the Plugin */
extern "C" void CleanUpPlug();
extern "C" int ID();
 
extern "C" QString actionName();
extern "C" QString actionKeySequence();
extern "C" QString actionMenu();
extern "C" QString actionMenuAfterName();
extern "C" bool actionEnabledOnStartup();
 
class MenuPreview : public QObject
{
Q_OBJECT
/branches/Version13x/Scribus/scribus/units.cpp
1,6 → 1,10
/***************************************************************************
* Copyright (C) 2004 by Riku Leino *
* tsoots@gmail.com *
begin : Jan 2005
copyright : (C) 2005 by Craig Bradney
email : cbradney@zip.com.au
***************************************************************************/
 
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
7,15 → 11,6
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
 
#include <qstring.h>
/branches/Version13x/Scribus/scribus/scribus.h
38,6 → 38,7
#include <qmessagebox.h>
#include <qpainter.h>
#include <qmap.h>
#include <qdict.h>
#include <qfont.h>
#include <qtimer.h>
#include <qintdict.h>
60,6 → 61,7
#include "bookpalette.h"
#include "splash.h"
#include "prefscontext.h"
 
class Autoforms;
class FontCombo;
class StilFormate;
72,6 → 74,8
class WerkToolBP;
class UndoPalette;
class FileWatcher;
class ScrAction;
class MenuManager;
 
/**
* This Class is the base class for your application. It sets up the main
106,10 → 110,10
void SavePrefsXML();
void ShowSubs();
void applyNewMaster(QString name);
void UpdateRecent(QString fn);
void updateRecent(QString fn);
QString GetLang(QString inLang);
void FinalizePlugs();
bool DLLName(QString name, QString *PName, int *typ, void **Zeig, int *idNr);
bool DLLName(QString name, QString *PName, int *typ, void **Zeig, int *idNr, QString *actName, QString *actKeySequence, QString *actMenu, QString *actMenuAfterName, bool *actEnabledOnStartup);
void CallDLLbyMenu(int id);
void CallDLL(int ident);
bool DLLexists(int ident);
196,18 → 200,22
bool UniCinp;
int UniCinC;
QString UniCinS;
/** file_menu contains all items of the menubar entry "File" */
QPopupMenu *fileMenu;
int M_NewFile;
int M_Print;
int M_SaveAs;
QValueList<int> MenuItemsFile;
 
//int M_FileNew;
//int M_FilePrint;
//int M_FileSaveAs;
//int M_FileQuit;
QMap<QString, QStringList> InstLang;
QMap<QString,QString> LangTransl;
FileWatcher* fileWatcher;
QProcess *ExternalApp;
QDict<ScrAction> scrActions;
QDict<ScrAction> scrDLLActions;
QDict<ScrAction> scrRecentFileActions;
MenuManager* scrMenuMgr;
 
public slots:
void callDLLBySlot(int pluginID);
void ToggleAllPalettes();
void slotStoryEditor();
void slotCharSelect();
256,8 → 264,9
void slotFileOpen();
void slotFileAppend();
/** open a document */
void RemoveRecent(QString fn);
void LoadRecent(int id);
void removeRecent(QString fn);
void loadRecent(QString fn);
void rebuildRecentFileMenu();
bool slotDocOpen();
bool LadeDoc(QString fileName);
void slotAutoSaved();
343,7 → 352,7
void setBookpal(bool visible);
void ToggleUndoPalette();
void setUndoPalette(bool visible);
/** Schaltet Bilder ein/aus */
/** Schaltet M_ViewShowImages ein/aus */
void TogglePics();
/** Schaltet Raster ein/aus */
void ToggleRaster();
479,17 → 488,19
void initScrapbook();
void initCrashHandler();
void initCMS();
void initActions();
 
QString guiLanguage;
QString recentFileMenuName;
 
QString getPreferencesLocation(); //Find preferences location
void convertToXMLPreferences(QString prefsLocation); //convert 1.2 style rc prefs to .xml style
void convertToXMLPreferences(const QString prefsLocation); //convert 1.2 style rc prefs to .xml style
/** edit_menu contains all items of the menubar entry "Edit" */
QPopupMenu *editMenu;
/** StilMenu enthaelt das Stilemenue */
QPopupMenu *StilMenu;
/** ObjMenu enthaelt das Objektemenue */
QPopupMenu *ObjMenu;
/** itemMenu enthaelt das Objektemenue */
QPopupMenu *itemMenu;
/** pageMenu enthaelt das Seitenmenue */
QPopupMenu *pageMenu;
/** viewMenu contains all items of the menubar entry "View" */
508,8 → 519,8
QPopupMenu *FontMenu;
FontCombo* FontSub;
QPopupMenu *TypeStyleMenu;
QPopupMenu *AliMenu;
QPopupMenu *recentMenu;
QPopupMenu *alignMenu;
//QPopupMenu *recentMenu;
QToolBar *WerkTools2;
QToolBar *editToolBar;
WerkToolBP* WerkToolsP;
522,7 → 533,7
int KeyMod;
int ShapeEdit;
int ShapeM;
int DistM;
int M_ItemAlignDist;
int PfadT;
int PfadDT;
int PfadS;
533,15 → 544,15
int pgmv;
int Stm;
int Obm;
int Markers;
int FrameDr;
int Bilder;
int Ras;
int uRas;
int Guide;
int uGuide;
int Base;
int textLinks;
int M_ViewShowMarkers;
int M_ViewDrawFrames;
int M_ViewShowImages;
int M_ViewShowGrid;
int M_ViewSnapToGrid;
int M_ViewShowGuides;
int M_ViewSnapToGuides;
int M_ViewShowBaseline;
int M_ViewShowTextChain;
int toolbarMenuTools;
int toolbarMenuPDFTools;
int viewToolbars;
553,47 → 564,47
int viewSepal;
int viewBopal;
int viewUndoPalette;
int fid1;
int fid2;
int fid2a;
int fid2aa;
int fid3;
int fid4;
int fid51;
int fid52;
int fid6;
int fid7;
int fid8;
int fid10;
int fid11;
int fid13;
int fid14;
//int M_FileClose;
//int M_FileImportGetText;
//int M_FileImportPages;
//int M_FileImportAppendText;
//int M_FileExportSaveText;
//int M_FileSave;
//int M_FileCollect;
//int M_FileRevert;
//int M_FileDocInfo;
//int M_FileDocSetup;
//int M_FileExportSavePageAsEPS;
//int M_FileExportSaveAsPDF;
//int M_FileExport;
//int M_FileOpen;
//int M_OpenRecentFile;
int edUndo;
int edRedo;
int edid1;
int edid2;
int edid3;
int edid4;
int edid5;
int edid6;
int edid6a;
int Sear;
int Loesch;
int tman;
int jman;
int M_EditCut;
int M_EditCopy;
int M_EditPaste;
int M_EditDelete;
int M_EditSelectAll;
int M_EditParaStyles;
int M_EditLineStyles;
int M_EditSearchReplace;
int M_ItemDelete;
int M_EditTemplates;
int M_EditJavascripts;
int tip;
int Gr;
int UnGr;
int LockOb;
int M_ItemGroup;
int M_ItemUngroup;
int M_ItemLock;
int exmn;
int hyph;
int cSelect;
int ORaise;
int OLower;
int OBack;
int OFront;
int ODup;
int OMDup;
int M_ExtraCharSelect;
int M_ItemRaise;
int M_ItemLower;
int M_ItemSendToBack;
int M_ItemBringToFront;
int M_ItemDuplicate;
int M_ItemMultiDuplicate;
bool PalettesStat[9];
bool GuidesStat[7];
bool tipsOn;
603,8 → 614,8
QPopupMenu *helpMenu;
QPopupMenu *toolMenu;
QPopupMenu *extraMenu;
QPopupMenu *importMenu;
QPopupMenu *exportMenu;
//QPopupMenu *importMenu;
//QPopupMenu *exportMenu;
QPopupMenu *toolbarMenu;
void addNewPages(int wo, int where, int numPages, QString based1 = tr("Normal"), QString based2 = tr("Normal"));
QMap<int,QString> FontID;
618,6 → 629,12
void *Zeiger;
int Typ;
int MenuID;
//CB
QString actName;
QString actKeySequence;
QString actMenu;
QString actMenuAfterName;
bool actEnabledOnStartup;
} ;
QMap<int, PlugData> PluginMap;
bool PrinterUsed;
/branches/Version13x/Scribus/scribus/units.h
1,6 → 1,10
/***************************************************************************
* Copyright (C) 2004 by Riku Leino *
* tsoots@gmail.com *
begin : Jan 2005
copyright : (C) 2005 by Craig Bradney
email : cbradney@zip.com.au
***************************************************************************/
 
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
7,15 → 11,6
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
 
#ifndef UNITS_H
/branches/Version13x/Scribus/scribus/story.h
313,7 → 313,7
int Mdel;
int Mpaste;
int Mupdt;
int fid52;
int M_FileRevert;
bool firstSet;
 
public slots: