Changeset 87724 in webkit
- Timestamp:
- May 31, 2011 6:32:46 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r87720 r87724 1 2011-05-31 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu> 2 3 Reviewed by Csaba Osztrogonác. 4 5 [Qt] Implement find feature for QtTestBrowser 6 https://bugs.webkit.org/show_bug.cgi?id=61425 7 8 Buildfix for --minimal and CONFIG+=qt_minimal build. 9 10 * QtTestBrowser/launcherwindow.cpp: 11 (LauncherWindow::LauncherWindow): 12 (LauncherWindow::createChrome): 13 * QtTestBrowser/launcherwindow.h: 14 1 15 2011-05-31 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu> 2 16 -
trunk/Tools/QtTestBrowser/launcherwindow.cpp
r87720 r87724 47 47 , m_formatMenuAction(0) 48 48 , m_zoomAnimation(0) 49 #ifndef QT_NO_LINEEDIT 49 50 , m_findFlag(0) 51 #endif 50 52 { 51 53 if (data) … … 199 201 editMenu->addAction(page()->action(QWebPage::Paste)); 200 202 editMenu->addSeparator(); 203 #ifndef QT_NO_LINEEDIT 201 204 editMenu->addAction("&Find", this, SLOT(showFindBar()), QKeySequence(Qt::CTRL | Qt::Key_F)); 202 205 editMenu->addSeparator(); 206 #endif 203 207 QAction* setEditable = editMenu->addAction("Set Editable", this, SLOT(setEditable(bool))); 204 208 setEditable->setCheckable(true); … … 411 415 toggleJavascriptCanOpenWindows->setCheckable(true); 412 416 toggleJavascriptCanOpenWindows->setChecked(false); 413 417 #ifndef QT_NO_LINEEDIT 414 418 m_findBar = new QToolBar("Find", this); 415 419 addToolBar(Qt::BottomToolBarArea, m_findBar); … … 454 458 m_findBar->setMovable(false); 455 459 m_findBar->setVisible(false); 460 #endif 456 461 #endif 457 462 } … … 1023 1028 } 1024 1029 1030 #ifndef QT_NO_LINEEDIT 1025 1031 void LauncherWindow::showFindBar() 1026 1032 { … … 1058 1064 page()->findText(m_lineEdit->text(), QFlag(m_findFlag)); 1059 1065 } 1066 #endif -
trunk/Tools/QtTestBrowser/launcherwindow.h
r87720 r87724 191 191 void toggleOfflineWebApplicationCache(bool toggle); 192 192 void setOfflineStorageDefaultQuota(); 193 193 #ifndef QT_NO_LINEEDIT 194 194 void showFindBar(); 195 195 void find(int mode); 196 #endif 196 197 #if defined(QT_CONFIGURED_WITH_OPENGL) 197 198 void toggleQGLWidgetViewport(bool enable); … … 242 243 243 244 QString m_inputUrl; 244 245 #ifndef QT_NO_LINEEDIT 245 246 QToolBar* m_findBar; 246 247 QLineEdit* m_lineEdit; 247 248 int m_findFlag; 248 249 static const int s_findNormalFlag = 0; 250 #endif 249 251 }; 250 252
Note: See TracChangeset
for help on using the changeset viewer.