2019-10-01 Fred Gleason <fredg@paravelsystems.com>

* Refactored dialogs in the convenience library to use the
	'RDDialog' and 'RDWidget' base classes.
This commit is contained in:
Fred Gleason
2019-10-01 15:10:29 -04:00
parent b910af1bda
commit 8ca15c773d
75 changed files with 734 additions and 1052 deletions

View File

@@ -2,7 +2,7 @@
//
// An listselector widget with word wrap.
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Library General Public License
@@ -21,17 +21,17 @@
#ifndef RDLISTSELECTOR_H
#define RDLISTSELECTOR_H
#include <qwidget.h>
#include <qlabel.h>
#include <q3hbox.h>
#include <qcolor.h>
#include <q3listbox.h>
#include <qlabel.h>
#include <qcolor.h>
#include <qpushbutton.h>
class RDListSelector : public Q3HBox
#include <rdwidget.h>
class RDListSelector : public RDWidget
{
Q_OBJECT
public:
RDListSelector(QWidget *parent=0);
uint sourceCount() const;
@@ -64,6 +64,9 @@ class RDListSelector : public Q3HBox
void addData();
void removeData();
protected:
void resizeEvent(QResizeEvent *e);
private:
void CheckButtons();
Q3ListBox *list_source_box;