lokalize
projecttab.cpp
Go to the documentation of this file.
58 setWindowTitle(i18nc("@title:window","Project Overview"));//setCaption(i18nc("@title:window","Project"),false);
84 QPushButton* createProject = new QPushButton(i18nc("@action:inmenu","Create new project"), welcomeWidget);
85 QPushButton* openProject = new QPushButton(i18nc("@action:inmenu","Open project"), welcomeWidget);
88 connect(createProject, SIGNAL(clicked(bool)), SettingsController::instance(), SLOT(projectCreate()));
118 m_filterEdit->setToolTip(i18nc("@info:tooltip","Activated by Ctrl+L.")+" "+i18nc("@info:tooltip","Accepts regular expressions"));
119 connect (m_filterEdit,SIGNAL(textChanged(QString)),this,SLOT(setFilterRegExp()),Qt::QueuedConnection);
142 //QAction* action = KStandardAction::find(Project::instance(),SLOT(showTM()),actionCollection());
154 ADD_ACTION_SHORTCUT_ICON("go_prev_fuzzyUntr",i18nc("@action:inmenu\n'not ready' means 'fuzzy' in gettext terminology","Previous not ready"),Qt::CTRL+Qt::SHIFT+Qt::Key_PageUp,"prevfuzzyuntrans")
157 ADD_ACTION_SHORTCUT_ICON("go_next_fuzzyUntr",i18nc("@action:inmenu\n'not ready' means 'fuzzy' in gettext terminology","Next not ready"),Qt::CTRL+Qt::SHIFT+Qt::Key_PageDown,"nextfuzzyuntrans")
160 ADD_ACTION_SHORTCUT_ICON("go_prev_fuzzy",i18nc("@action:inmenu\n'not ready' means 'fuzzy' in gettext terminology","Previous non-empty but not ready"),Qt::CTRL+Qt::Key_PageUp,"prevfuzzy")
163 ADD_ACTION_SHORTCUT_ICON("go_next_fuzzy",i18nc("@action:inmenu\n'not ready' means 'fuzzy' in gettext terminology","Next non-empty but not ready"),Qt::CTRL+Qt::Key_PageDown,"nextfuzzy")
166 ADD_ACTION_SHORTCUT_ICON("go_prev_untrans",i18nc("@action:inmenu","Previous untranslated"),Qt::ALT+Qt::Key_PageUp,"prevuntranslated")
169 ADD_ACTION_SHORTCUT_ICON("go_next_untrans",i18nc("@action:inmenu","Next untranslated"),Qt::ALT+Qt::Key_PageDown,"nextuntranslated")
172 ADD_ACTION_SHORTCUT_ICON("go_prev_templateOnly",i18nc("@action:inmenu","Previous template only"),Qt::CTRL+Qt::Key_Up,"prevtemplate")
175 ADD_ACTION_SHORTCUT_ICON("go_next_templateOnly",i18nc("@action:inmenu","Next template only"),Qt::CTRL+Qt::Key_Down,"nexttemplate")
178 ADD_ACTION_SHORTCUT_ICON("go_prev_transOnly",i18nc("@action:inmenu","Previous translation only"),Qt::ALT+Qt::Key_Up,"prevpo")
181 ADD_ACTION_SHORTCUT_ICON("go_next_transOnly",i18nc("@action:inmenu","Next translation only"),Qt::ALT+Qt::Key_Down,"nextpo")
243 menu->addAction(i18nc("@action:inmenu","Get statistics for subfolders"),m_browser,SLOT(expandItems()));
245 menu->addAction(i18nc("@action:inmenu","Add to translation memory"),this,SLOT(scanFilesToTM()));
249 menu->addAction(i18nc("@action:inmenu","Search in files (including templates)"),this,SLOT(searchInFilesInclTempl()));
251 // else if (Project::instance()->model()->hasChildren(/*m_proxyModel->mapToSource(*/(m_browser->currentIndex()))
312 bool ProjectTab::currentItemIsTranslationFile() const {return m_browser->currentIsTranslationFile();}
313 void ProjectTab::setCurrentItem(const QString& url){m_browser->setCurrentItem(KUrl::fromLocalFile(url));}
336 statusBarItems.insert(ID_STATUS_TOTAL, i18nc("@info:status message entries","Total: %1", total));
int scanRecursive(const QList< QUrl > &urls, const QString &dbName)
wrapper. returns gross number of jobs started
Definition: tmscanapi.cpp:92
maximum
void contextMenuEvent(QContextMenuEvent *event)
Definition: projecttab.cpp:229
void setOpenExternalLinks(bool open)
const T & at(int i) const
int size() const
void removeAt(int i)
virtual void setVisible(bool visible)
void setAlignment(QFlags< Qt::AlignmentFlag >)
Q_SCRIPTABLE QStringList selectedItems() const
Definition: projecttab.cpp:315
bool currentIsTranslationFile() const
Definition: projectwidget.cpp:334
value
void spellcheckRequested(const KUrl::List &)
int size() const
void expandItems(const QModelIndex &parent=QModelIndex())
Definition: projectwidget.cpp:387
void projectOpenRequested(QString path=QString())
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void append(const T &value)
void reflectNonApprovedCount(int count, int total)
Definition: editortab.cpp:174
void searchRequested(const QStringList &)
void setTextFormat(Qt::TextFormat)
void setCurrentIndex(int index)
void reflectUntranslatedCount(int count, int total)
Definition: editortab.cpp:182
void fileOpenRequested(const KUrl &)
void setTextInteractionFlags(QFlags< Qt::TextInteractionFlag > flags)
StatusBarProxy statusBarItems
Definition: lokalizesubwindowbase.h:63
void addStretch(int stretch)
This class is considered a 'view', and ProjectWindow + ProjectView are its controllers the data is pr...
Definition: projectwidget.h:41
Q_SCRIPTABLE bool currentItemIsTranslationFile() const
Definition: projecttab.cpp:312
Q_SCRIPTABLE void setCurrentItem(const QString &url)
Definition: projecttab.cpp:313
int addWidget(QWidget *widget)
void replaceRequested(const KUrl::List &)
void setWordWrap(bool on)
#define ADD_ACTION_SHORTCUT_ICON(_name, _text, _shortcut, _icon)
void addLayout(QLayout *layout, int stretch)
filterRegExp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.