mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-01 09:09:58 +01:00
TitleBlockPropertiesWidget: moved the table used for custom variables into a new DiagramContextWidget class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1887 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#define TITLEBLOCK_PROPERTIES_WIDGET_H
|
||||
#include <QtGui>
|
||||
#include "titleblockproperties.h"
|
||||
class DiagramContextWidget;
|
||||
class TitleBlockTemplatesCollection;
|
||||
/**
|
||||
Ce widget permet d'editer un objet TitleBlockProperties, c'est-a-dire les
|
||||
@@ -50,8 +51,6 @@ class TitleBlockPropertiesWidget : public QWidget {
|
||||
|
||||
// slots:
|
||||
private slots:
|
||||
void refreshFieldsFormatLabel();
|
||||
void checkTableRows();
|
||||
void updateTemplateList();
|
||||
void editCurrentTitleBlockTemplate();
|
||||
void duplicateCurrentTitleBlockTemplate();
|
||||
@@ -60,8 +59,6 @@ class TitleBlockPropertiesWidget : public QWidget {
|
||||
private:
|
||||
void initWidgets(const TitleBlockProperties &);
|
||||
void initLayouts();
|
||||
int nameLessRowsCount() const;
|
||||
int highlightNonAcceptableKeys();
|
||||
|
||||
signals:
|
||||
void editTitleBlockTemplate(const QString &, bool);
|
||||
@@ -86,8 +83,7 @@ class TitleBlockPropertiesWidget : public QWidget {
|
||||
QRadioButton *titleblock_fixed_date;
|
||||
bool display_current_date;
|
||||
QLabel *additional_fields_label;
|
||||
QLabel *additional_fields_format_label;
|
||||
QTableWidget *additional_fields_table;
|
||||
DiagramContextWidget *additional_fields_;
|
||||
QTabBar *tabbar;
|
||||
TitleBlockTemplatesCollection *tbt_collection_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user