14 * |
14 * |
15 * You should have received a copy of the GNU General Public License |
15 * You should have received a copy of the GNU General Public License |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 |
18 |
|
19 #include <qboxlayout.h> |
|
20 #include <qmessagebox.h> |
19 #include "historyDialog.h" |
21 #include "historyDialog.h" |
20 #include "history.h" |
22 #include "history.h" |
21 #include "colors.h" |
23 #include "colors.h" |
22 #include <qboxlayout.h> |
|
23 #include <qmessagebox.h> |
|
24 |
24 |
25 EXTERN_ACTION (undo); |
25 EXTERN_ACTION (undo); |
26 EXTERN_ACTION (redo); |
26 EXTERN_ACTION (redo); |
27 |
27 |
28 // ============================================================================= |
28 // ============================================================================= |
59 qLayout->addLayout (qButtonLayout, 0, 1); |
59 qLayout->addLayout (qButtonLayout, 0, 1); |
60 qLayout->addWidget (buttons, 1, 1); |
60 qLayout->addWidget (buttons, 1, 1); |
61 |
61 |
62 setLayout (qLayout); |
62 setLayout (qLayout); |
63 setWindowIcon (getIcon ("history")); |
63 setWindowIcon (getIcon ("history")); |
64 setWindowTitle (APPNAME " - Edit history"); |
64 setWindowTitle ("Edit History"); |
65 |
65 |
66 populateList (); |
66 populateList (); |
67 updateButtons (); |
67 updateButtons (); |
68 updateSelection (); |
68 updateSelection (); |
69 } |
69 } |