forked from qt-creator/qt-creator
Gerrit: Move QueryValidatingLineEdit to cpp
Change-Id: Ia0564ffb9354b31df77cb9877937c87f1247a4a6 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1203ef5b2f
commit
98dbe9adca
@@ -31,7 +31,6 @@
|
||||
#ifndef GERRIT_INTERNAL_GERRITDIALOG_H
|
||||
#define GERRIT_INTERNAL_GERRITDIALOG_H
|
||||
|
||||
#include <utils/fancylineedit.h>
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
#include <QDialog>
|
||||
@@ -49,31 +48,17 @@ class QDialogButtonBox;
|
||||
class QTextBrowser;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class TreeView; }
|
||||
namespace Utils {
|
||||
class FancyLineEdit;
|
||||
class TreeView;
|
||||
}
|
||||
|
||||
namespace Gerrit {
|
||||
namespace Internal {
|
||||
class GerritParameters;
|
||||
class GerritModel;
|
||||
class GerritChange;
|
||||
|
||||
class QueryValidatingLineEdit : public Utils::FancyLineEdit
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit QueryValidatingLineEdit(QWidget *parent = 0);
|
||||
void setTextColor(const QColor &c);
|
||||
|
||||
public slots:
|
||||
void setValid();
|
||||
void setInvalid();
|
||||
|
||||
private:
|
||||
bool m_valid;
|
||||
const QColor m_okTextColor;
|
||||
const QColor m_errorTextColor;
|
||||
};
|
||||
class QueryValidatingLineEdit;
|
||||
|
||||
class GerritDialog : public QDialog
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user