![]() LeftPanelToolBar-> setIconSize( QSize( 16, 16 )) LeftPanelToolBar-> setOrientation(Qt::Vertical) LeftPanelToolBar= new QToolBar( "StructureToolBar ",StructureView) LeftPanelLayout= new QHBoxLayout(LeftPanelFrame) LeftPanelFrame-> setFrameShadow(QFrame::Plain) LeftPanelFrame-> setFrameShape(QFrame::Box) QFrame *LeftPanelFrame= new QFrame(StructureView) StructureView-> setWindowTitle( tr( "Structure ")) ĪddDockWidget(Qt::LeftDockWidgetArea, StructureView) StructureView-> setFeatures(QDockWidget::DockWidgetClosable) ![]() StructureView-> setAllowedAreas(Qt::AllDockWidgetAreas) StructureView-> setObjectName( "StructureView ") Searchleft= 0.0 searchtop= 0.0 searchright= 0.0 searchbottom= 0.0 SetCorner(Qt::TopLeftCorner, Qt::LeftDockWidgetArea) Windowstate=config-> value( "MainWindowState "). Int y= config-> value( "Geometries/MainwindowY ", 30). Int x= config-> value( "Geometries/MainwindowX ",screen. Int h= config-> value( "Geometries/MainwindowHeight ",screen. Int w= config-> value( "Geometries/MainwindowWidth ",screen. QRect screen = QApplication::desktop()-> screenGeometry() QSettings *config= new QSettings(QSettings::IniFormat,QSettings::UserScope, "xm1 ", "texmakerpdfview ") ![]() ![]() QSettings *config= new QSettings( QCoreApplication::applicationDirPath()+ "/texmakerpdfview.ini ",QSettings::IniFormat) //for USB-stick version : SetWindowIcon( getIcon( ":/images/appicon.png ")) SetWindowIcon( QIcon( ":/images/logo128.png ")) SetWindowTitle( "Texmaker : pdf preview ") PdfViewer::PdfViewer( const QString fileName, const QString externalCommand, const QString ghostscriptCommand, const QString lpopt, const QKeySequence edfocus, const QString SpellLang, const qreal startScale, QWidget* parent) # include "texmaker_popplerqt5_24/poppler-qt5.h " ![]() # include "texmaker_popplerqt22/poppler-qt4.h " # include "texmaker_popplerqt20/poppler-qt4.h " ** Parts of this file come from Texworks (GPL) Copyright (C) 2007-2010 Jonathan Kew ** copyright : (C) 2003-2012 by Pascal Brachet ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |