kompare
kompareconnectwidget.cpp
Go to the documentation of this file.
44 m_label ( " ", this ), // putting a space here because Qt 4 computes different size hints for empty labels
105 KompareConnectWidget::KompareConnectWidget( ViewSettings* settings, QWidget* parent, const char* name )
170 KompareListView *leftView = count >= 2 ? static_cast<KompareListViewFrame*>( splitter->widget(0) )->view() : 0;
171 KompareListView *rightView = count >= 2 ? static_cast<KompareListViewFrame*>( splitter->widget(1) )->view() : 0;
bool isRightToLeft()
const QPalette & palette() const
int lastVisibleDifference()
Definition: komparelistview.cpp:163
int width() const
void fillRect(const QRectF &rectangle, const QBrush &brush)
void setRenderHint(RenderHint hint, bool on)
virtual void mouseMoveEvent(QMouseEvent *e)
~KompareConnectWidget()
Definition: kompareconnectwidget.cpp:118
Qt::ButtonState state() const
void closeSubpath()
void setFrameShape(Shape)
void slotSetSelection(const Diff2::DiffModel *model, const Diff2::Difference *diff)
QStyle * style() const
QWidget * widget(int index) const
const QColor & color(ColorGroup group, ColorRole role) const
void cubicTo(const QPointF &c1, const QPointF &c2, const QPointF &endPoint)
void setAttribute(Qt::WidgetAttribute attribute, bool on)
virtual void mousePressEvent(QMouseEvent *e)
Definition: komparelistview.h:47
QString tr(const char *sourceText, const char *disambiguation, int n)
QColor dark(int factor) const
int count() const
KompareConnectWidget(ViewSettings *settings, QWidget *parent, const char *name=0)
Definition: kompareconnectwidget.cpp:105
int width() const
QSize size() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
const QPoint & globalPos() const
virtual void mouseReleaseEvent(QMouseEvent *e)
void connectPath(const QPainterPath &path)
int top() const
void setPen(const QColor &color)
void lineTo(const QPointF &endPoint)
Qt::MouseButton button() const
void setObjectName(const QString &name)
void setFocusProxy(QWidget *w)
QPoint pos() const
void setBrush(const QBrush &brush)
Definition: komparesplitter.h:40
void setMargin(int margin)
void setSizePolicy(QSizePolicy)
void paintEvent(QPaintEvent *e)
Definition: kompareconnectwidget.cpp:158
int height() const
void setFrameShadow(Shadow)
void repaint()
QColor colorForDifferenceType(int type, bool selected=false, bool applied=false)
Definition: viewsettings.cpp:77
void drawImage(const QRectF &target, const QImage &image, const QRectF &source, QFlags< Qt::ImageConversionFlag > flags)
void drawPath(const QPainterPath &path)
void slotDelayedRepaint()
Definition: kompareconnectwidget.cpp:143
void setFixedHeight(int h)
QPainterPath makeBezier(int l, int r) const
Definition: kompareconnectwidget.cpp:244
Definition: viewsettings.h:29
QWidget * parentWidget() const
QPoint mapFromGlobal(const QPoint &pos) const
QPainterPath toReversed() const
~KompareConnectWidgetFrame()
Definition: kompareconnectwidget.cpp:64
int bottom() const
void translate(const QPointF &offset)
int firstVisibleDifference()
Definition: komparelistview.cpp:141
const QPoint & pos() const
QImage toImage() const
QObject * parent() const
void setMargin(int)
void setSpacing(int spacing)
Definition: komparelistview.h:116
singleShot
KompareConnectWidgetFrame(ViewSettings *settings, KompareSplitter *parent, const char *name=0)
Definition: kompareconnectwidget.cpp:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:01 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:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.