ff7tk  0.02
Toolkit for making FF7 Tools
DialogPreview Class Reference

#include <DialogPreview.h>

Inheritance diagram for DialogPreview:

Signals

void LL_ColorChanged (QColor color)
 
void LR_ColorChanged (QColor color)
 
void UL_ColorChanged (QColor color)
 
void UR_ColorChanged (QColor color)
 

Public Member Functions

 DialogPreview (QWidget *parent=0)
 
void SetLLeft (QColor)
 
void SetULeft (QColor)
 
void SetLRight (QColor)
 
void SetURight (QColor)
 
QColor ll ()
 
QColor lr ()
 
QColor ul ()
 
QColor ur ()
 

Public Attributes

QPushButton * btn_ul
 
QPushButton * btn_ur
 
QPushButton * btn_ll
 
QPushButton * btn_lr
 

Protected Member Functions

void resizeEvent (QResizeEvent *)
 

Private Slots

void btn_ul_clicked ()
 
void btn_ur_clicked ()
 
void btn_ll_clicked ()
 
void btn_lr_clicked ()
 

Private Member Functions

void draw ()
 

Private Attributes

QColor upper_left
 
QColor upper_right
 
QColor lower_left
 
QColor lower_right
 

Detailed Description

Definition at line 27 of file DialogPreview.h.

Constructor & Destructor Documentation

DialogPreview::DialogPreview ( QWidget *  parent = 0)

Member Function Documentation

void DialogPreview::btn_ll_clicked ( )
privateslot

Definition at line 48 of file DialogPreview.cpp.

References lower_left, and SetLLeft().

Referenced by DialogPreview().

void DialogPreview::btn_lr_clicked ( )
privateslot

Definition at line 49 of file DialogPreview.cpp.

References lower_right, and SetLRight().

Referenced by DialogPreview().

void DialogPreview::btn_ul_clicked ( )
privateslot

Definition at line 50 of file DialogPreview.cpp.

References SetULeft(), and upper_left.

Referenced by DialogPreview().

void DialogPreview::btn_ur_clicked ( )
privateslot

Definition at line 51 of file DialogPreview.cpp.

References SetURight(), and upper_right.

Referenced by DialogPreview().

void DialogPreview::draw ( )
private
QColor DialogPreview::ll ( )

Definition at line 43 of file DialogPreview.cpp.

References lower_left.

void DialogPreview::LL_ColorChanged ( QColor  color)
signal

Referenced by SetLLeft().

QColor DialogPreview::lr ( )

Definition at line 44 of file DialogPreview.cpp.

References lower_right.

void DialogPreview::LR_ColorChanged ( QColor  color)
signal

Referenced by SetLRight().

void DialogPreview::resizeEvent ( QResizeEvent *  )
protected

Definition at line 67 of file DialogPreview.cpp.

References draw().

void DialogPreview::SetLLeft ( QColor  color)

Definition at line 38 of file DialogPreview.cpp.

References draw(), LL_ColorChanged(), and lower_left.

Referenced by btn_ll_clicked(), and OptionsWidget::setDialogColors().

void DialogPreview::SetLRight ( QColor  color)

Definition at line 40 of file DialogPreview.cpp.

References draw(), lower_right, and LR_ColorChanged().

Referenced by btn_lr_clicked(), and OptionsWidget::setDialogColors().

void DialogPreview::SetULeft ( QColor  color)

Definition at line 39 of file DialogPreview.cpp.

References draw(), UL_ColorChanged(), and upper_left.

Referenced by btn_ul_clicked(), and OptionsWidget::setDialogColors().

void DialogPreview::SetURight ( QColor  color)

Definition at line 41 of file DialogPreview.cpp.

References draw(), upper_right, and UR_ColorChanged().

Referenced by btn_ur_clicked(), and OptionsWidget::setDialogColors().

QColor DialogPreview::ul ( )

Definition at line 45 of file DialogPreview.cpp.

References upper_left.

void DialogPreview::UL_ColorChanged ( QColor  color)
signal

Referenced by SetULeft().

QColor DialogPreview::ur ( )

Definition at line 46 of file DialogPreview.cpp.

References upper_right.

void DialogPreview::UR_ColorChanged ( QColor  color)
signal

Referenced by SetURight().

Member Data Documentation

QPushButton* DialogPreview::btn_ll

Definition at line 42 of file DialogPreview.h.

Referenced by DialogPreview(), and draw().

QPushButton* DialogPreview::btn_lr

Definition at line 43 of file DialogPreview.h.

Referenced by DialogPreview(), and draw().

QPushButton* DialogPreview::btn_ul

Definition at line 40 of file DialogPreview.h.

Referenced by DialogPreview(), and draw().

QPushButton* DialogPreview::btn_ur

Definition at line 41 of file DialogPreview.h.

Referenced by DialogPreview(), and draw().

QColor DialogPreview::lower_left
private

Definition at line 48 of file DialogPreview.h.

Referenced by btn_ll_clicked(), draw(), ll(), and SetLLeft().

QColor DialogPreview::lower_right
private

Definition at line 49 of file DialogPreview.h.

Referenced by btn_lr_clicked(), draw(), lr(), and SetLRight().

QColor DialogPreview::upper_left
private

Definition at line 46 of file DialogPreview.h.

Referenced by btn_ul_clicked(), draw(), SetULeft(), and ul().

QColor DialogPreview::upper_right
private

Definition at line 47 of file DialogPreview.h.

Referenced by btn_ur_clicked(), draw(), SetURight(), and ur().


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