Subversion Repositories Scribus

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5184 5765d 20h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp NLS Api changes: encapsulate ParagraphStyle fields, relate ParagraphStyle to CharStyle, use #ifdef NLS_PROTO  
4847 5798d 18h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Rename the docs local GUI selection as the name was too generic. Use a temporary selection for undoing of the image scale and offsets as a test for future movement of undo to temporary selections.  
4707 5811d 16h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Move DeleteItem into the doc  
4672 5814d 20h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp -Move the remaining doc parts of the view::reformPages into the doc.
-Move the remaining doc parts of the view::adjustcanvas into the doc.
 
4584 5824d 20h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Move the text setting attributes (1200+lines) from the view to the doc, implement a signal or two and while we are at it, rename and protect a few variables in the process. This already simplifies calls from the scripter removing the view from some function calls, and in many others the view is called only for updates. They have not been adjusted much for their new location which is the next step.  
4546 5828d 21h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp replace "None" with CommonStrings::None  
4520 5830d 23h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #3141: wrong sizes fore create-function  
4430 5842d 18h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4042 5887d 21h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #1606: setStyle changes complete frame style despite selection.
It needs a very heavy testing because it affects all style changes - you can change style in selection from scripter and gui too (in edit mode). I've test it but I'm sure I missed some combinations...
 
4026 5891d 05h craig /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Some bulk S&R changes:
- Renames after IRC discussion:
ScribusApp -> ScribusMainWindow
ScribusApp* ScApp -> ScribusMainWindow* ScMW
- Replace QStoInt and QStodouble with the built-in QString::toInt() and
QString::toDouble() now that those return 0 on failure as required.
 
3934 5903d 17h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Remove ScribusView::SelItem and replace with ScribusDoc->selection. Protect PageItem:: Xpos, Ypos, Width, Height, Rot, Selected and provide functions to access. Implement many of the old view's signals in the page item. Fix offset on canvas bug when canvas has been resized by a drag op. Adjust all code as appropriate. Fix up raise and lower operations. Reduction of calls to PageItem new member functions to come, old code left in commented out for now. Part of the new selection class is to connect the first selected item's signals to properties palette. This is not yet finished but will reduce emissions of those old view signals to one per selection.  
3903 5907d 16h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Add beginnings of Selection class, currently unused. Protect PageItem::Xpos and Ypos and update affected classes. Implemented xPos(), yPos(), setXPos(), setYPos() and move(,)  
3769 5924d 21h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp more issues in setStyle()  
3748 5927d 05h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp #2770: setStyle (Scripter) applies only to first selected frame  
3727 5928d 17h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Convert ScribusDoc::Items to a pointer to DocItems or MasterPageItems. Adjust code as necessary. Fix bug in ScribusDoc::copyPageToMasterPage. Fix sig11 in align distribute palette with currDoc!=NULL after the last doc has closed.  
3720 5929d 20h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Add in a comment so we can find this if its goes awry.  
3718 5929d 20h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Don't call for a redraw when setting the style. Seems to run ok. Might need setting back for existing objects. Don't use SelectItemNr when we can SelectItem.  
3690 5933d 21h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Create Lines for Lines and not PolyLines in Scripter. Set itemFinalised to true for new items, and do not use the View's Mpressed as this is for interactive only.  
3447 5956d 20h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Remove commented out code from my recent changes  
3293 5972d 20h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp Remove some redundant SetOvalFrame and SetRectFrame calls that are handled by itemAdd()  

Show All