Mercurial > hg > easyhg
diff src/mainwindow.cpp @ 554:930462068dcc find
Start experimentally adding Find button/field
author | Chris Cannam |
---|---|
date | Mon, 20 Feb 2012 18:15:53 +0000 |
parents | 9c8147c9f245 |
children | a1d210c767ab |
line wrap: on
line diff
--- a/src/mainwindow.cpp Fri Feb 17 10:58:41 2012 +0000 +++ b/src/mainwindow.cpp Mon Feb 20 18:15:53 2012 +0000 @@ -53,6 +53,7 @@ #include "hgignoredialog.h" #include "versiontester.h" #include "fswatcher.h" +#include "findwidget.h" MainWindow::MainWindow(QString myDirPath) : @@ -107,12 +108,15 @@ #endif m_workStatus = new WorkStatusWidget(this); - cl->addWidget(m_workStatus, row++, 0); + cl->addWidget(m_workStatus, row, 0); + + m_findWidget = new FindWidget(this); + cl->addWidget(m_findWidget, row++, 1, Qt::AlignRight | Qt::AlignTop); m_hgTabs = new HgTabWidget(central, m_workFolderPath); connectTabsSignals(); - cl->addWidget(m_hgTabs, row++, 0); + cl->addWidget(m_hgTabs, row++, 0, 1, 2); connect(m_hgTabs, SIGNAL(selectionChanged()), this, SLOT(enableDisableActions())); @@ -153,6 +157,11 @@ } +void MainWindow::resizeEvent(QResizeEvent *) +{ +} + + QString MainWindow::getUserInfo() const { QSettings settings;