Q_SIGNALS:
//! Requests to search for translation of word passed as parameter
- void searchForTranslations(QStringList);
+ void searchForTranslations(QString);
//! Request to stop all active searchings
void stopSearching();
*/
void setEnabled(bool);
- //! Search for all words in list
- /*!
- Used only when program starts with parameters.
- Perform search of all words in list.
- */
- void searchWordList(QStringList words);
//! Sets search bar in busy state
/*!
void setIdle();
+ //! Search for given word
+ void search(QString word);
+
private Q_SLOTS:
void clearSearchWordToolButtonClicked();
void searchPushButtonClicked();
void historyNextToolButtonClicked();
void historyShowToolButtonClicked();
+
private:
Backbone* backbone;
QLineEdit* searchWordLineEdit;
QHBoxLayout* horizontalLayout;
QProgressBar* searchingProgressBar;
+ QIcon generateIcon(QIcon oryginal, qreal rotation=0);
+
QVBoxLayout* verticalLayout;
bool _isSearching;