"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xpdf-qt/XpdfViewer.h" between
xpdf-4.02.tar.gz and xpdf-4.03.tar.gz

About: Xpdf is a PDF viewer for X.

XpdfViewer.h  (xpdf-4.02):XpdfViewer.h  (xpdf-4.03)
skipping to change at line 124 skipping to change at line 124
//------------------------------------------------------------------------ //------------------------------------------------------------------------
class XpdfViewer: public QMainWindow { class XpdfViewer: public QMainWindow {
Q_OBJECT Q_OBJECT
public: public:
XpdfViewer(XpdfApp *appA, GBool fullScreen); XpdfViewer(XpdfApp *appA, GBool fullScreen);
static XpdfViewer *create(XpdfApp *app, QString fileName, int page, static XpdfViewer *create(XpdfApp *app, QString fileName, int page,
QString destName, QString password, QString destName, int rot, QString password,
GBool fullScreen); GBool fullScreen);
virtual ~XpdfViewer(); virtual ~XpdfViewer();
virtual QSize sizeHint() const; virtual QSize sizeHint() const;
void tweakSize(); void tweakSize();
// Open a file in the current tab. Returns a boolean indicating // Open a file in the current tab. Returns a boolean indicating
// success. // success.
GBool open(QString fileName, int page, QString destName, GBool open(QString fileName, int page, QString destName, int rot,
QString password); QString password);
// Open a file in a new tab. Returns a boolean indicating success. // Open a file in a new tab. Returns a boolean indicating success.
GBool openInNewTab(QString fileName, int page, QString destName, GBool openInNewTab(QString fileName, int page, QString destName,
QString password, GBool switchToTab); int rot, QString password, GBool switchToTab);
// Check that [fileName] is open in the current tab -- if not, open // Check that [fileName] is open in the current tab -- if not, open
// it. In either case, switch to [page] or [destName]. Returns a // it. In either case, switch to [page] or [destName]. Returns a
// boolean indicating success. // boolean indicating success.
GBool checkOpen(QString fileName, int page, QString destName, GBool checkOpen(QString fileName, int page, QString destName,
QString password); QString password);
virtual QMenu *createPopupMenu(); virtual QMenu *createPopupMenu();
// Start up the remote server socket. // Start up the remote server socket.
skipping to change at line 168 skipping to change at line 168
void remoteServerConnection(); void remoteServerConnection();
void remoteServerRead(); void remoteServerRead();
void pdfResized(); void pdfResized();
void pdfPaintDone(bool finished); void pdfPaintDone(bool finished);
void preLoad(); void preLoad();
void postLoad(); void postLoad();
void keyPress(QKeyEvent *e); void keyPress(QKeyEvent *e);
void mousePress(QMouseEvent *e); void mousePress(QMouseEvent *e);
void mouseRelease(QMouseEvent *e); void mouseRelease(QMouseEvent *e);
void mouseClick(QMouseEvent *e);
void mouseDoubleClick(QMouseEvent *e);
void mouseTripleClick(QMouseEvent *e);
void mouseWheel(QWheelEvent *e); void mouseWheel(QWheelEvent *e);
void mouseMove(QMouseEvent *e); void mouseMove(QMouseEvent *e);
void pageChange(int pg); void pageChange(int pg);
void sidebarSplitterMoved(int pos, int index); void sidebarSplitterMoved(int pos, int index);
#if XPDFWIDGET_PRINTING #if XPDFWIDGET_PRINTING
void printStatus(int nextPage, int firstPage, int lastPage); void printStatus(int nextPage, int firstPage, int lastPage);
void cancelPrint(); void cancelPrint();
#endif #endif
void openMenuAction(); void openMenuAction();
skipping to change at line 205 skipping to change at line 208
void zoomToSelectionMenuAction(); void zoomToSelectionMenuAction();
void toggleToolbarMenuAction(bool checked); void toggleToolbarMenuAction(bool checked);
void toggleSidebarMenuAction(bool checked); void toggleSidebarMenuAction(bool checked);
void viewPageLabelsMenuAction(bool checked); void viewPageLabelsMenuAction(bool checked);
void newTabMenuAction(); void newTabMenuAction();
void newWindowMenuAction(); void newWindowMenuAction();
void closeTabMenuAction(); void closeTabMenuAction();
void closeWindowMenuAction(); void closeWindowMenuAction();
void openErrorWindowMenuAction(); void openErrorWindowMenuAction();
void helpMenuAction(); void helpMenuAction();
void keyBindingsMenuAction();
void aboutMenuAction(); void aboutMenuAction();
void popupMenuAction(int idx); void popupMenuAction(int idx);
void toggleSidebarButtonPressed(); void toggleSidebarButtonPressed();
void pageNumberChanged(); void pageNumberChanged();
void backButtonPressed(); void backButtonPressed();
void forwardButtonPressed(); void forwardButtonPressed();
void zoomOutButtonPressed(); void zoomOutButtonPressed();
void zoomInButtonPressed(); void zoomInButtonPressed();
skipping to change at line 253 skipping to change at line 257
void cmdCheckOpenFile(GString *args[], int nArgs, QInputEvent *event); void cmdCheckOpenFile(GString *args[], int nArgs, QInputEvent *event);
void cmdCheckOpenFileAtDest(GString *args[], int nArgs, QInputEvent *event); void cmdCheckOpenFileAtDest(GString *args[], int nArgs, QInputEvent *event);
void cmdCheckOpenFileAtPage(GString *args[], int nArgs, QInputEvent *event); void cmdCheckOpenFileAtPage(GString *args[], int nArgs, QInputEvent *event);
void cmdCloseTabOrQuit(GString *args[], int nArgs, QInputEvent *event); void cmdCloseTabOrQuit(GString *args[], int nArgs, QInputEvent *event);
void cmdCloseSidebar(GString *args[], int nArgs, QInputEvent *event); void cmdCloseSidebar(GString *args[], int nArgs, QInputEvent *event);
void cmdCloseSidebarMoveResizeWin(GString *args[], int nArgs, QInputEvent *eve nt); void cmdCloseSidebarMoveResizeWin(GString *args[], int nArgs, QInputEvent *eve nt);
void cmdCloseSidebarResizeWin(GString *args[], int nArgs, QInputEvent *event); void cmdCloseSidebarResizeWin(GString *args[], int nArgs, QInputEvent *event);
void cmdCloseWindowOrQuit(GString *args[], int nArgs, QInputEvent *event); void cmdCloseWindowOrQuit(GString *args[], int nArgs, QInputEvent *event);
void cmdContinuousMode(GString *args[], int nArgs, QInputEvent *event); void cmdContinuousMode(GString *args[], int nArgs, QInputEvent *event);
void cmdCopy(GString *args[], int nArgs, QInputEvent *event); void cmdCopy(GString *args[], int nArgs, QInputEvent *event);
void cmdCopyLinkTarget(GString *args[], int nArgs, QInputEvent *event);
#if 0 // for debugging #if 0 // for debugging
void cmdDebug1(GString *args[], int nArgs, QInputEvent *event); void cmdDebug1(GString *args[], int nArgs, QInputEvent *event);
#endif #endif
void cmdEndPan(GString *args[], int nArgs, QInputEvent *event); void cmdEndPan(GString *args[], int nArgs, QInputEvent *event);
void cmdEndSelection(GString *args[], int nArgs, QInputEvent *event); void cmdEndSelection(GString *args[], int nArgs, QInputEvent *event);
void cmdExpandSidebar(GString *args[], int nArgs, QInputEvent *event); void cmdExpandSidebar(GString *args[], int nArgs, QInputEvent *event);
void cmdFind(GString *args[], int nArgs, QInputEvent *event); void cmdFind(GString *args[], int nArgs, QInputEvent *event);
void cmdFindFirst(GString *args[], int nArgs, QInputEvent *event); void cmdFindFirst(GString *args[], int nArgs, QInputEvent *event);
void cmdFindNext(GString *args[], int nArgs, QInputEvent *event); void cmdFindNext(GString *args[], int nArgs, QInputEvent *event);
void cmdFindPrevious(GString *args[], int nArgs, QInputEvent *event); void cmdFindPrevious(GString *args[], int nArgs, QInputEvent *event);
skipping to change at line 309 skipping to change at line 314
void cmdPageDown(GString *args[], int nArgs, QInputEvent *event); void cmdPageDown(GString *args[], int nArgs, QInputEvent *event);
void cmdPageUp(GString *args[], int nArgs, QInputEvent *event); void cmdPageUp(GString *args[], int nArgs, QInputEvent *event);
void cmdPostPopupMenu(GString *args[], int nArgs, QInputEvent *event); void cmdPostPopupMenu(GString *args[], int nArgs, QInputEvent *event);
void cmdPrevPage(GString *args[], int nArgs, QInputEvent *event); void cmdPrevPage(GString *args[], int nArgs, QInputEvent *event);
void cmdPrevPageNoScroll(GString *args[], int nArgs, QInputEvent *event); void cmdPrevPageNoScroll(GString *args[], int nArgs, QInputEvent *event);
void cmdPrevTab(GString *args[], int nArgs, QInputEvent *event); void cmdPrevTab(GString *args[], int nArgs, QInputEvent *event);
#if XPDFWIDGET_PRINTING #if XPDFWIDGET_PRINTING
void cmdPrint(GString *args[], int nArgs, QInputEvent *event); void cmdPrint(GString *args[], int nArgs, QInputEvent *event);
#endif #endif
void cmdQuit(GString *args[], int nArgs, QInputEvent *event); void cmdQuit(GString *args[], int nArgs, QInputEvent *event);
void cmdRaise(GString *args[], int nArgs, QInputEvent *event);
void cmdReload(GString *args[], int nArgs, QInputEvent *event); void cmdReload(GString *args[], int nArgs, QInputEvent *event);
void cmdRotateCW(GString *args[], int nArgs, QInputEvent *event); void cmdRotateCW(GString *args[], int nArgs, QInputEvent *event);
void cmdRotateCCW(GString *args[], int nArgs, QInputEvent *event); void cmdRotateCCW(GString *args[], int nArgs, QInputEvent *event);
void cmdRun(GString *args[], int nArgs, QInputEvent *event); void cmdRun(GString *args[], int nArgs, QInputEvent *event);
void cmdSaveAs(GString *args[], int nArgs, QInputEvent *event); void cmdSaveAs(GString *args[], int nArgs, QInputEvent *event);
void cmdSaveImage(GString *args[], int nArgs, QInputEvent *event); void cmdSaveImage(GString *args[], int nArgs, QInputEvent *event);
void cmdSaveTabState(GString *args[], int nArgs, QInputEvent *event); void cmdSaveTabState(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollDown(GString *args[], int nArgs, QInputEvent *event); void cmdScrollDown(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollDownNextPage(GString *args[], int nArgs, QInputEvent *event); void cmdScrollDownNextPage(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollLeft(GString *args[], int nArgs, QInputEvent *event); void cmdScrollLeft(GString *args[], int nArgs, QInputEvent *event);
skipping to change at line 330 skipping to change at line 336
void cmdScrollOutlineUp(GString *args[], int nArgs, QInputEvent *event); void cmdScrollOutlineUp(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollRight(GString *args[], int nArgs, QInputEvent *event); void cmdScrollRight(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollToBottomEdge(GString *args[], int nArgs, QInputEvent *event); void cmdScrollToBottomEdge(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollToBottomRight(GString *args[], int nArgs, QInputEvent *event); void cmdScrollToBottomRight(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollToLeftEdge(GString *args[], int nArgs, QInputEvent *event); void cmdScrollToLeftEdge(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollToRightEdge(GString *args[], int nArgs, QInputEvent *event); void cmdScrollToRightEdge(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollToTopEdge(GString *args[], int nArgs, QInputEvent *event); void cmdScrollToTopEdge(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollToTopLeft(GString *args[], int nArgs, QInputEvent *event); void cmdScrollToTopLeft(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollUp(GString *args[], int nArgs, QInputEvent *event); void cmdScrollUp(GString *args[], int nArgs, QInputEvent *event);
void cmdScrollUpPrevPage(GString *args[], int nArgs, QInputEvent *event); void cmdScrollUpPrevPage(GString *args[], int nArgs, QInputEvent *event);
void cmdSelectLine(GString *args[], int nArgs, QInputEvent *event);
void cmdSelectWord(GString *args[], int nArgs, QInputEvent *event);
void cmdSetSelection(GString *args[], int nArgs, QInputEvent *event); void cmdSetSelection(GString *args[], int nArgs, QInputEvent *event);
void cmdShowKeyBindings(GString *args[], int nArgs, QInputEvent *event);
void cmdShowToolbar(GString *args[], int nArgs, QInputEvent *event); void cmdShowToolbar(GString *args[], int nArgs, QInputEvent *event);
void cmdShrinkSidebar(GString *args[], int nArgs, QInputEvent *event); void cmdShrinkSidebar(GString *args[], int nArgs, QInputEvent *event);
void cmdSideBySideContinuousMode(GString *args[], int nArgs, QInputEvent *even t); void cmdSideBySideContinuousMode(GString *args[], int nArgs, QInputEvent *even t);
void cmdSideBySideSingleMode(GString *args[], int nArgs, QInputEvent *event); void cmdSideBySideSingleMode(GString *args[], int nArgs, QInputEvent *event);
void cmdSinglePageMode(GString *args[], int nArgs, QInputEvent *event); void cmdSinglePageMode(GString *args[], int nArgs, QInputEvent *event);
void cmdStartExtendedSelection(GString *args[], int nArgs, QInputEvent *event) ;
void cmdStartPan(GString *args[], int nArgs, QInputEvent *event); void cmdStartPan(GString *args[], int nArgs, QInputEvent *event);
void cmdStartSelection(GString *args[], int nArgs, QInputEvent *event); void cmdStartSelection(GString *args[], int nArgs, QInputEvent *event);
void cmdToggleContinuousMode(GString *args[], int nArgs, QInputEvent *event); void cmdToggleContinuousMode(GString *args[], int nArgs, QInputEvent *event);
void cmdToggleFullScreenMode(GString *args[], int nArgs, QInputEvent *event); void cmdToggleFullScreenMode(GString *args[], int nArgs, QInputEvent *event);
void cmdToggleSelectMode(GString *args[], int nArgs, QInputEvent *event); void cmdToggleSelectMode(GString *args[], int nArgs, QInputEvent *event);
void cmdToggleSidebar(GString *args[], int nArgs, QInputEvent *event); void cmdToggleSidebar(GString *args[], int nArgs, QInputEvent *event);
void cmdToggleSidebarMoveResizeWin(GString *args[], int nArgs, QInputEvent *ev ent); void cmdToggleSidebarMoveResizeWin(GString *args[], int nArgs, QInputEvent *ev ent);
void cmdToggleSidebarResizeWin(GString *args[], int nArgs, QInputEvent *event) ; void cmdToggleSidebarResizeWin(GString *args[], int nArgs, QInputEvent *event) ;
void cmdToggleToolbar(GString *args[], int nArgs, QInputEvent *event); void cmdToggleToolbar(GString *args[], int nArgs, QInputEvent *event);
void cmdViewPageLabels(GString *args[], int nArgs, QInputEvent *event); void cmdViewPageLabels(GString *args[], int nArgs, QInputEvent *event);
skipping to change at line 401 skipping to change at line 411
void updateDocInfo(); void updateDocInfo();
void updatePageNumberOrLabel(int pg); void updatePageNumberOrLabel(int pg);
void updateOutline(int pg); void updateOutline(int pg);
void setOutlineOpenItems(const QModelIndex &idx); void setOutlineOpenItems(const QModelIndex &idx);
void fillAttachmentList(); void fillAttachmentList();
void statusIndicatorStart(); void statusIndicatorStart();
void statusIndicatorStop(); void statusIndicatorStop();
void statusIndicatorOk(); void statusIndicatorOk();
void statusIndicatorError(); void statusIndicatorError();
void showFindError(); void showFindError();
void createKeyBindingsDialog();
QString createKeyBindingsHTML();
void createAboutDialog(); void createAboutDialog();
void execSaveImageDialog(); void execSaveImageDialog();
static XpdfViewerCmd cmdTab[]; static XpdfViewerCmd cmdTab[];
XpdfApp *app; XpdfApp *app;
// menu // menu
QMenuBar *mainMenu; QMenuBar *mainMenu;
QMenu *displayModeSubmenu; QMenu *displayModeSubmenu;
skipping to change at line 438 skipping to change at line 450
QToolButton *selectModeBtn; QToolButton *selectModeBtn;
PropertyListAnimation *indicatorAnimation; PropertyListAnimation *indicatorAnimation;
QList<QVariant> indicatorIcons; QList<QVariant> indicatorIcons;
QList<QVariant> indicatorErrIcons; QList<QVariant> indicatorErrIcons;
QLineEdit *findEdit; QLineEdit *findEdit;
QAction *findCaseSensitiveAction; QAction *findCaseSensitiveAction;
QAction *findWholeWordsAction; QAction *findWholeWordsAction;
// sidebar pane // sidebar pane
QSplitter *sidebarSplitter; QSplitter *sidebarSplitter;
int initialSidebarWidth;
int sidebarWidth; int sidebarWidth;
QListWidget *tabList; QListWidget *tabList;
QComboBox *infoComboBox; QComboBox *infoComboBox;
QStackedLayout *infoStack; QStackedLayout *infoStack;
// viewer pane // viewer pane
QStackedWidget *viewerStack; QStackedWidget *viewerStack;
QLabel *linkTargetBar; QLabel *linkTargetBar;
QString linkTargetInfo; QString linkTargetInfo;
GList *tabInfo; // [XpdfTabInfo] GList *tabInfo; // [XpdfTabInfo]
XpdfTabInfo *currentTab; XpdfTabInfo *currentTab;
double scaleFactor; double scaleFactor;
XpdfWidget::DisplayMode fullScreenPreviousDisplayMode; XpdfWidget::DisplayMode fullScreenPreviousDisplayMode;
double fullScreenPreviousZoom; double fullScreenPreviousZoom;
int lastMousePressX, lastMousePressY;
QTimer *findErrorTimer; QTimer *findErrorTimer;
XpdfErrorWindow *errorWindow; XpdfErrorWindow *errorWindow;
QDialog *keyBindingsDialog;
QDialog *aboutDialog; QDialog *aboutDialog;
#if XPDFWIDGET_PRINTING #if XPDFWIDGET_PRINTING
QProgressDialog *printStatusDialog; QProgressDialog *printStatusDialog;
#endif #endif
QString lastFileOpened; QString lastFileOpened;
QLocalServer *remoteServer; QLocalServer *remoteServer;
}; };
 End of changes. 14 change blocks. 
5 lines changed or deleted 17 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)