GPC  v1.0.0-2516
Gorman Print Control
SessionComponent Class Reference
Inheritance diagram for SessionComponent:
Collaboration diagram for SessionComponent:

Public Member Functions

 SessionComponent (const std::string &uuid)
 
virtual void resized (void)
 Inherited from Component. Used to re-layout the widgets. More...
 
virtual void buttonClicked (Button *button)
 Inherited from ButtonListener. More...
 
virtual int getNumRows (void)
 Inherited from TableListBoxModel. More...
 
virtual void paintCell (Graphics &g, int rowNumber, int columnId, int width, int height, bool rowIsSelected)
 Inherited from TableListBoxModel. More...
 
virtual void paintRowBackground (Graphics &g, int rowNumber, int width, int height, bool rowIsSelected)
 Inherited from TableListBoxModel. More...
 
virtual void selectedRowsChanged (int lastRowSelected)
 Inherited from TableListBoxModel. More...
 
virtual void textEditorTextChanged (TextEditor &editor)
 Inherited from TextEditor::Listener. More...
 
virtual void returnKeyPressed (int row)
 Inherited from TableListBoxModel. More...
 
virtual void cellDoubleClicked (int row, int column, const MouseEvent &event)
 Inherited from TableListBoxModel. More...
 
void edit_description_field (const int row)
 Show a CallOutBox with an entryfield so the user can edit the image description. More...
 
bool transfer_print_session (void)
 

Public Attributes

SessionRecordsession_record
 
PrintJob print_job
 
TextEditor description
 
DrawableButton replace_image_button
 
DrawableButton reverse_image_button
 
DrawableButton open_folder_button
 
DrawableButton transfer_button
 
TableListBox table
 
std::unique_ptr< SessionComponentLoadersession_component_loader
 
std::unique_ptr< SessionComponentTransfertransfer_in_progress
 

Member Function Documentation

◆ resized()

void SessionComponent::resized ( void  )
virtual

Inherited from Component. Used to re-layout the widgets.

◆ buttonClicked()

void SessionComponent::buttonClicked ( Button *  button)
virtual

Inherited from ButtonListener.

References Cfg::get_bool(), IJB::img, IJB::load(), and IJB::set_new_image().

Here is the call graph for this function:

◆ getNumRows()

int SessionComponent::getNumRows ( void  )
virtual

Inherited from TableListBoxModel.

◆ paintCell()

void SessionComponent::paintCell ( Graphics &  g,
int  rowNumber,
int  columnId,
int  width,
int  height,
bool  rowIsSelected 
)
virtual

◆ paintRowBackground()

void SessionComponent::paintRowBackground ( Graphics &  g,
int  rowNumber,
int  width,
int  height,
bool  rowIsSelected 
)
virtual

Inherited from TableListBoxModel.

◆ selectedRowsChanged()

void SessionComponent::selectedRowsChanged ( int  lastRowSelected)
virtual

Inherited from TableListBoxModel.

◆ textEditorTextChanged()

void SessionComponent::textEditorTextChanged ( TextEditor &  editor)
virtual

Inherited from TextEditor::Listener.

◆ returnKeyPressed()

void SessionComponent::returnKeyPressed ( int  row)
virtual

Inherited from TableListBoxModel.

◆ cellDoubleClicked()

void SessionComponent::cellDoubleClicked ( int  row,
int  column,
const MouseEvent &  event 
)
virtual

Inherited from TableListBoxModel.

◆ edit_description_field()

void SessionComponent::edit_description_field ( const int  row)

Show a CallOutBox with an entryfield so the user can edit the image description.

References IJB::rec, and IJB::RecIJB::short_name.