svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361223
This commit is contained in:
Enrico Ros 2004-11-07 17:16:04 +00:00
parent 4baa91df5a
commit 5c80b0d140
5 changed files with 7 additions and 8 deletions

View file

@ -7,8 +7,8 @@ Legend:
(*) - Some parts of this item are already done
In progress on the branch (first item comes first):
-> ADD: click over image allows "save image" (and display rect around image too) [50% done]
-> ADD: viewport changes the right way when clicking links [30% done]
-> ADD: click over image allows "save image" [60% done]
-> ADD: viewport changes the right way when clicking links [40% done]
Things to do in order to merge in HEAD (first item has highest priority):
-> memory manager with different profiles (mem/cpu tradeoff: {memory saving, normal, memory aggressive})
@ -40,7 +40,7 @@ More items (first items will enter 'In progress list' first):
-> wrong zoom buttons order (BR74248) (check consistancy with kdvi/kghostview/.. (not konq))
Done (newest feature comes firts):
-> ADD: reading aids (inverted display, recolor, black/white, ...)
-> ADD: reading aids (inverted display, recolor, black/white, draw link border, draw image border)
-> FIX: zoom preserved when switching modes and flickerless
-> ADD: Printing as PS instead of as image (Albert)
-> ADD: Remember page on session logout and put the document in it on session restore (Albert)

View file

@ -24,7 +24,7 @@ PreferencesDialog::PreferencesDialog( QWidget * parent, KConfigSkeleton * skelet
m_performance = new DlgPerformance(0);
m_accessibility = new DlgAccessibility(0);
addPage( m_general, i18n("General"), "gohome", i18n("General Options") );
addPage( m_general, i18n("General"), "kpdf", i18n("General Options") );
addPage( m_performance, i18n("Performance"), "launch", i18n("Performance Tuning") );
addPage( m_accessibility, i18n("Accessibility"), "viewmag", i18n("Reading Aids") );
addPage( m_accessibility, i18n("Accessibility"), "access", i18n("Reading Aids") );
}

View file

@ -79,7 +79,7 @@ public:
bool okToPrint() const;
bool print(KPrinter &printer);
//public slots:
//public slots: TODO remove me
// document commands via slots
void slotSetCurrentPage( int page, const QRect & viewport = QRect() );
void slotSetFilter( const QString & pattern, bool caseSensitive );

View file

@ -317,7 +317,7 @@ void PagePainter::paintPageOnPainter( const KPDFPage * page, int id, int flags,
h = (int)( page->m_sBottom * height / page->m_height ) - y;
if ( w > 0 && h > 0 )
{
// setRasterOp is no more on Qt4 find an alternative way of doing this
// TODO setRasterOp is no more on Qt4 find an alternative way of doing this
p->setBrush( Qt::SolidPattern );
p->setPen( QPen( Qt::black, 1 ) ); // should not be necessary bug a Qt bug makes it necessary
p->setRasterOp( Qt::NotROP );

View file

@ -62,7 +62,6 @@ ThumbnailList::ThumbnailList( QWidget *parent, KPDFDocument *document )
// widget setup: can be focused by tab and mouse click (not wheel)
viewport()->setFocusProxy( this );
viewport()->setFocusPolicy( StrongFocus );
viewport()->setPaletteBackgroundColor( Qt::gray );
setResizePolicy( Manual );
setAcceptDrops( true );
setDragAutoScroll( false );