Commit 5c80b0d1 authored by Enrico Ros's avatar Enrico Ros

misc

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361223
parent 4baa91df
......@@ -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)
......
......@@ -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") );
}
......@@ -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 );
......
......@@ -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 );
......
......@@ -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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment