COPASI API
4.16.103
|
#include <CQScreenshotOptionsDialog.h>
Public Types | |
enum | FRAME_OPTION { UNSET, CURRENT_FRAME, ALL_FRAMES, USER_DEFINED_FRAMES } |
Public Member Functions | |
CQScreenshotOptionsDialog (double layoutX, double layoutY, double layoutWidth, double layoutHeight, double currentX, double currentY, double currentWidth, double currentHeight, unsigned int imageWidth, unsigned int imageHeight, int lastFrame=-1, QWidget *pParent=NULL) | |
FRAME_OPTION | getFrameOption () const |
const std::set< size_t > & | getFrameSet () const |
double | getHeight () const |
unsigned int | getImageHeight () const |
unsigned int | getImageWidth () const |
double | getWidth () const |
double | getX () const |
double | getY () const |
bool | isSetDrawSelectionDecoration () const |
Protected Slots | |
virtual void | accept () |
void | slotDisplayButtonClicked (QAbstractButton *pButton) |
void | slotDrawSelectionToggled (bool v) |
void | slotFrameButtonClicked (QAbstractButton *pButton) |
void | slotFramesTextEdited (const QString &text) |
void | slotFramesTextEditingFinished () |
void | slotHeightChanged (const QString &ht) |
void | slotImageHeightChanged (int h) |
void | slotImageWidthChanged (int w) |
void | slotWidthChanged (const QString &wt) |
void | slotXChanged (const QString &xt) |
void | slotYChanged (const QString &yt) |
Protected Attributes | |
double | mCurrentHeight |
double | mCurrentWidth |
double | mCurrentX |
double | mCurrentY |
QColor | mDefaultColor |
bool | mDrawSelectionDecorations |
FRAME_OPTION | mFrameOption |
std::set< size_t > | mFrames |
bool | mFramesEditHighlighted |
double | mHeight |
QColor | mHighlightColor |
unsigned int | mImageHeight |
unsigned int | mImageWidth |
int | mLastFrame |
double | mLayoutHeight |
double | mLayoutWidth |
double | mLayoutX |
double | mLayoutY |
double | mWidth |
double | mX |
double | mY |
Definition at line 17 of file CQScreenshotOptionsDialog.h.
Enumerator | |
---|---|
UNSET | |
CURRENT_FRAME | |
ALL_FRAMES | |
USER_DEFINED_FRAMES |
Definition at line 22 of file CQScreenshotOptionsDialog.h.
CQScreenshotOptionsDialog::CQScreenshotOptionsDialog | ( | double | layoutX, |
double | layoutY, | ||
double | layoutWidth, | ||
double | layoutHeight, | ||
double | currentX, | ||
double | currentY, | ||
double | currentWidth, | ||
double | currentHeight, | ||
unsigned int | imageWidth, | ||
unsigned int | imageHeight, | ||
int | lastFrame = -1 , |
||
QWidget * | pParent = NULL |
||
) |
Definition at line 18 of file CQScreenshotOptionsDialog.cpp.
References mCurrentHeight, mCurrentWidth, mCurrentX, mCurrentY, mDefaultColor, mHeight, mHighlightColor, mImageHeight, mImageWidth, mLastFrame, mLayoutHeight, mLayoutWidth, mLayoutX, mLayoutY, mWidth, mX, mY, slotDisplayButtonClicked(), slotDrawSelectionToggled(), slotFrameButtonClicked(), slotFramesTextEdited(), slotFramesTextEditingFinished(), slotHeightChanged(), slotImageHeightChanged(), slotImageWidthChanged(), slotWidthChanged(), slotXChanged(), and slotYChanged().
|
protectedvirtualslot |
Definition at line 197 of file CQScreenshotOptionsDialog.cpp.
CQScreenshotOptionsDialog::FRAME_OPTION CQScreenshotOptionsDialog::getFrameOption | ( | ) | const |
Returns which frames are to be exported. For a dialog that does not display the frames option, this will return UNSET. For dialogs with the frame option, possible values are CURRENT_FRAME, ALL_FRAMES, USER_DEFINED_FRAMES.
Definition at line 250 of file CQScreenshotOptionsDialog.cpp.
References mFrameOption.
Referenced by CQLayoutMainWindow::saveImage().
const std::set< size_t > & CQScreenshotOptionsDialog::getFrameSet | ( | ) | const |
Returns the set of frames.
Definition at line 258 of file CQScreenshotOptionsDialog.cpp.
References mFrames.
Referenced by CQLayoutMainWindow::saveImage().
double CQScreenshotOptionsDialog::getHeight | ( | ) | const |
Definition at line 166 of file CQScreenshotOptionsDialog.cpp.
References mHeight.
Referenced by CQLayoutMainWindow::saveImage(), and CQNewMainWindow::slotScreenshot().
unsigned int CQScreenshotOptionsDialog::getImageHeight | ( | ) | const |
Definition at line 182 of file CQScreenshotOptionsDialog.cpp.
References mImageHeight.
Referenced by CQLayoutMainWindow::saveImage(), and CQNewMainWindow::slotScreenshot().
unsigned int CQScreenshotOptionsDialog::getImageWidth | ( | ) | const |
Definition at line 174 of file CQScreenshotOptionsDialog.cpp.
References mImageWidth.
Referenced by CQLayoutMainWindow::saveImage(), and CQNewMainWindow::slotScreenshot().
double CQScreenshotOptionsDialog::getWidth | ( | ) | const |
Definition at line 158 of file CQScreenshotOptionsDialog.cpp.
References mWidth.
Referenced by CQLayoutMainWindow::saveImage(), and CQNewMainWindow::slotScreenshot().
double CQScreenshotOptionsDialog::getX | ( | ) | const |
Definition at line 142 of file CQScreenshotOptionsDialog.cpp.
References mX.
Referenced by CQLayoutMainWindow::saveImage(), and CQNewMainWindow::slotScreenshot().
double CQScreenshotOptionsDialog::getY | ( | ) | const |
Definition at line 150 of file CQScreenshotOptionsDialog.cpp.
References mY.
Referenced by CQLayoutMainWindow::saveImage(), and CQNewMainWindow::slotScreenshot().
bool CQScreenshotOptionsDialog::isSetDrawSelectionDecoration | ( | ) | const |
Definition at line 191 of file CQScreenshotOptionsDialog.cpp.
References mDrawSelectionDecorations.
Referenced by CQNewMainWindow::slotScreenshot().
|
protectedslot |
Definition at line 203 of file CQScreenshotOptionsDialog.cpp.
References mCurrentHeight, mCurrentWidth, mCurrentX, mCurrentY, mHeight, mLayoutHeight, mLayoutWidth, mLayoutX, mLayoutY, mWidth, mX, and mY.
Referenced by CQScreenshotOptionsDialog().
|
protectedslot |
Definition at line 416 of file CQScreenshotOptionsDialog.cpp.
References mDrawSelectionDecorations.
Referenced by CQScreenshotOptionsDialog().
|
protectedslot |
Definition at line 264 of file CQScreenshotOptionsDialog.cpp.
References ALL_FRAMES, CURRENT_FRAME, mFrameOption, and USER_DEFINED_FRAMES.
Referenced by CQScreenshotOptionsDialog().
|
protectedslot |
Definition at line 422 of file CQScreenshotOptionsDialog.cpp.
References mDefaultColor, mFramesEditHighlighted, and mHighlightColor.
Referenced by CQScreenshotOptionsDialog().
|
protectedslot |
Definition at line 439 of file CQScreenshotOptionsDialog.cpp.
References mFrames, and mLastFrame.
Referenced by CQScreenshotOptionsDialog().
|
protectedslot |
Definition at line 373 of file CQScreenshotOptionsDialog.cpp.
References mHeight, mWidth, and slotWidthChanged().
Referenced by CQScreenshotOptionsDialog(), and slotWidthChanged().
|
protectedslot |
Definition at line 313 of file CQScreenshotOptionsDialog.cpp.
References mImageHeight, mImageWidth, and slotImageWidthChanged().
Referenced by CQScreenshotOptionsDialog(), and slotImageWidthChanged().
|
protectedslot |
Definition at line 284 of file CQScreenshotOptionsDialog.cpp.
References mImageHeight, mImageWidth, and slotImageHeightChanged().
Referenced by CQScreenshotOptionsDialog(), and slotImageHeightChanged().
|
protectedslot |
Definition at line 342 of file CQScreenshotOptionsDialog.cpp.
References mHeight, mWidth, and slotHeightChanged().
Referenced by CQScreenshotOptionsDialog(), and slotHeightChanged().
|
protectedslot |
Definition at line 404 of file CQScreenshotOptionsDialog.cpp.
References mX.
Referenced by CQScreenshotOptionsDialog().
|
protectedslot |
Definition at line 410 of file CQScreenshotOptionsDialog.cpp.
References mY.
Referenced by CQScreenshotOptionsDialog().
|
protected |
Definition at line 48 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotDisplayButtonClicked().
|
protected |
Definition at line 46 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotDisplayButtonClicked().
|
protected |
Definition at line 42 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotDisplayButtonClicked().
|
protected |
Definition at line 44 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotDisplayButtonClicked().
|
protected |
Definition at line 73 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotFramesTextEdited().
|
protected |
Definition at line 66 of file CQScreenshotOptionsDialog.h.
Referenced by isSetDrawSelectionDecoration(), and slotDrawSelectionToggled().
|
protected |
Definition at line 51 of file CQScreenshotOptionsDialog.h.
Referenced by getFrameOption(), and slotFrameButtonClicked().
|
protected |
Definition at line 54 of file CQScreenshotOptionsDialog.h.
Referenced by getFrameSet(), and slotFramesTextEditingFinished().
|
protected |
Definition at line 75 of file CQScreenshotOptionsDialog.h.
Referenced by slotFramesTextEdited().
|
protected |
Definition at line 60 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), getHeight(), slotDisplayButtonClicked(), slotHeightChanged(), and slotWidthChanged().
|
protected |
Definition at line 74 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotFramesTextEdited().
|
protected |
Definition at line 63 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), getImageHeight(), slotImageHeightChanged(), and slotImageWidthChanged().
|
protected |
Definition at line 62 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), getImageWidth(), slotImageHeightChanged(), and slotImageWidthChanged().
|
protected |
Definition at line 69 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotFramesTextEditingFinished().
|
protected |
Definition at line 40 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotDisplayButtonClicked().
|
protected |
Definition at line 38 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotDisplayButtonClicked().
|
protected |
Definition at line 34 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotDisplayButtonClicked().
|
protected |
Definition at line 36 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), and slotDisplayButtonClicked().
|
protected |
Definition at line 59 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), getWidth(), slotDisplayButtonClicked(), slotHeightChanged(), and slotWidthChanged().
|
protected |
Definition at line 57 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), getX(), slotDisplayButtonClicked(), and slotXChanged().
|
protected |
Definition at line 58 of file CQScreenshotOptionsDialog.h.
Referenced by CQScreenshotOptionsDialog(), getY(), slotDisplayButtonClicked(), and slotYChanged().