]> git.lyx.org Git - features.git/commitdiff
two lines between function.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 3 Dec 2006 13:17:35 +0000 (13:17 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 3 Dec 2006 13:17:35 +0000 (13:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16158 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.C

index c42f97090b1ef4c66d4513604402f772d0f66be3..094d606d838971930015e4be3635bbb7f2aef0ff 100644 (file)
@@ -90,6 +90,7 @@ public:
        }
 };
 
+
 struct GuiView::GuiViewPrivate
 {
        typedef std::map<int, FuncRequest> FuncMap;
@@ -150,8 +151,10 @@ struct GuiView::GuiViewPrivate
        }
 };
 
+
 unsigned int GuiView::GuiViewPrivate::lastIconSize = 0;
 
+
 GuiView::GuiView(int id)
        : QMainWindow(), LyXView(id), commandbuffer_(0), d(*new GuiViewPrivate)
 {
@@ -164,8 +167,6 @@ GuiView::GuiView(int id)
        d.normalIconSize = 20;  // ok, default
        d.bigIconSize = 26;             // better for some math icons
 
-       //bufferview_.reset(new BufferView(this, width, height));
-
 #ifndef Q_WS_MACX
        //  assign an icon to main form. We do not do it under Qt/Mac,
        //  since the icon is provided in the application bundle.
@@ -188,11 +189,13 @@ void GuiView::close()
        QMainWindow::close();
 }
 
+
 QMenu* GuiView::createPopupMenu()
 {
        return d.toolBarPopup(this);
 }
 
+
 void GuiView::init()
 {
        menubar_.reset(new QLMenubar(this, menubackend));
@@ -251,6 +254,7 @@ void GuiView::closeEvent(QCloseEvent * close_event)
        close_event->accept();
 }
 
+
 void GuiView::saveGeometry()
 {
        static bool done = false;
@@ -286,6 +290,7 @@ void GuiView::saveGeometry()
        getToolbars().saveToolbarInfo();
 }
                                                  
+
 void GuiView::setGeometry(unsigned int width,
                                                                  unsigned int height,
                                                                  int posx, int posy,
@@ -404,22 +409,26 @@ void GuiView::clearMessage()
        update_view_state_qt();
 }
 
+
 void GuiView::setIconSize(unsigned int size)
 {
        d.lastIconSize = size;
        QMainWindow::setIconSize(QSize(size, size));
 }
 
+
 void GuiView::smallSizedIcons()
 {
        setIconSize(d.smallIconSize);
 }
 
+
 void GuiView::normalSizedIcons()
 {
        setIconSize(d.normalIconSize);
 }
 
+
 void GuiView::bigSizedIcons()
 {
        setIconSize(d.bigIconSize);
@@ -439,6 +448,7 @@ void GuiView::update_view_state_qt()
        statusbar_timer_.stop();
 }
 
+
 void GuiView::initTab(QWidget* workarea)
 {
        d.wt = new WidgetWithTabBar(workarea);
@@ -447,6 +457,7 @@ void GuiView::initTab(QWidget* workarea)
                        this, SLOT(currentTabChanged(int)));
 }
 
+
 void GuiView::updateTab()
 {
        QTabBar& tb = *d.wt->tabbar;
@@ -549,6 +560,7 @@ void GuiView::updateTab()
        d.wt->update();
 }
 
+
 void GuiView::currentTabChanged (int index)
 {
        std::map<int, FuncRequest>::const_iterator it = d.funcmap.find(index);