Logo Search packages:      
Sourcecode: qtpfsgui version File versions

GrayBar Class Reference

#include <gamma_and_levels.h>

List of all members.

Detailed Description

This file is a part of Qtpfsgui package. ---------------------------------------------------------------------- Copyright (C) 2006,2007 Giuseppe Rota

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ----------------------------------------------------------------------

Giuseppe Rota <grota@users.sourceforge.net>

Definition at line 28 of file gamma_and_levels.h.

Public Slots

void changeBlack (int)
void changeGamma (double)
void changeWhite (int)
void resetvalues ()


void black_changed (int)
void default_black_white ()
void default_gamma_black_white ()
void gamma_changed (double)
void white_changed (int)

Public Member Functions

 GrayBar (QWidget *parent, bool two_handles=false)
QSize minimumSizeHint () const
QSize sizeHint () const

Public Attributes

bool dont_emit

Protected Member Functions

void mouseMoveEvent (QMouseEvent *event)
void mousePressEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *event)
void paintEvent (QPaintEvent *)
void resizeEvent (QResizeEvent *event)

Private Types


Private Member Functions

draggingT findHandle (int x, int y)

Private Attributes

float blackgrayratio
int blackpos
enum GrayBar::draggingT dragging
int gammapos
bool twohandles
int whitepos

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index