Qt Virtual Chart Table (QVCT)
CVesselOverlayActionsView.hpp
Go to the documentation of this file.
1 // INDENTING (emacs/vi): -*- mode:c++; tab-width:2; c-basic-offset:2; intent-tabs-mode:nil; -*- ex: set tabstop=2 expandtab:
2 
3 /*
4  * Qt Virtual Chart Table (QVCT)
5  * Copyright (C) 2012 Cedric Dufour <http://cedric.dufour.name>
6  * Author: Cedric Dufour <http://cedric.dufour.name>
7  *
8  * The Qt Virtual Chart Table (QVCT) is free software:
9  * you can redistribute it and/or modify it under the terms of the GNU General
10  * Public License as published by the Free Software Foundation, Version 3.
11  *
12  * The Qt Virtual Chart Table (QVCT) is distributed in the hope
13  * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
14  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *
16  * See the GNU General Public License for more details.
17  */
18 
19 #ifndef QVCT_CVESSELOVERLAYACTIONSVIEW_HPP
20 #define QVCT_CVESSELOVERLAYACTIONSVIEW_HPP
21 
22 // QT
23 #include <QPushButton>
24 
25 // QVCT
27 
28 
30 
36 {
37  Q_OBJECT
38 
39 
40  //------------------------------------------------------------------------------
41  // FIELDS
42  //------------------------------------------------------------------------------
43 
44 private:
52  QPushButton* pqPushButtonSave;
54  QPushButton* pqPushButtonDelete;
55 
56 
57  //------------------------------------------------------------------------------
58  // CONSTRUCTORS / DESTRUCTOR
59  //------------------------------------------------------------------------------
60 
61 public:
64 
65 private:
67  void constructLayout();
68 
69 
70  //------------------------------------------------------------------------------
71  // METHODS
72  //------------------------------------------------------------------------------
73 
74  // SLOTS
75 private slots:
77  void slotOrderInvert();
79  void slotOrderAscending();
81  void slotOrderDescending();
83  void slotSave();
85  void slotDelete();
86 
87 };
88 
89 #endif // QVCT_CVESSELOVERLAYACTIONSVIEW_HPP
[UI] Generic overlay (additional) actions view
[UI] Vessel overlay's actions view
QPushButton * pqPushButtonOrderDescending
[UI:Button] Order descending
void slotSave()
[UI:Slot] Slot to save overlay's selected content to file
QPushButton * pqPushButtonDelete
[UI:Button] Delete
void slotOrderDescending()
[UI:Slot] Slot to order overlay's content in descending direction
void constructLayout()
Constructs the layout of the user-interface.
void slotOrderAscending()
[UI:Slot] Slot to order overlay's content in ascending direction
QPushButton * pqPushButtonOrderInvert
[UI:Button] Order invert
QPushButton * pqPushButtonSave
[UI:Button] Load
void slotOrderInvert()
[UI:Slot] Slot to invert overlay's content order
void slotDelete()
[UI:Slot] Slot to delete overlay's selected content
QPushButton * pqPushButtonOrderAscending
[UI:Button] Order ascending